Whether or not to show comments link.

master
Nick Sergeant 2013-03-25 22:41:52 -04:00
parent ef8c1902a3
commit cd4abcfc17
2 changed files with 2 additions and 2 deletions

View File

@ -84,7 +84,7 @@
<% if (!snipt.new_from_js) { %>
<li class="created" title="<%= snipt.created %>"><%= snipt.created_formatted %></li>
<% } %>
<% if (snipt.public) { %>
<% if (snipt.public && !window.detail) { %>
<li class="comments"><a href="<%= snipt.absolute_url %>#disqus_thread" data-disqus-identifier="<%= snipt.id %>"></a></li>
<% } %>
<li class="raw">

View File

@ -170,7 +170,7 @@
{% else %}
<li class="created" title="{{ snipt.created|date:"Y-m-d\TH:i:s" }}">{{ snipt.created|naturaltime }}</li>
{% endif %}
{% if snipt.public %}
{% if snipt.public and not detail %}
<li class="comments"><a href="{{ snipt.get_full_absolute_url }}#disqus_thread" data-disqus-identifier="{{ snipt.pk }}"></a></li>
{% endif %}
<li class="raw">