update modal

This commit is contained in:
Andreas N 2015-02-03 18:22:01 +01:00
parent 26cd72ba2e
commit 66607a1eae
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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