Sha256: a4d2b652ac02d8865df7aa6402f0c3dcf2f8ad4f4377041ec991482111fa8dfe
Contents?: true
Size: 651 Bytes
Versions: 2
Compression:
Stored size: 651 Bytes
Contents
<% if photos.any? %> <div class="section images"> <h4 class="section-heading"><%= t(".related_photos") %></h4> <div class="gallery row"> <% photos.in_groups_of(3, false).each do |group| %> <% group.each_with_index do |photo, index| %> <div class="columns small-6 medium-4 <%= (index == 2 || photo == group.last ? "end" : "") %>"> <%= link_to photo.big_url, target: "_blank" do %> <%= image_tag photo.thumbnail_url, class:"thumbnail", alt: strip_tags(translated_attribute(photo.title)) %> <% end %> </div> <% end %> <% end %> </div> </div> <% end %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
decidim-core-0.18.1 | app/views/decidim/application/_photos.html.erb |
decidim-core-0.18.0 | app/views/decidim/application/_photos.html.erb |