Sha256: 8117b8234b41ec7f85c64e952e769209d59ba0f157ec7aa9093dbd30708ec6be

Contents?: true

Size: 801 Bytes

Versions: 4

Compression:

Stored size: 801 Bytes

Contents

%h1= @resource.name

.row
  - @resource.pictures.each do |picture|
    = bootstrap_thumbnail(container_classes: Ecm::Pictures.thumbnail_container_css_classes, image_options: { src: picture.image.url(Ecm::Pictures.thumbnail_paperclip_style) }, link_options: { href: "#{picture.image.url}#{File.extname(picture.image_file_name).downcase}", :'data-gallery' => "gallery" }) do
      %h3= picture.name
      - if Ecm::Pictures::Configuration.prevent_textile_rendering_in_html
        %notextile
          %p= picture.description
      - else
        %p= picture.description

= bootstrap_button_group do
  = link_to Ecm::Pictures::Gallery.model_name.human(count: :other), ecm_pictures.galleries_path, class: 'btn btn-primary'
  = link_to t('ecm.pictures.views.actions.back'), :back, class: 'btn btn-default'

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ecm_pictures2-5.1.0 app/views/ecm/pictures/galleries/show.haml
ecm_pictures2-5.0.1 app/views/ecm/pictures/galleries/show.haml
ecm_pictures2-5.0.0 app/views/ecm/pictures/galleries/show.haml
ecm_pictures2-4.0.1 app/views/ecm/pictures/galleries/show.haml