Only show "post a comment" link if comments already exist
The purpose of the link is to help you jump past comments to the comment box, and so... Even with this new conditional, I'm not entirely sure I like that link ;)
This commit is contained in:
parent
ee91c2b88d
commit
2b7aa99d3c
@ -62,7 +62,7 @@
|
||||
{%- endtrans %}
|
||||
</p>
|
||||
<h3></h3>
|
||||
{% if request.user %}
|
||||
{% if request.user and comments.count() %}
|
||||
<p><a href="#comment_form">{% trans %}Post a comment{% endtrans %}</a></p>
|
||||
{% endif %}
|
||||
{% if comments %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user