eidolon/templates/profile.hamlet

18 lines
408 B
Text
Raw Normal View History

$newline always
2014-08-15 11:25:33 +00:00
<h3>Profile of #{ownerName}
2014-08-15 11:25:33 +00:00
$if null userAlbums
This user has no albums yet
$else
Albums of this user:
$forall (Entity albumId album) <- userAlbums
<div class="thumbnails">
2014-08-15 11:25:33 +00:00
$if null recentMedia
This user has not uploaded any images
$else
2014-08-15 11:25:33 +00:00
Newest images:
$forall (Entity mediaId medium) <- take 10 recentMedia
<div class="thumbnails">
2014-08-15 11:25:33 +00:00
<img src=#{mediumPath medium}>