Sha256: 77bab76012c913e778b0d1837a00b2536cfeb5f19879c1b640cc60b6a57018f1

Contents?: true

Size: 745 Bytes

Versions: 2

Compression:

Stored size: 745 Bytes

Contents

<div class="col-sm-6 col-md-3">
  <div class="thumbnail">
    <% if gallery.pictures.first.respond_to?(:image) %>
      <%= image_tag gallery.pictures.first.image.url(:default_thumb) %>
    <% end %>
    <div class="caption">
      <h4><%= gallery.name %></h4>
      <% if gallery.respond_to?(:tag_list) %>
        <div class="tags bottom-margin-1">
          <% 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(gallery, :description) %></div>
      <p><%= link_to t('ecm.pictures.actions.view'), gallery, :class => 'btn btn-primary', :role => 'button' %></p>
    </div>
  </div>
</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ecm_pictures2-3.0.1 app/views/ecm/pictures/galleries/_gallery_for_index.html.erb
ecm_pictures2-3.0.0 app/views/ecm/pictures/galleries/_gallery_for_index.html.erb