Slightly better spacing in media.html
This commit is contained in:
parent
4194b05d98
commit
cf0cc3358b
@ -20,20 +20,27 @@
|
|||||||
|
|
||||||
{# temporarily, an "image gallery" that isn't one really ;) #}
|
{# temporarily, an "image gallery" that isn't one really ;) #}
|
||||||
{% if media %}
|
{% if media %}
|
||||||
<h1>Media details for <a
|
<h1>
|
||||||
href="{{ request.urlgen('mediagoblin.user_pages.user_home',
|
Media details for
|
||||||
user= media.uploader().username) }}">{{media.uploader().username}}</a>
|
<a href="{{ request.urlgen(
|
||||||
/ {{media.title}}
|
'mediagoblin.user_pages.user_home',
|
||||||
|
user=media.uploader().username) }}">
|
||||||
|
{{- media.uploader().username }}</a>
|
||||||
|
/ {{media.title}}
|
||||||
</h1>
|
</h1>
|
||||||
<div>
|
<div>
|
||||||
<img src="{{ request.app.public_store.file_url(
|
<img src="{{ request.app.public_store.file_url(
|
||||||
media.media_files.main) }}" />
|
media.media_files.main) }}" />
|
||||||
|
<br />
|
||||||
<br/>Uploaded on {{ "%4d-%02d-%02d"|format(media.created.year,
|
Uploaded on
|
||||||
media.created.month,media.created.day)}} by <a
|
{{ "%4d-%02d-%02d"|format(media.created.year,
|
||||||
href="{{ request.urlgen('mediagoblin.user_pages.user_home',
|
media.created.month, media.created.day) }}
|
||||||
user= media.uploader().username) }}">{{media.uploader().username}}</a>
|
by
|
||||||
<br/>Description: {{media.description}}
|
<a href="{{ request.urlgen('mediagoblin.user_pages.user_home',
|
||||||
|
user= media.uploader().username) }}">
|
||||||
|
{{- media.uploader().username }}</a>
|
||||||
|
<br />
|
||||||
|
Description: {{ media.description }}
|
||||||
</div>
|
</div>
|
||||||
{% else %}
|
{% else %}
|
||||||
<p>Sorry, no such media found.<p/>
|
<p>Sorry, no such media found.<p/>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user