From c13ce79abbff3a93f1d940d2578f1e80adeb70f3 Mon Sep 17 00:00:00 2001 From: Jef van Schendel Date: Fri, 1 Jul 2011 17:28:55 +0200 Subject: [PATCH] Reorganize media.html, comment part --- .../mediagoblin/user_pages/media.html | 36 +++++++++---------- 1 file changed, 16 insertions(+), 20 deletions(-) diff --git a/mediagoblin/templates/mediagoblin/user_pages/media.html b/mediagoblin/templates/mediagoblin/user_pages/media.html index fd079378..175e5c60 100644 --- a/mediagoblin/templates/mediagoblin/user_pages/media.html +++ b/mediagoblin/templates/mediagoblin/user_pages/media.html @@ -58,42 +58,38 @@ {% endif %} - {# {{ wtforms_util.render_textarea_div(submit_form.description) }} {{ wtforms_util.render_field_div(submit_form.file) }} #} - {% if comments %}

Comments

{% for comment in comments %}
-
{% autoescape False %} {{ comment.content_html }} {% endautoescape %} -
- -
+ +
— + + {{ comment['author']['username'] }} at + + + {{ "%4d-%02d-%02d %02d:%02d"|format(comment.created.year, + comment.created.month, + comment.created.day, + comment.created.hour, + comment.created.minute) }} + +
+ {% endfor %} {% include "mediagoblin/utils/pagination.html" %} {% endif %} -

This is a sidebar! Yay!