From 23a4adaa91d37d9264576d148b834e744729530f Mon Sep 17 00:00:00 2001 From: Anton Khorev Date: Mon, 8 Apr 2024 13:26:38 +0300 Subject: [PATCH] Add block tab to show block pages --- app/views/user_blocks/_navigation.html.erb | 7 +++++++ config/locales/en.yml | 1 + 2 files changed, 8 insertions(+) diff --git a/app/views/user_blocks/_navigation.html.erb b/app/views/user_blocks/_navigation.html.erb index a84ba1339..f53f5cf28 100644 --- a/app/views/user_blocks/_navigation.html.erb +++ b/app/views/user_blocks/_navigation.html.erb @@ -34,4 +34,11 @@ :class => ["nav-link", { :active => action_name == "blocks_by" }] %> <% end %> + <% if @user_block %> + + <% end %> diff --git a/config/locales/en.yml b/config/locales/en.yml index 0634fc2a0..f9117ca1c 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -2991,6 +2991,7 @@ en: blocks_on_user: "Blocks on %{user}" blocks_by_me: "Blocks by Me" blocks_by_user: "Blocks by %{user}" + block: "Block #%{id}" user_mutes: index: title: "Muted Users" -- 2.39.5