Skip to content

Commit

Permalink
Issue #18 : Social button (TWitter for now)
Browse files Browse the repository at this point in the history
  • Loading branch information
chamerling committed May 26, 2011
1 parent 48f6a57 commit 2f14336
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/views/Application/_eventDetails.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ <h2>Lieu</h2>
#{/if}
<h2>After</h2>
<p>A la fin de la soirée, une troisième mi-temps sera proposée dans un bar pour continuer à échanger et sympathiser </p>

<p>
#{include 'Social/_twitterbutton.html' /}
</p>
<div class="attachments">
#{list attachments, as : "attachment"}
<a href="@{Application.downloadEventAttachment(event.id, attachment)}">${attachment}</a>
Expand Down
1 change: 1 addition & 0 deletions app/views/Social/_twitterbutton.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" data-via="montpellierjug" data-lang="fr">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>

0 comments on commit 2f14336

Please sign in to comment.