Added share buttons below username

This commit is contained in:
Felipe Martín 2015-10-11 10:05:05 +02:00
parent b5e23080c8
commit f3d01ff1c9
1 changed files with 7 additions and 3 deletions

View File

@ -12,9 +12,13 @@
<h2 class="ui header">
{{ this_user.username }}
<div class="sub header">
{% blocktrans with username=this_user.username trimmed %}
Here you can browse over {{ username }}'s collection
{% endblocktrans %}
<div class="fb-like"
data-share="true"
data-width="450"
data-show-faces="true">
</div>
<a href="https://twitter.com/share?text={% trans "Look at my amiibo collection!" %}" class="twitter-share-button" data-via="amiibofindr">Tweet</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
</div>
<div class="ui statistics">
<div class="statistic no-margin-bottom">