update modal
This commit is contained in:
parent
26cd72ba2e
commit
66607a1eae
|
@ -31,7 +31,7 @@
|
|||
- if current_user.mod?
|
||||
%li
|
||||
%a{href: '#', data: { target: "#modal-privileges", toggle: :modal }}
|
||||
%i.fa.fa-paw
|
||||
%i.fa.fa-wrench
|
||||
Check
|
||||
= succeed "'s" do
|
||||
= user.screen_name
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
= render 'user/modal_privileges_item', privilege: 'banned', description: 'Hit the user with ye olde banhammer', user: @user
|
||||
= render 'user/modal_privileges_item', privilege: 'blogger', description: 'The user gets that privilege if they blogged something (nice) about Retrospring.', user: @user
|
||||
- if current_user.admin?
|
||||
= render 'user/modal_privileges_item', privilege: 'supporter', description: 'This user supports the site with money', user: @user
|
||||
= render 'user/modal_privileges_item', privilege: 'supporter', description: 'This user monetarily supports the site', user: @user
|
||||
= render 'user/modal_privileges_item', privilege: 'moderator', description: 'Someone trustworthy enough to help managing reports',user: @user
|
||||
= render 'user/modal_privileges_item', privilege: 'admin', description: 'This user is part of the core team', user: @user
|
||||
.modal-footer
|
||||
|
|
Loading…
Reference in New Issue