eidolon/templates/album.hamlet
2014-09-05 21:00:03 +02:00

21 lines
579 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 class="media">
<li>
$forall (Entity mediumId medium) <- media
<div class="thumbnails">
<a href=@{MediumR mediumId}>
<img src=#{mediumPath medium}><br>
#{mediumTitle medium}