mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-27 15:54:32 +00:00
Fix IP blocks in admin panel
It was broken due to discrepancies between upstream and glitch-soc's theming system.
This commit is contained in:
parent
a81bb14abe
commit
5a41704f89
|
@ -1,9 +1,6 @@
|
||||||
- content_for :page_title do
|
- content_for :page_title do
|
||||||
= t('admin.ip_blocks.title')
|
= 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)
|
- if can?(:create, :ip_block)
|
||||||
- content_for :heading_actions do
|
- content_for :heading_actions do
|
||||||
= link_to t('admin.ip_blocks.add_new'), new_admin_ip_block_path, class: 'button'
|
= link_to t('admin.ip_blocks.add_new'), new_admin_ip_block_path, class: 'button'
|
||||||
|
|
Loading…
Reference in a new issue