eidolon/templates/album.hamlet

21 lines
578 B
Text
Raw Normal View History

2014-08-28 16:08:56 +00:00
$newline always
2014-08-18 01:09:37 +00:00
<h3>#{albumTitle album}
2014-08-18 16:16:04 +00:00
by <a href=@{UserR ownerName}>#{ownerName}</a>
2014-08-18 01:09:37 +00:00
<br>
$if presence == True
2014-08-26 02:39:13 +00:00
<a href=@{DirectUploadR albumId}>Upload image to this album
2014-09-14 05:54:34 +00:00
<br>
2014-08-28 16:08:56 +00:00
<a href=@{AlbumSettingsR albumId}>Change settings of your album
2014-08-18 01:09:37 +00:00
<br>
$if null media
This album is empty
$else
Images in this album:
2014-09-14 03:06:43 +00:00
<ul>
$forall (Entity mediumId medium) <- media
<li>
<a href=@{MediumR mediumId}>
<figure class="thumbnail">
2014-10-01 22:58:36 +00:00
<img src=#{mediumThumb medium}>
2014-09-14 03:06:43 +00:00
<figcaption>#{mediumTitle medium}