Slightly modified text on media page
authorJef van Schendel <jefvanschendel@gmail.com>
Sat, 28 May 2011 23:53:41 +0000 (01:53 +0200)
committerJef van Schendel <jefvanschendel@gmail.com>
Sat, 28 May 2011 23:53:41 +0000 (01:53 +0200)
mediagoblin/templates/mediagoblin/user_pages/media.html

index 475a15ff870fba77977c127c2ac77a3b88a86d48..886962d1f4bfbba5ece1fc6385f9ffdf82d54cd2 100644 (file)
   {% if media %}
     <img class="media_image" src="{{ request.app.public_store.file_url(
                   media.media_files.main) }}" />
-    <br />
     <h1>
-      Media details for
-      <a href="{{ request.urlgen(
-                   'mediagoblin.user_pages.user_home',
-                    user=media.uploader().username) }}">
-        {{- media.uploader().username }}</a>
-      / {{media.title}}
+      {{media.title}}
     </h1>
-    Uploaded on
+    <p>{{ media.description }}</p>
+    <p>Uploaded on
     {{ "%4d-%02d-%02d"|format(media.created.year,
                               media.created.month, media.created.day) }}
     by
     <a href="{{ request.urlgen('mediagoblin.user_pages.user_home',
                                user= media.uploader().username) }}">
-      {{- media.uploader().username }}</a>
-    <br />
-    Description: {{ media.description }}
+      {{- media.uploader().username }}</a></p>
   {% else %}
   <p>Sorry, no such media found.<p/>
   {% endif %}
-{% endblock %}    
+{% endblock %}