Sha256: 2171961838786b11f10e7fa3ea1d6a317083a40a035344fa62f189427a71df01
Contents?: true
Size: 826 Bytes
Versions: 1
Compression:
Stored size: 826 Bytes
Contents
<% if @gallery.pictures.empty? -%> <p> There are no picture in this gallery. </p> <% else %> <ul id="picture_list"> <% @gallery.pictures.each do |image| %> <li> <% if image.status %> <%= link_to (image_tag image.public_filename(:thumb), :alt => image.title), image.public_filename(:view) , {:rel => "splash.image|groupe1"} %> <%= image.title %><br /> <% image.description %> <% else %> <%= link_to (image_tag image.public_filename(:thumb), :alt => image.title), image.public_filename(:view) , {:rel => "splash.image|groupe1"} %> <%= image.title %> (disabled)<br /> <% image.description %> <%= image_tag '/images/admin/error.png', :class => "no_display" %> <% end -%> </li> <% end %> </ul> <% end -%>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pictrails-0.5.0 | app/views/galleries/_list_pictures.html.erb |