2014-09-08 01:57:17 +00:00
|
|
|
$newline always
|
2015-01-11 16:59:02 +00:00
|
|
|
<div id="header" class="item" data-width="400">
|
|
|
|
<div class="inner">
|
|
|
|
<h1>Albums of #{userSlug owner}
|
|
|
|
<p>
|
|
|
|
$if null albums
|
|
|
|
#{userSlug owner} has no albums yet
|
2014-09-08 01:57:17 +00:00
|
|
|
|
2015-01-11 16:59:02 +00:00
|
|
|
$forall (Entity aId a) <- albums
|
2015-01-11 19:06:44 +00:00
|
|
|
<article class="item" data-width=#{albumSampleWidth a}>
|
|
|
|
<a href=@{AdminAlbumSettingsR aId}>#{albumTitle a}
|
2015-10-19 14:31:10 +00:00
|
|
|
<figure>
|
2015-01-11 19:06:44 +00:00
|
|
|
$if (albumSamplePic a) == Nothing
|
|
|
|
<img src="/static/img/album.jpg">
|
|
|
|
$else
|
|
|
|
<img src=#{T.pack $ fromJust $ albumSamplePic a}>
|
|
|
|
<figcaption>#{albumTitle a}
|