app/views/decidim/admin/moderations/reports/index.html.erb in decidim-admin-0.26.10 vs app/views/decidim/admin/moderations/reports/index.html.erb in decidim-admin-0.27.0.rc1

- old
+ new

@@ -10,14 +10,10 @@ <%= icon "info" %> <span class="callout-text"><%= t(".callout_html", icon: icon("flag")) %></span> </div> <dl> <dt><%= t("models.moderation.fields.reported_content_url", scope: "decidim.moderations") %></dt> - <% if (reportable_url = moderation.reportable.reported_content_url) %> - <dd><%= link_to moderation.reportable.reported_content_url, reportable_url, target: "_blank" %></dd> - <% else %> - <dd><%= t("models.moderation.fields.deleted_resource", scope: "decidim.moderations") %></dd> - <% end %> + <dd><%= link_to moderation.reportable.reported_content_url, moderation.reportable.reported_content_url, target: "_blank" %></dd> <dt><%= t("models.moderation.fields.reportable_id", scope: "decidim.moderations") %></dt> <dd><%= moderation.reportable.id %></dd> <% if translatable_resource?(moderation.reportable) %>