From 67b6847311871cca6b97330b5289436191296fa0 Mon Sep 17 00:00:00 2001 From: Andreas Nedbal Date: Tue, 19 Jul 2022 21:39:12 +0200 Subject: [PATCH] Remove links to ip action from views --- app/views/moderation/_actions.haml | 2 -- app/views/moderation/_moderationbox.haml | 2 -- 2 files changed, 4 deletions(-) diff --git a/app/views/moderation/_actions.haml b/app/views/moderation/_actions.haml index 9bfeecb4..eac8d11d 100644 --- a/app/views/moderation/_actions.haml +++ b/app/views/moderation/_actions.haml @@ -1,4 +1,2 @@ %a.btn.btn-default.btn-block{ href: moderation_priority_path(user.id) } View reports relating to user -%a.btn.btn-default.btn-block{ href: moderation_ip_path(user.id) } - View users with same IP diff --git a/app/views/moderation/_moderationbox.haml b/app/views/moderation/_moderationbox.haml index 03d09c6b..4d1e5629 100644 --- a/app/views/moderation/_moderationbox.haml +++ b/app/views/moderation/_moderationbox.haml @@ -30,8 +30,6 @@ = t('views.moderation.moderationbox.view', content: t('views.general.user')) %a.btn.btn-primary{ href: moderation_priority_path(report.target.user.id) } Reports - %a.btn.btn-primary{ href: moderation_ip_path(report.target.user.id) } - IP .col-md-4.col-sm-4.col-xs-4.text-right %button.btn.btn-default.btn-sm{ type: :button, name: 'mod-delete-report', data: { id: report.id } } %i.fa.fa-trash-o