Sha256: 440dd1dc3aa1db6feacfd0e62d11d8032740e2122a271780692a62de08c932d5
Contents?: true
Size: 1.19 KB
Versions: 15
Compression:
Stored size: 1.19 KB
Contents
- @page_title = "#{link_to "Content", admin_content_path} > Flagged Content" - if @flags.empty? %p.empty No Flagged Content - else %table{:cellpadding => 0, :cellspacing => 0, :summary => "Flagged Content"} %thead %tr %th Url %th Content %th Reason %th Description %th Flagged by %th Flagged at %th Controls %tbody - @flags.each do |flag| %tr %td - unless flag.url.blank? = link_to flag.url , flag.url %td = flag.flaggable_type.demodulize.humanize %td = flag.reason %td = flag.description %td - unless flag.user.blank? = flag.user.full_name %td = date_format flag.created_at %td - if flag.moderation_required != false = link_to "Approve", admin_flagged_contents_moderation_path(flag, :moderation => "approve") = link_to "Disapprove", admin_flagged_contents_moderation_path(flag, :moderation => "disapprove") - else = flag.approved == true ? "Approved" : "Disapproved"
Version data entries
15 entries across 15 versions & 1 rubygems