eidolon/templates/adminUserMedia.hamlet

15 lines
496 B
Text
Raw Normal View History

2014-09-09 02:26:50 +00:00
$newline always
<div id="header" class="item" data-width="400">
<div class="inner">
<h1>Media of #{userSlug owner}
$if null media
<p>
#{userSlug owner} has no media yet
2014-09-09 02:26:50 +00:00
$forall (Entity mId m) <- media
2015-01-11 19:06:44 +00:00
<article class="item" data-width=#{mediumThumbWidth m}>
<a href=@{AdminMediumSettingsR mId}>#{mediumTitle m}
<figure>
<img src=@{StaticR $ StaticRoute (drop 2 $ map T.pack $ splitDirectories $ mediumThumb m) []}>
2015-01-11 19:06:44 +00:00
<figcaption>#{mediumTitle m}