From e1d9e1d139a81d4d7592d349e3594d3a9d21c285 Mon Sep 17 00:00:00 2001 From: Christopher Allan Webber Date: Sat, 25 Jun 2011 14:32:31 -0500 Subject: [PATCH] Reordering the uploaded on/by and description sections of media display template --- .../mediagoblin/user_pages/media.html | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/mediagoblin/templates/mediagoblin/user_pages/media.html b/mediagoblin/templates/mediagoblin/user_pages/media.html index d221f61e..97ff8e51 100644 --- a/mediagoblin/templates/mediagoblin/user_pages/media.html +++ b/mediagoblin/templates/mediagoblin/user_pages/media.html @@ -25,16 +25,18 @@ +

+ Uploaded on + {{ "%4d-%02d-%02d"|format(media.created.year, + media.created.month, media.created.day) }} + by + + {{- media.uploader().username }} +

{% autoescape False %} -

{{ media.description_html }}

+

{{ media.description_html }}

{% endautoescape %} -

Uploaded on - {{ "%4d-%02d-%02d"|format(media.created.year, - media.created.month, media.created.day) }} - by - - {{- media.uploader().username }}

{% if media['uploader'] == request.user['_id'] %}