Sha256: a225c8d2208470fdd43bd3073d45b2fee368954ebab66f37f3b730b6f32f73e5

Contents?: true

Size: 801 Bytes

Versions: 6

Compression:

Stored size: 801 Bytes

Contents

<div class="col-sm-6 col-md-3">
  <div class="thumbnail">
    <% if picture_gallery.pictures.first.respond_to?(:image) %>
      <%= image_tag picture_gallery.pictures.first.image.url(:default_thumb) %>
    <% end %>
    <div class="caption">
      <h4><%= picture_gallery.name %></h4>
      <% if picture_gallery.respond_to?(:tag_list) %>
        <div class="tags bottom-margin-1">
          <% picture_gallery.tag_list.each do |tag| %>
            <span class="label label-default"><%= tag %></span>
          <% end %>
        </div>
      <% end %>
      <div class="truncate lines-3 bottom-margin-1"><%= mu(picture_gallery, :description) %></div>
      <p><%= link_to t('ecm.pictures.actions.view'), picture_gallery, :class => 'btn btn-primary', :role => 'button' %></p>
    </div>
  </div>
</div>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ecm_pictures2-2.1.4 app/views/ecm/pictures/picture_galleries/_picture_gallery_for_index.html.erb
ecm_pictures2-2.1.3 app/views/ecm/pictures/picture_galleries/_picture_gallery_for_index.html.erb
ecm_pictures2-2.1.2 app/views/ecm/pictures/picture_galleries/_picture_gallery_for_index.html.erb
ecm_pictures2-2.1.1 app/views/ecm/pictures/picture_galleries/_picture_gallery_for_index.html.erb
ecm_pictures2-2.1.0 app/views/ecm/pictures/picture_galleries/_picture_gallery_for_index.html.erb
ecm_pictures2-2.0.0 app/views/ecm/pictures/picture_galleries/_picture_gallery_for_index.html.erb