Probably not a good idea to have a 'Tweet this' button on private snipts.

master
Nick Sergeant 2012-09-20 19:46:52 -04:00
parent cc0c2c9e26
commit aa6deb9790
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@
<li class="created" title="{{ snipt.created|date:"Y-m-d\TH:i:s" }}">{{ snipt.created|naturaltime }}</li>
{% endif %}
<li class="comments"><a href="{{ snipt.get_full_absolute_url }}#disqus_thread" data-disqus-identifier="{{ snipt.pk }}"></a></li>
{% if detail %}
{% if detail and snipt.public %}
<li class="tweet">
<a href="https://twitter.com/share" class="twitter-share-button" data-dnt="true" data-count="none" data-url="{{ snipt.get_full_absolute_url }}" data-text="&ldquo;{{ snipt.title }}&rdquo; on @Snipt">Tweet</a>
</li>