aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/templates
diff options
context:
space:
mode:
authorJef van Schendel <mail@jefvanschendel.nl>2011-12-10 21:03:18 +0100
committerJef van Schendel <mail@jefvanschendel.nl>2011-12-10 21:03:18 +0100
commitb27067371d6cb99cf21c7c0970b664e970d9a22d (patch)
tree65203853851ffaab28127cb8959c638bc1ae7e7a /mediagoblin/templates
parent4ad9ac5ae0da97a03d5965c15160314c86721e9f (diff)
downloadmediagoblin-b27067371d6cb99cf21c7c0970b664e970d9a22d.tar.lz
mediagoblin-b27067371d6cb99cf21c7c0970b664e970d9a22d.tar.xz
mediagoblin-b27067371d6cb99cf21c7c0970b664e970d9a22d.zip
Style changes for media_uploader (now media_specs); removed margins from button_action buttons
Diffstat (limited to 'mediagoblin/templates')
-rw-r--r--mediagoblin/templates/mediagoblin/user_pages/media.html16
1 files changed, 5 insertions, 11 deletions
diff --git a/mediagoblin/templates/mediagoblin/user_pages/media.html b/mediagoblin/templates/mediagoblin/user_pages/media.html
index 000b1b80..1a19443c 100644
--- a/mediagoblin/templates/mediagoblin/user_pages/media.html
+++ b/mediagoblin/templates/mediagoblin/user_pages/media.html
@@ -68,28 +68,22 @@
{% autoescape False %}
<p>{{ media.description_html }}</p>
{% endautoescape %}
- <p class="media_uploader">
+ <p class="media_specs">
{% trans date=media.created.strftime("%Y-%m-%d") -%}
- {{ date }}
+ Added on {{ date }}. Licensed under an <a href="#">X license</a>.
{%- endtrans %}
- </p>
-
- {% if media['uploader'] == request.user._id or
+ {% if media['uploader'] == request.user._id or
request.user['is_admin'] %}
- <p>
{% set edit_url = request.urlgen('mediagoblin.edit.edit_media',
user= media.get_uploader().username,
media= media._id) %}
<a class="button_action" href="{{ edit_url }}">{% trans %}Edit{% endtrans %}</a>
- </p>
- <p>
{% set delete_url = request.urlgen('mediagoblin.user_pages.media_confirm_delete',
user= media.get_uploader().username,
media= media._id) %}
<a class="button_action" href="{{ delete_url }}">{% trans %}Delete{% endtrans %}</a>
- </p>
- {% endif %}
-
+ {% endif %}
+ </p>
<h3>{% trans %}23 comments{% endtrans %} <div class="right_align"><a {% if not request.user %}href="{{ request.urlgen('mediagoblin.auth.login') }}"{% endif %}class="button_action" id="button_addcomment" title="Add a comment">{% trans %}Add one{% endtrans %}</a></div></h3>
{# 0 comments. Be the first to add one! #}
{% if request.user %}