From: Thibaut Girka Date: Wed, 28 Oct 2020 22:49:00 +0000 (+0100) Subject: Fix IP blocks in admin panel X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=5a41704f8926d9594c66028ca30dc1fc0f98da3d;p=mastodon.git Fix IP blocks in admin panel It was broken due to discrepancies between upstream and glitch-soc's theming system. --- 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'