diff options
author | Jef van Schendel <jefvanschendel@gmail.com> | 2011-07-01 17:28:55 +0200 |
---|---|---|
committer | Jef van Schendel <jefvanschendel@gmail.com> | 2011-07-01 17:28:55 +0200 |
commit | c13ce79abbff3a93f1d940d2578f1e80adeb70f3 (patch) | |
tree | e977869cc389790f4f41b3553d6d77aaf7f46a4d | |
parent | 13b4cbf01436ba2b734358743ad82c466a9110b8 (diff) | |
download | mediagoblin-c13ce79abbff3a93f1d940d2578f1e80adeb70f3.tar.lz mediagoblin-c13ce79abbff3a93f1d940d2578f1e80adeb70f3.tar.xz mediagoblin-c13ce79abbff3a93f1d940d2578f1e80adeb70f3.zip |
Reorganize media.html, comment part
-rw-r--r-- | mediagoblin/templates/mediagoblin/user_pages/media.html | 36 |
1 files 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 @@ </div> </form> {% endif %} - {# {{ wtforms_util.render_textarea_div(submit_form.description) }} {{ wtforms_util.render_field_div(submit_form.file) }} #} - {% if comments %} <h3>Comments</h3> {% for comment in comments %} <div class="comment_wrapper" id="comment-{{ comment['_id'] }}"> - <div class="comment_content"> {% autoescape False %} {{ comment.content_html }} {% endautoescape %} - </div> - <div class="comment_author">— - <a href="{{ request.urlgen('mediagoblin.user_pages.user_home', - user = comment['author']['username']) }}"> - {{ comment['author']['username'] }}</a> at - <!--</div> - <div class="comment_datetime">--> - <a href="#comment-{{ comment['_id'] }}"> - {{ "%4d-%02d-%02d %02d:%02d"|format(comment.created.year, - comment.created.month, - comment.created.day, - comment.created.hour, - comment.created.minute) }} - </a> - </div> - </div> + </div> + <div class="comment_author">— + <a href="{{ request.urlgen('mediagoblin.user_pages.user_home', + user = comment['author']['username']) }}"> + {{ comment['author']['username'] }}</a> at + <!--</div> + <div class="comment_datetime">--> + <a href="#comment-{{ comment['_id'] }}"> + {{ "%4d-%02d-%02d %02d:%02d"|format(comment.created.year, + comment.created.month, + comment.created.day, + comment.created.hour, + comment.created.minute) }} + </a> + </div> + </div> {% endfor %} {% include "mediagoblin/utils/pagination.html" %} </div> {% endif %} - <div class="grid_4 omega media_sidebar"> <p>This is a sidebar! Yay!</p> </div> |