From 6211747ec474fdac72feb988028af8f394a51ec0 Mon Sep 17 00:00:00 2001 From: Andreas Nedbal Date: Tue, 27 Feb 2024 22:22:29 +0100 Subject: [PATCH] Remove report filtering navigation entries --- app/views/tabs/_moderation.html.haml | 9 +-------- config/locales/views.en.yml | 6 +----- 2 files changed, 2 insertions(+), 13 deletions(-) diff --git a/app/views/tabs/_moderation.html.haml b/app/views/tabs/_moderation.html.haml index bc4b481c..b24dfbbe 100644 --- a/app/views/tabs/_moderation.html.haml +++ b/app/views/tabs/_moderation.html.haml @@ -1,13 +1,6 @@ .card .list-group - = list_group_item t(".all"), moderation_reports_path - = list_group_item t(".answers"), moderation_reports_path("answer") - = list_group_item t(".comments"), moderation_reports_path("comment") - = list_group_item t(".users"), moderation_reports_path("user") - = list_group_item t(".questions"), moderation_reports_path("question") - -.card - .list-group + = list_group_item t(".reports"), moderation_reports_path = list_group_item t(".site_wide_blocks"), mod_anon_block_index_path .d-none.d-sm-block= render "shared/links" diff --git a/config/locales/views.en.yml b/config/locales/views.en.yml index a5afc27c..94cdab2e 100644 --- a/config/locales/views.en.yml +++ b/config/locales/views.en.yml @@ -644,11 +644,7 @@ en: title: "Members" none: "No members yet." moderation: - all: "All reports" - answers: :activerecord.models.answer.other - comments: :activerecord.models.comment.other - users: :activerecord.models.user.other - questions: :activerecord.models.question.other + reports: "Reports" site_wide_blocks: "Site-wide anonymous blocks" notifications: all: "All notifications"