Reordering the uploaded on/by and description sections of media display template
This commit is contained in:
parent
d4a7a03ce7
commit
e1d9e1d139
@ -25,16 +25,18 @@
|
||||
</h1>
|
||||
<img class="media_image" src="{{ request.app.public_store.file_url(
|
||||
media.media_files.main) }}" />
|
||||
{% autoescape False %}
|
||||
<p>{{ media.description_html }}</p>
|
||||
{% endautoescape %}
|
||||
<p>Uploaded on
|
||||
<p>
|
||||
Uploaded on
|
||||
{{ "%4d-%02d-%02d"|format(media.created.year,
|
||||
media.created.month, media.created.day) }}
|
||||
by
|
||||
<a href="{{ request.urlgen('mediagoblin.user_pages.user_home',
|
||||
user= media.uploader().username) }}">
|
||||
{{- media.uploader().username }}</a></p>
|
||||
{{- media.uploader().username }}</a>
|
||||
</p>
|
||||
{% autoescape False %}
|
||||
<p>{{ media.description_html }}</p>
|
||||
{% endautoescape %}
|
||||
{% if media['uploader'] == request.user['_id'] %}
|
||||
<p><a href="{{ request.urlgen('mediagoblin.edit.edit_media',
|
||||
user= media.uploader().username,
|
||||
|
Loading…
x
Reference in New Issue
Block a user