eidolon/templates/album.hamlet

21 lines
578 B
Text
Raw Normal View History

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