mirror of
https://github.com/Retrospring/retrospring.git
synced 2024-11-20 16:19:52 +01:00
14 lines
844 B
Text
14 lines
844 B
Text
.modal.fade#modal-privileges{ aria: { hidden: true, labelledby: "modal-privileges-label" }, role: :dialog, tabindex: -1 }
|
|
.modal-dialog
|
|
.modal-content
|
|
.modal-header
|
|
%h5.modal-title#modal-privileges-label
|
|
= t(".title", user: user.screen_name)
|
|
%button.btn-close{ data: { bs_dismiss: :modal }, type: :button }
|
|
%span.visually-hidden= t("voc.close")
|
|
%ul.list-group
|
|
- if current_user.has_cached_role?(:administrator)
|
|
= render "modal/privileges/item", privilege: "moderator", description: t(".role.moderator"), user: user
|
|
= render "modal/privileges/item", privilege: "administrator", description: t(".role.admin"), user: user
|
|
.modal-footer
|
|
%button.btn.btn-primary{ name: "checked-privileges", type: :button, data: { bs_dismiss: :modal } }= t("voc.close")
|