aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Allan Webber <cwebber@dustycloud.org>2011-07-02 14:30:33 -0500
committerChristopher Allan Webber <cwebber@dustycloud.org>2011-07-02 14:30:33 -0500
commit6f65e9eb907e690f02fe2e339e28fb306b293fd4 (patch)
tree98a5e3f639b1a6f9bbe8975591a50aeb698bff84
parentf6c49c5e623d9914e9d906138fb9532a0181e623 (diff)
downloadmediagoblin-6f65e9eb907e690f02fe2e339e28fb306b293fd4.tar.lz
mediagoblin-6f65e9eb907e690f02fe2e339e28fb306b293fd4.tar.xz
mediagoblin-6f65e9eb907e690f02fe2e339e28fb306b293fd4.zip
More spacing / newline changes to media.html
-rw-r--r--mediagoblin/templates/mediagoblin/user_pages/media.html12
1 files changed, 8 insertions, 4 deletions
diff --git a/mediagoblin/templates/mediagoblin/user_pages/media.html b/mediagoblin/templates/mediagoblin/user_pages/media.html
index e2fee170..39770f39 100644
--- a/mediagoblin/templates/mediagoblin/user_pages/media.html
+++ b/mediagoblin/templates/mediagoblin/user_pages/media.html
@@ -28,9 +28,11 @@
<h2>
{{media.title}}
</h2>
+
{% autoescape False %}
<p>{{ media.description_html }}</p>
{% endautoescape %}
+
<p>
&mdash;&nbsp;uploaded on
{{ "%4d-%02d-%02d"|format(media.created.year,
@@ -41,6 +43,7 @@
{{- media.uploader().username }}</a>
</p>
<br /><br />
+
<h3>Comments</h3>
{% if request.user %}
<form action="{{ request.urlgen('mediagoblin.user_pages.media_post_comment',
@@ -65,8 +68,8 @@
<a href="{{ request.urlgen('mediagoblin.user_pages.user_home',
user = comment['author']['username']) }}">
{{ comment['author']['username'] }}</a> at
- <!--</div>
- <div class="comment_datetime">-->
+ <!--</div>
+ <div class="comment_datetime">-->
<a href="#comment-{{ comment['_id'] }}">
{{ "%4d-%02d-%02d %02d:%02d"|format(comment.created.year,
comment.created.month,
@@ -75,8 +78,9 @@
comment.created.minute) }}
</a>
</div>
- </div>
+ </div>
{% endfor %}
+
{% include "mediagoblin/utils/pagination.html" %}
</div>
{% endif %}
@@ -100,6 +104,6 @@
</p>
</div>
{% else %}
- <p>Sorry, no such media found.<p/>
+ <p>Sorry, no such media found.<p/>
{% endif %}
{% endblock %}