Whether or not to show comments link.
parent
ef8c1902a3
commit
cd4abcfc17
|
@ -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">
|
||||
|
|
|
@ -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">
|
||||
|
|
Loading…
Reference in New Issue