PoorBooru/views/media.tt

22 lines
447 B
Plaintext

<div class="text-center">
<a href="[% image_src %]"><img class="media-image" src="[% image_src %]" /></a>
</div>
<h2>metadata</h2>
<dl>
<dt>ID</dt>
<dd>[% media_id %]</dd>
<dt>Filename</dt>
<dd>[% media_filename %]</dd>
<dt>Size</dt>
<dd>[% media_size %]</dd>
<dt>Tags</dt>
[% UNLESS media_tags %]
<dd>no tags</dd>
[% END %]
[% FOREACH tag IN media_tags -%]
<dd><a href="[% tag.uri %]">[% tag.name %]</a></dd>
[% END -%]
</dl>