Small changes to media.html: changed order of uploader/date and description, added...
authorJef van Schendel <jefvanschendel@gmail.com>
Tue, 16 Aug 2011 21:24:07 +0000 (23:24 +0200)
committerJef van Schendel <jefvanschendel@gmail.com>
Tue, 16 Aug 2011 21:24:07 +0000 (23:24 +0200)
mediagoblin/templates/mediagoblin/user_pages/media.html

index 9c0a1cca848e5c2c3d4a82f54442f9cc82b1f0d9..e1175fc4d913c97894f83fcad64c933437dc87c1 100644 (file)
              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),
                    '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',