Sha256: 9fbe2633f33cf7862a34b138176be7f3fe648362b462aa174b79653fd97e4b03

Contents?: true

Size: 620 Bytes

Versions: 9

Compression:

Stored size: 620 Bytes

Contents

.panel
  - unless feature[:name].blank?
    %h3= link_to feature[:name].titleize, feature[:link_path]
  - unless feature[:image_path].blank?
    = link_to image_tag( feature[:image_path] ), feature[:link_path]
  - unless feature[:subhead].blank?
    .descr= raw feature[:subhead]
  - unless feature.report.blank?
    %h3= link_to feature.report.name, report_path(feature.report.name_seo)
    .descr= raw feature.report.subhead
  - unless feature.gallery.blank?
    %h3= link_to feature.gallery.name, gallery_path(feature.gallery)
    - begin
      = image_tag feature.gallery.photos[0].photo.url( :thumb )
    - rescue

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
ish_manager-0.1.8.45 app/views/ish_manager/features/_item.haml
ish_manager-0.1.8.44 app/views/ish_manager/features/_item.haml
ish_manager-0.1.8.43 app/views/ish_manager/features/_item.haml
ish_manager-0.1.8.41 app/views/ish_manager/features/_item.haml
ish_manager-0.1.8.40 app/views/ish_manager/features/_item.haml
ish_manager-0.1.8.39 app/views/ish_manager/features/_item.haml
ish_manager-0.1.8.38 app/views/ish_manager/features/_item.haml
ish_manager-0.1.8.37 app/views/ish_manager/features/_item.haml
ish_manager-0.1.8.36 app/views/ish_manager/features/_item.haml