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:
Christopher Allan Webber 2011-11-13 20:39:42 -06:00
parent ee91c2b88d
commit 2b7aa99d3c

View File

@ -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 %}