From 5a41704f8926d9594c66028ca30dc1fc0f98da3d Mon Sep 17 00:00:00 2001 From: Thibaut Girka Date: Wed, 28 Oct 2020 23:49:00 +0100 Subject: Fix IP blocks in admin panel It was broken due to discrepancies between upstream and glitch-soc's theming system. --- app/views/admin/ip_blocks/index.html.haml | 3 --- 1 file changed, 3 deletions(-) (limited to 'app/views/admin') diff --git a/app/views/admin/ip_blocks/index.html.haml b/app/views/admin/ip_blocks/index.html.haml index a282a4cfe..00593840c 100644 --- a/app/views/admin/ip_blocks/index.html.haml +++ b/app/views/admin/ip_blocks/index.html.haml @@ -1,9 +1,6 @@ - content_for :page_title do = t('admin.ip_blocks.title') -- content_for :header_tags do - = javascript_pack_tag 'admin', integrity: true, async: true, crossorigin: 'anonymous' - - if can?(:create, :ip_block) - content_for :heading_actions do = link_to t('admin.ip_blocks.add_new'), new_admin_ip_block_path, class: 'button' -- cgit