gearheads
/
mastodon
Archived
2
0
Fork 0
This repository has been archived on 2024-06-09. You can view files and clone it, but cannot push or open issues/pull-requests.
mastodon/app/views/admin/roles/index.html.haml

18 lines
434 B
Plaintext
Raw Normal View History

- 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?)