Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
  • 2 commits
  • 2 files changed
  • 0 commit comments
  • 1 contributor
View
8 app/views/Galleries/index.html
@@ -24,10 +24,10 @@
<div id="masonry-container">
#{list galleries, as:'gallery'}
- #{if gallery.photos}
- %{
- photo = gallery.photos.iterator().next();
- }%
+ %{
+ photo = gallery.getSnapPhoto();
+ }%
+ #{if photo}
<div class="box" onclick="document.location='@{Galleries.details(gallery.id)}'">
<img alt="photo" src="${photo.fullImageUrl}"/>
<div class="caption"><span>${gallery.name} | #${gallery.hashtag}</span></div>
View
2  app/views/admin/Galleries/index.html
@@ -20,7 +20,7 @@
<td>${gallery.id}</td>
<td><a href="@{admin.Galleries.details(gallery.id)}">${gallery.name}</a></td>
<td>${gallery.hashtag}</td>
- <td>${gallery.startDate} - ${gallery.endDate}</td>
+ <td>[${gallery.startDate}] - [${gallery.endDate}]</td>
<td>${gallery.photos.size()}</td>
<td>${gallery.state}</td>
</tr>

No commit comments for this range

Something went wrong with that request. Please try again.