Move author text, "By X", to the sidebar
authorJef van Schendel <mail@jefvanschendel.nl>
Wed, 7 Dec 2011 21:15:48 +0000 (22:15 +0100)
committerJef van Schendel <mail@jefvanschendel.nl>
Wed, 7 Dec 2011 21:15:48 +0000 (22:15 +0100)
mediagoblin/templates/mediagoblin/user_pages/media.html

index 7434664c4b2980a13c49dbef2a6bc2c20a52f71b..95197c1579360487eb3fc47bb09dd823a3235341 100644 (file)
         <p>{{ media.description_html }}</p>
       {% endautoescape %}
       <p class="media_uploader">
-        {% trans date=media.created.strftime("%Y-%m-%d"),
-                 user_url=request.urlgen(
-                   'mediagoblin.user_pages.user_home',
-                   user=media.get_uploader().username),
-                 username=media.get_uploader().username -%}
-          By <a href="{{ user_url }}">{{ username }}</a> on {{ date }}
+        {% trans date=media.created.strftime("%Y-%m-%d") -%}
+          {{ date }}
         {%- endtrans %}
       </p>
       <h3></h3>
     {% endif %}
 
     <div class="grid_5 omega">
+      {% trans user_url=request.urlgen(
+                   'mediagoblin.user_pages.user_home',
+                   user=media.get_uploader().username),
+                 username=media.get_uploader().username -%}
+      <p>❖ Browsing media by <a href="{{ user_url }}">{{ username }}</a></p>
+      {%- endtrans %}
+      
       {% include "mediagoblin/utils/prev_next.html" %}
 
       {% if media['uploader'] == request.user._id or