From: Christopher Allan Webber Date: Sat, 25 Jun 2011 19:32:31 +0000 (-0500) Subject: Reordering the uploaded on/by and description sections of media display template X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=e1d9e1d139a81d4d7592d349e3594d3a9d21c285;p=mediagoblin.git Reordering the uploaded on/by and description sections of media display template --- 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'] %}