eidolon/templates/album.hamlet
2014-09-14 07:54:34 +02:00

21 lines
577 B
Plaintext

$newline always
<h3>#{albumTitle album}
by <a href=@{UserR ownerName}>#{ownerName}</a>
<br>
$if presence == True
<a href=@{DirectUploadR albumId}>Upload image to this album
<br>
<a href=@{AlbumSettingsR albumId}>Change settings of your album
<br>
$if null media
This album is empty
$else
Images in this album:
<ul>
$forall (Entity mediumId medium) <- media
<li>
<a href=@{MediumR mediumId}>
<figure class="thumbnail">
<img src=#{mediumPath medium}>
<figcaption>#{mediumTitle medium}