Slightly modified text on media page
This commit is contained in:
parent
37a0074826
commit
d3060210bc
@ -22,25 +22,18 @@
|
|||||||
{% if media %}
|
{% if media %}
|
||||||
<img class="media_image" src="{{ request.app.public_store.file_url(
|
<img class="media_image" src="{{ request.app.public_store.file_url(
|
||||||
media.media_files.main) }}" />
|
media.media_files.main) }}" />
|
||||||
<br />
|
|
||||||
<h1>
|
<h1>
|
||||||
Media details for
|
{{media.title}}
|
||||||
<a href="{{ request.urlgen(
|
|
||||||
'mediagoblin.user_pages.user_home',
|
|
||||||
user=media.uploader().username) }}">
|
|
||||||
{{- media.uploader().username }}</a>
|
|
||||||
/ {{media.title}}
|
|
||||||
</h1>
|
</h1>
|
||||||
Uploaded on
|
<p>{{ media.description }}</p>
|
||||||
|
<p>Uploaded on
|
||||||
{{ "%4d-%02d-%02d"|format(media.created.year,
|
{{ "%4d-%02d-%02d"|format(media.created.year,
|
||||||
media.created.month, media.created.day) }}
|
media.created.month, media.created.day) }}
|
||||||
by
|
by
|
||||||
<a href="{{ request.urlgen('mediagoblin.user_pages.user_home',
|
<a href="{{ request.urlgen('mediagoblin.user_pages.user_home',
|
||||||
user= media.uploader().username) }}">
|
user= media.uploader().username) }}">
|
||||||
{{- media.uploader().username }}</a>
|
{{- media.uploader().username }}</a></p>
|
||||||
<br />
|
|
||||||
Description: {{ media.description }}
|
|
||||||
{% 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