eidolon/templates/profile.hamlet
2014-08-17 22:58:33 +02:00

20 lines
530 B
Text

$newline always
<h3>Profile of #{ownerName}
$if null userAlbs
This user has no albums yet
$else
Albums of this user:
$forall (Entity albumId album) <- userAlbs
<div class="thumbnails">
<a href=@{AlbumR user albumId}>
<img width="200px" src="/static/img/album.jpg"><br>
#{albumTitle album}
$if null recentMedia
This user has not uploaded any images
$else
Newest images:
$forall (Entity mediaId medium) <- take 10 recentMedia
<div class="thumbnails">
<img src=#{mediumPath medium}>