Only show the "post a comment" link if there's a logged in user
This commit is contained in:
parent
ecc56c0afb
commit
e360a99276
@ -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 %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user