[PATCH conductor] BZ 795655 "Return to User" is not required to show for non-admin's
jzigmund at redhat.com
jzigmund at redhat.com
Mon Feb 27 17:37:50 UTC 2012
From: Jozef Zigmund <jzigmund at redhat.com>
https://bugzilla.redhat.com/show_bug.cgi?id=795655
---
src/app/views/users/show.html.haml | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/src/app/views/users/show.html.haml b/src/app/views/users/show.html.haml
index 67fa197..a823832 100644
--- a/src/app/views/users/show.html.haml
+++ b/src/app/views/users/show.html.haml
@@ -1,9 +1,10 @@
= render :partial => 'layouts/admin_nav'
%header.admin-page-header
- #obj_actions
- .return_to
- =t'return_to'
- = link_to t('users.users'), users_path
+ - if check_privilege(Privilege::VIEW, User)
+ #obj_actions
+ .return_to
+ =t'return_to'
+ = link_to t('users.users'), users_path
%section.admin-content-section.user
.content
--
1.7.7.6
More information about the aeolus-devel
mailing list