now putting images in figures

This commit is contained in:
nek0 2014-09-14 05:06:43 +02:00
parent 36ed89c7b2
commit 906152ccf0
2 changed files with 14 additions and 12 deletions

View file

@ -11,10 +11,10 @@ by <a href=@{UserR ownerName}>#{ownerName}</a>
This album is empty
$else
Images in this album:
<ul class="media">
<li>
<ul>
$forall (Entity mediumId medium) <- media
<div class="thumbnails">
<li>
<a href=@{MediumR mediumId}>
<img src=#{mediumPath medium}><br>
#{mediumTitle medium}
<figure class="thumbnail">
<img src=#{mediumPath medium}>
<figcaption>#{mediumTitle medium}

View file

@ -1,8 +1,10 @@
$if null recentMedia
<p>This gallery is still empty.
$else
<ul>
$forall (Entity mediumId medium) <- recentMedia
<div class="thumbnails">
<li>
<a href=@{MediumR mediumId}>
<img src=#{mediumPath medium}><br>
#{mediumTitle medium}
<figure class="thumbnail">
<img src=#{mediumPath medium}>
<figcaption>#{mediumTitle medium}