From: Jozef Zigmund <jzigmund(a)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