eidolon/templates/adminUserMedia.hamlet
2015-01-11 20:06:44 +01:00

14 lines
446 B
Text

$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
$forall (Entity mId m) <- media
<article class="item" data-width=#{mediumThumbWidth m}>
<a href=@{AdminMediumSettingsR mId}>#{mediumTitle m}
<figure class="thumbnail">
<img src=#{mediumThumb m}>
<figcaption>#{mediumTitle m}