Sha256: b90ecb1d0742c9ee1c77b408e43e35ca00a4d7750a38b6dbd597b5bb30dee413
Contents?: true
Size: 1.51 KB
Versions: 1
Compression:
Stored size: 1.51 KB
Contents
<p><%= t(".hello", name: @user.name) %></p> <p> <%= t(".report_html", { url: reported_content_url }) %> </p> <br> <p><b><%= t(".date") %></b></p> <p><%= l @report.created_at, format: :short %></p> <p><b><%= t(".participatory_space") %></b></p> <p><%= translated_attribute @participatory_space.title %></p> <p><b><%= t(".reason") %></b></p> <p><%= t(@report.reason, organization_name: @participatory_space.organization.name, scope: "decidim.shared.flag_modal") %></p> <% if @report.details.present? %> <p><b><%= t(".details") %></b></p> <blockquote> <%= @report.details %> </blockquote> <% end %> <% if @content.present? %> <p><b><%= t(".content") %></b></p> <blockquote> <h5><%= translated_attribute @content[:title] %></h5> <p><%= translated_attribute @content[:body] %></p> </blockquote> <% end %> <% if @author.present? %> <p><b><%= t(".authors") %></b></p> <% if author_profile_url.present? %> <p><%= link_to @author.name, author_profile_url, target: :blank %></p> <% else %> <p> <%= if @author.respond_to?(:name) @author.name elsif @author.respond_to?(:title) translated_attribute(@author.title) end %> </p> <% end %> <% end %> <br> <table class="button radius" style="margin: 16px auto;"> <tr> <td> <table> <tr> <td> <%= link_to t(".manage_moderations"), manage_moderations_url, class: "button", target: "_blank" %> </td> </tr> </table> </td> </tr> </table>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
decidim-core-0.23.6 | app/views/decidim/reported_mailer/report.html.erb |