aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mediagoblin/templates/mediagoblin/user_pages/media.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/mediagoblin/templates/mediagoblin/user_pages/media.html b/mediagoblin/templates/mediagoblin/user_pages/media.html
index b8d0b9ff..c4fe3a71 100644
--- a/mediagoblin/templates/mediagoblin/user_pages/media.html
+++ b/mediagoblin/templates/mediagoblin/user_pages/media.html
@@ -65,7 +65,9 @@
<br />
<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 %}
{% for comment in comments %}