mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2024-12-30 22:23:43 +01:00
44b2ee3485
* Add customizable user roles * Various fixes and improvements * Add migration for old settings and fix tootctl role management
17 lines
434 B
Text
17 lines
434 B
Text
- 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?)
|