Skip to content

Commit

Permalink
EL-32 Add AddThis sharing tools to leaflet page
Browse files Browse the repository at this point in the history
  • Loading branch information
henare committed Jul 30, 2010
1 parent 3ff254d commit 6c3192f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion templates/leaflet.tpl
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
{include file="header.tpl"}

<div class="leftcolumn leaflet">
<h3>{$leaflet->title}</h3>
<h3>{$leaflet->title}</h3>{literal}
<!-- AddThis Button BEGIN -->
<script type="text/javascript">var addthis_config = {"data_track_clickback":true};</script>
<a class="addthis_button" href="http://www.addthis.com/bookmark.php?v=250&amp;username=electionleaflets"><img src="http://s7.addthis.com/static/btn/v2/lg-share-en.gif" width="125" height="16" alt="Bookmark and Share" style="border:0"/></a><script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#username=electionleaflets"></script>
<!-- AddThis Button END -->{/literal}
<p>Published by <a href="{$www_server}/parties/{$leaflet->party_url_id}/">{$leaflet->party_name}</a></p>
<p class="meta">
Delivered {if $constituency}in <a href="{$www_server}/{$area_names}/{$constituency->url_id}/">{$constituency->name}</a> {/if}on {$leaflet->date_delivered|date_format:"%A, %e %B, %Y"} (approximate). Uploaded on {$leaflet->date_uploaded|date_format:"%A, %e %B, %Y"} at {$leaflet->date_uploaded|date_format:"%H:%M"}.
Expand Down

0 comments on commit 6c3192f

Please sign in to comment.