From 66607a1eae6377a559a6f85a95bad675c5a6960f Mon Sep 17 00:00:00 2001 From: Andreas N Date: Tue, 3 Feb 2015 18:22:01 +0100 Subject: [PATCH] update modal --- app/views/user/_actions.html.haml | 2 +- app/views/user/_modal_privileges.html.haml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/user/_actions.html.haml b/app/views/user/_actions.html.haml index 99114397..6ed47740 100644 --- a/app/views/user/_actions.html.haml +++ b/app/views/user/_actions.html.haml @@ -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 diff --git a/app/views/user/_modal_privileges.html.haml b/app/views/user/_modal_privileges.html.haml index 561a1fd9..9e1a041b 100644 --- a/app/views/user/_modal_privileges.html.haml +++ b/app/views/user/_modal_privileges.html.haml @@ -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