Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
  • 2 commits
  • 2 files changed
  • 0 comments
  • 1 contributor
8 app/views/Galleries/index.html
@@ -24,10 +24,10 @@
24 24
25 25 <div id="masonry-container">
26 26 #{list galleries, as:'gallery'}
27   - #{if gallery.photos}
28   - %{
29   - photo = gallery.photos.iterator().next();
30   - }%
  27 + %{
  28 + photo = gallery.getSnapPhoto();
  29 + }%
  30 + #{if photo}
31 31 <div class="box" onclick="document.location='@{Galleries.details(gallery.id)}'">
32 32 <img alt="photo" src="${photo.fullImageUrl}"/>
33 33 <div class="caption"><span>${gallery.name} | #${gallery.hashtag}</span></div>
2  app/views/admin/Galleries/index.html
@@ -20,7 +20,7 @@
20 20 <td>${gallery.id}</td>
21 21 <td><a href="@{admin.Galleries.details(gallery.id)}">${gallery.name}</a></td>
22 22 <td>${gallery.hashtag}</td>
23   - <td>${gallery.startDate} - ${gallery.endDate}</td>
  23 + <td>[${gallery.startDate}] - [${gallery.endDate}]</td>
24 24 <td>${gallery.photos.size()}</td>
25 25 <td>${gallery.state}</td>
26 26 </tr>

No commit comments for this range

Something went wrong with that request. Please try again.