Sha256: 6612d193f004c84e1404c8a22346afef5e963a15fed91d9f9fc1459d39ca0c56
Contents?: true
Size: 716 Bytes
Versions: 11
Compression:
Stored size: 716 Bytes
Contents
- if Radiant::Config['forum.allow_attachments?'] && !post.frozen? && post.attachments.any? .post_attachments %h4 = t('forum_extension.attached') + ':' - post.attachments.images.each do |att| - display_size = Radiant::Config['forum.image_zoom_size'] || :original = link_to image_tag(post_attachment_url(att, :size => :thumbnail)), post_attachment_url(att, :size => display_size), :class => :thumbnail, :rel => post_attachment_url(att, :size => :original) - if post.attachments.non_images.any? %ul.attachments - post.attachments.non_images.each do |att| %li = link_to att.filename, post_attachment_url(att), :class => "attachment #{att.extension}"
Version data entries
11 entries across 11 versions & 1 rubygems