2014-09-09 02:26:50 +00:00
|
|
|
$newline always
|
2016-09-02 13:55:50 +00:00
|
|
|
<div .subheader .item>
|
|
|
|
<h1>Media of #{userSlug owner}
|
|
|
|
$if null media
|
|
|
|
<p>
|
|
|
|
#{userSlug owner} has no media yet
|
2014-09-09 02:26:50 +00:00
|
|
|
|
2015-01-11 16:59:02 +00:00
|
|
|
$forall (Entity mId m) <- media
|
2016-09-02 13:55:50 +00:00
|
|
|
<div .item>
|
|
|
|
<a href=@{AdminMediumSettingsR mId}>
|
2015-10-19 14:31:10 +00:00
|
|
|
<figure>
|
2015-02-12 04:25:15 +00:00
|
|
|
<img src=@{StaticR $ StaticRoute (drop 2 $ map T.pack $ splitDirectories $ mediumThumb m) []}>
|
2015-01-11 19:06:44 +00:00
|
|
|
<figcaption>#{mediumTitle m}
|