aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/templates
diff options
context:
space:
mode:
Diffstat (limited to 'mediagoblin/templates')
-rw-r--r--mediagoblin/templates/mediagoblin/user_pages/media.html7
-rw-r--r--mediagoblin/templates/mediagoblin/utils/tags.html2
2 files changed, 5 insertions, 4 deletions
diff --git a/mediagoblin/templates/mediagoblin/user_pages/media.html b/mediagoblin/templates/mediagoblin/user_pages/media.html
index 2c1b7c82..11fa72cf 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 %}
@@ -99,7 +101,6 @@
{% endfor %}
{% if request.user %}
- <a name="comment_form"></a>
<form action="{{ request.urlgen('mediagoblin.user_pages.media_post_comment',
user= media.uploader().username,
media=media._id) }}" method="POST">
@@ -123,7 +124,7 @@
{% if media['uploader'] == request.user['_id'] or
request.user['is_admin'] %}
- <h3>Temporary button holder</h3>
+ <h3>{% trans %}Actions{% endtrans %}</h3>
<p>
{% set edit_url = request.urlgen('mediagoblin.edit.edit_media',
user= media.uploader().username,
diff --git a/mediagoblin/templates/mediagoblin/utils/tags.html b/mediagoblin/templates/mediagoblin/utils/tags.html
index 87e6a85f..b3211bd9 100644
--- a/mediagoblin/templates/mediagoblin/utils/tags.html
+++ b/mediagoblin/templates/mediagoblin/utils/tags.html
@@ -23,7 +23,7 @@
<li class="tag">
<a href="{{ request.urlgen(
'mediagoblin.listings.tags_listing',
- tag=tag['slug']) }}">{{ tag['name'] }}</li>
+ tag=tag['slug']) }}">{{ tag['name'] }}</a></li>
{% endfor %}
</ul>
{% endblock %}