Just a bit of spacing to make things easier to read by a little bit.

This commit is contained in:
Christopher Allan Webber 2011-08-20 09:00:30 -05:00
parent 29beee8ceb
commit f645bde8fd

View File

@ -28,9 +28,11 @@
src="{{ request.app.public_store.file_url( src="{{ request.app.public_store.file_url(
media.get_display_media(media.media_files)) }}" /> media.get_display_media(media.media_files)) }}" />
</div> </div>
<h2 class="media_title"> <h2 class="media_title">
{{media.title}} {{ media.title }}
</h2> </h2>
<p class="media_uploader"> <p class="media_uploader">
{% trans date="%4d-%02d-%02d"|format( {% trans date="%4d-%02d-%02d"|format(
media.created.year, media.created.year,
@ -42,11 +44,14 @@
Uploaded on {{ date }} by <a href="{{ user_url }}">{{ username }}</a> Uploaded on {{ date }} by <a href="{{ user_url }}">{{ username }}</a>
{%- endtrans %} {%- endtrans %}
</p> </p>
{% autoescape False %} {% autoescape False %}
<p>{{ media.description_html }}</p> <p>{{ media.description_html }}</p>
{% endautoescape %} {% endautoescape %}
<br /> <br />
<h3>{% trans %}Comments{% endtrans %}</h3> <h3>{% trans %}Comments{% endtrans %}</h3>
{% if request.user %} {% if request.user %}
<form action="{{ request.urlgen('mediagoblin.user_pages.media_post_comment', <form action="{{ request.urlgen('mediagoblin.user_pages.media_post_comment',
user= media.uploader().username, user= media.uploader().username,
@ -67,11 +72,13 @@
{% else %} {% else %}
<div class="comment_wrapper" id="comment-{{ comment['_id'] }}"> <div class="comment_wrapper" id="comment-{{ comment['_id'] }}">
{% endif %} {% endif %}
<div class="comment_content"> <div class="comment_content">
{% autoescape False %} {% autoescape False %}
{{ comment.content_html }} {{ comment.content_html }}
{% endautoescape %} {% endautoescape %}
</div> </div>
<div class="comment_author">&mdash; <div class="comment_author">&mdash;
<a href="{{ request.urlgen('mediagoblin.user_pages.user_home', <a href="{{ request.urlgen('mediagoblin.user_pages.user_home',
user = comment_author['username']) }}"> user = comment_author['username']) }}">