Sha256: afb9c367cad1183d41b846ebcfbad69f97634b73f1f98ac8607e26ae11775640
Contents?: true
Size: 1.09 KB
Versions: 4
Compression:
Stored size: 1.09 KB
Contents
- if !defined? is_panel - is_panel = true %li %div{ :class => is_panel ? 'panel' : '' } = link_to tag.name, tag_path(tag.name_seo) (#{tag.reports.length}) (#{tag.galleries.length}) (#{tag.videos.length}) -# .descr= tag.descr - if tag.children_tags.length > 0 %ul - tag.children_tags.map do |tt| = render 'item', :tag => tt, :is_panel => false -# hidden - proc do # nothing - if tag.reports.length > 0 .tag-reports %h5 Reports - tag.reports[0..Tag.n_reports-1].each do |report| = render 'reports/item_mini', :report => report .item-mini.hide %h5= link_to '[More Reports]', tag_path(tag.name_seo) - if tag.galleries.length > 0 %h5 Galleries %ul.tag-galleries - tag.galleries[0..Tag.n_galleries].each do |gallery| %li= link_to gallery.name, gallery_path(gallery.galleryname, 0) - if tag.videos.length > 0 %h5 Videos %ul.tag-videos - tag.videos[0..Tag.n_videos].each do |video| %li= link_to video.name, video_path(video.youtube_id)
Version data entries
4 entries across 4 versions & 1 rubygems