This repository has been archived on 2020-05-27. You can view files and clone it, but cannot push or open issues/pull-requests.
2008-07-11 01:19:42 -04:00
|
|
|
<% if photos.nil? or photos.empty? %>
|
|
|
|
<p><em><strong>There were no photos found!</strong></em></p>
|
|
|
|
<% else -%>
|
|
|
|
|
|
|
|
<% photos.each_with_index do |photo, idx| -%>
|
2008-08-13 15:06:10 -04:00
|
|
|
<div class="photo col_<%= (idx + 1) % 3 -%>"><a href="<%= url(:photo, photo) -%>" rel="nofollow"><img src="<%= thumbnail_photo_url(photo) -%>" /></a></div>
|
2008-07-11 01:19:42 -04:00
|
|
|
<% if (idx + 1) % 3 == 0 or photos.last == photo -%><br style="clear:both" /><% end -%>
|
|
|
|
<% end -%>
|
|
|
|
|
|
|
|
<% end -%>
|