More spacing / newline changes to media.html
This commit is contained in:
parent
f6c49c5e62
commit
6f65e9eb90
@ -28,9 +28,11 @@
|
|||||||
<h2>
|
<h2>
|
||||||
{{media.title}}
|
{{media.title}}
|
||||||
</h2>
|
</h2>
|
||||||
|
|
||||||
{% autoescape False %}
|
{% autoescape False %}
|
||||||
<p>{{ media.description_html }}</p>
|
<p>{{ media.description_html }}</p>
|
||||||
{% endautoescape %}
|
{% endautoescape %}
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
— uploaded on
|
— uploaded on
|
||||||
{{ "%4d-%02d-%02d"|format(media.created.year,
|
{{ "%4d-%02d-%02d"|format(media.created.year,
|
||||||
@ -41,6 +43,7 @@
|
|||||||
{{- media.uploader().username }}</a>
|
{{- media.uploader().username }}</a>
|
||||||
</p>
|
</p>
|
||||||
<br /><br />
|
<br /><br />
|
||||||
|
|
||||||
<h3>Comments</h3>
|
<h3>Comments</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',
|
||||||
@ -65,8 +68,8 @@
|
|||||||
<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']) }}">
|
||||||
{{ comment['author']['username'] }}</a> at
|
{{ comment['author']['username'] }}</a> at
|
||||||
<!--</div>
|
<!--</div>
|
||||||
<div class="comment_datetime">-->
|
<div class="comment_datetime">-->
|
||||||
<a href="#comment-{{ comment['_id'] }}">
|
<a href="#comment-{{ comment['_id'] }}">
|
||||||
{{ "%4d-%02d-%02d %02d:%02d"|format(comment.created.year,
|
{{ "%4d-%02d-%02d %02d:%02d"|format(comment.created.year,
|
||||||
comment.created.month,
|
comment.created.month,
|
||||||
@ -75,8 +78,9 @@
|
|||||||
comment.created.minute) }}
|
comment.created.minute) }}
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
{% include "mediagoblin/utils/pagination.html" %}
|
{% include "mediagoblin/utils/pagination.html" %}
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
@ -100,6 +104,6 @@
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
{% else %}
|
{% else %}
|
||||||
<p>Sorry, no such media found.<p/>
|
<p>Sorry, no such media found.<p/>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user