2014-08-28 16:08:56 +00:00
|
|
|
$newline always
|
2015-01-11 07:06:48 +00:00
|
|
|
<div id="header" class="item" data-width="400">
|
|
|
|
<div class="inner">
|
|
|
|
<h1>#{albumTitle album}
|
|
|
|
<p>by <a href=@{UserR ownerName}>#{ownerSlug}</a>
|
|
|
|
$if presence == True
|
|
|
|
<p>
|
|
|
|
<a href=@{DirectUploadR albumId}>Upload image to this album
|
|
|
|
<p>
|
|
|
|
<a href=@{AlbumSettingsR albumId}>Change settings of this album
|
2014-12-14 19:21:23 +00:00
|
|
|
|
2015-01-11 07:06:48 +00:00
|
|
|
$if null media
|
|
|
|
<div id="header" class="item" data-width="400">
|
|
|
|
<div class="inner">
|
|
|
|
<p class="center">This album is empty
|
|
|
|
$else
|
|
|
|
$forall (Entity mediumId medium) <- media
|
|
|
|
<article class="item" data-width=#{mediumThumbWidth medium}>
|
|
|
|
<a href=@{MediumR mediumId}>
|
|
|
|
<figure class="thumbnail">
|
2015-02-12 04:25:15 +00:00
|
|
|
<img src=@{StaticR $ StaticRoute (drop 2 $ map T.pack $ splitDirectories $ mediumThumb medium) []}>
|
2015-01-11 07:06:48 +00:00
|
|
|
<figcaption>#{mediumTitle medium}
|
|
|
|
|
|
|
|
<div id="footer">
|
|
|
|
<div class="right">
|
|
|
|
get a feed from this:
|
|
|
|
<a href=@{AlbumFeedAtomR albumId}>Atom
|
|
|
|
<a href=@{AlbumFeedRssR albumId}>RSS
|