more figures

This commit is contained in:
nek0 2014-09-14 07:49:42 +02:00
parent 76623f1214
commit 541b475d7a

View file

@ -9,16 +9,16 @@ $if null userAlbs
This user has no albums yet This user has no albums yet
$else $else
Albums of this user: Albums of this user:
$forall (Entity albumId album) <- userAlbs <ul>
<ul class="albums"> $forall (Entity albumId album) <- userAlbs
<li> <li>
<div class="thumbnails"> <a href=@{AlbumR albumId}>
<a href=@{AlbumR albumId}> <figure class="thumbnail">
$if (albumSamplePic album) == Nothing $if (albumSamplePic album) == Nothing
<img width="200px" src="/static/img/album.jpg"><br> <img src="/static/img/album.jpg"><br>
$else $else
<img width="200px" src=#{T.pack $ fromJust $ albumSamplePic album}><br> <img src=#{T.pack $ fromJust $ albumSamplePic album}>
#{albumTitle album} <figcaption>#{albumTitle album}
$if null recentMedia $if null recentMedia
This user has not uploaded any images This user has not uploaded any images