Only show the "post a comment" link if there's a logged in user

This commit is contained in:
Christopher Allan Webber 2011-10-27 13:13:19 -05:00
parent ecc56c0afb
commit e360a99276

View File

@ -65,7 +65,9 @@
<br /> <br />
<h3>{% trans %}Comments{% endtrans %}</h3> <h3>{% trans %}Comments{% endtrans %}</h3>
<p><a href="#comment_form">{% trans %}Post a comment{% endtrans %}</a></p> {% if request.user %}
<p><a href="#comment_form">{% trans %}Post a comment{% endtrans %}</a></p>
{% endif %}
{% if comments %} {% if comments %}
{% for comment in comments %} {% for comment in comments %}