aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJef van Schendel <jefvanschendel@gmail.com>2011-08-16 23:24:07 +0200
committerJef van Schendel <jefvanschendel@gmail.com>2011-08-16 23:24:07 +0200
commit745961104aabb962fb7dada2ec11f6903cc19abe (patch)
tree996eba8c5c85abe10ca88217b989de223b0e3c05
parent908b20f51c63add1a01f349d45e119ae767a855b (diff)
downloadmediagoblin-745961104aabb962fb7dada2ec11f6903cc19abe.tar.lz
mediagoblin-745961104aabb962fb7dada2ec11f6903cc19abe.tar.xz
mediagoblin-745961104aabb962fb7dada2ec11f6903cc19abe.zip
Small changes to media.html: changed order of uploader/date and description, added css classes
-rw-r--r--mediagoblin/templates/mediagoblin/user_pages/media.html16
1 files changed, 6 insertions, 10 deletions
diff --git a/mediagoblin/templates/mediagoblin/user_pages/media.html b/mediagoblin/templates/mediagoblin/user_pages/media.html
index 9c0a1cca..e1175fc4 100644
--- a/mediagoblin/templates/mediagoblin/user_pages/media.html
+++ b/mediagoblin/templates/mediagoblin/user_pages/media.html
@@ -28,16 +28,10 @@
src="{{ request.app.public_store.file_url(
media.get_display_media(media.media_files)) }}" />
</div>
-
- <h2>
+ <h2 class="media_title">
{{media.title}}
</h2>
-
- {% autoescape False %}
- <p>{{ media.description_html }}</p>
- {% endautoescape %}
-
- <p>
+ <p class="media_uploader">
{% trans date="%4d-%02d-%02d"|format(
media.created.year,
media.created.month, media.created.day),
@@ -45,11 +39,13 @@
'mediagoblin.user_pages.user_home',
user=media.uploader().username),
username=media.uploader().username -%}
- &mdash;&nbsp;uploaded on {{ date }} by <a href="{{ user_url }}">{{ username }}</a>
+ Uploaded on {{ date }} by <a href="{{ user_url }}">{{ username }}</a>
{%- endtrans %}
</p>
+ {% autoescape False %}
+ <p>{{ media.description_html }}</p>
+ {% endautoescape %}
<br />
-
<h3>{% trans %}Comments{% endtrans %}</h3>
{% if request.user %}
<form action="{{ request.urlgen('mediagoblin.user_pages.media_post_comment',