eidolon/templates/album.hamlet

17 lines
451 B
Plaintext
Raw Normal View History

2014-08-18 01:09:37 +00:00
$newline never
<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-08-18 01:09:37 +00:00
<br>
$if null media
This album is empty
$else
Images in this album:
$forall (Entity mediumId medium) <- media
2014-08-18 01:09:37 +00:00
<div class="thumbnails">
<a href=@{MediumR mediumId}>
2014-08-18 01:09:37 +00:00
<img src=#{mediumPath medium}><br>
#{mediumTitle medium}