Permalink
Browse files

Only link(s) exist in the tweet then show the 'Read Later'.

  • Loading branch information...
1 parent e691c4b commit 93116d6a3b13522d61f938c38116e88087f5a6eb @ydoovv ydoovv committed Oct 18, 2010
Showing with 2 additions and 0 deletions.
  1. +2 −0 templates/main.html
View
2 templates/main.html
@@ -223,8 +223,10 @@
{% for tweet in tweets %}
<li><p>
<span>{{ tweet.content }}</span>
+ {% if tweet.inlineurl %}
<!--<span class="bookmarklet" onClick="alert('{{ tweet.inlineurl }}');_rlipb337145('{{ tweet.inlineurl }}, {{ tweet.title }}');void(0)">Read Later</span>-->
<a class="bookmarklet" href="javascript:void(0);" onClick="readlater(this, '{{ tweet.inlineurl }}');">Read Later</a>
+ {% endif %}
{% endfor %}
</ul>

0 comments on commit 93116d6

Please sign in to comment.