mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-15 19:31:42 +00:00
18 lines
434 B
Plaintext
18 lines
434 B
Plaintext
|
- content_for :page_title do
|
||
|
= t('admin.roles.title')
|
||
|
|
||
|
- content_for :heading_actions do
|
||
|
= link_to t('admin.roles.add_new'), new_admin_role_path, class: 'button' if can?(:create, :user_role)
|
||
|
|
||
|
%p= t('admin.roles.description_html')
|
||
|
|
||
|
%hr.spacer/
|
||
|
|
||
|
.applications-list
|
||
|
= render partial: 'role', collection: @roles.select(&:everyone?)
|
||
|
|
||
|
%hr.spacer/
|
||
|
|
||
|
.applications-list
|
||
|
= render partial: 'role', collection: @roles.reject(&:everyone?)
|