15 lines
400 B
Text
Executable file
15 lines
400 B
Text
Executable file
$newline always
|
|
<div .subheader .item>
|
|
<h1>Albums
|
|
$if null albums
|
|
<p>There are no albums yet
|
|
|
|
$forall (Entity aId a) <- albums
|
|
<div .item>
|
|
<a href=@{AdminAlbumSettingsR aId}>
|
|
<figure>
|
|
$if (albumSamplePic a) == Nothing
|
|
<img src="/static/img/album.jpg">
|
|
$else
|
|
<img src=#{T.pack $ fromJust $ albumSamplePic a}>
|
|
<figcaption>#{albumTitle a}
|