diff options
author | Jacob Schatz <jschatz1@gmail.com> | 2017-10-27 15:34:21 -0400 |
---|---|---|
committer | Jacob Schatz <jschatz1@gmail.com> | 2017-10-27 15:34:21 -0400 |
commit | cb7da115bf056afdb5981e59aade67bdbf5465d5 (patch) | |
tree | 859af095c359150b58399b36c1ce01fc70dcbff6 | |
parent | 2bffa99e468e55b2ae28cbd0227efc09679321fa (diff) | |
download | gitlab-ce-cb7da115bf056afdb5981e59aade67bdbf5465d5.tar.gz |
user show refactor buttons.
-rw-r--r-- | app/views/users/show.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/users/show.html.haml b/app/views/users/show.html.haml index 780655d08e7..49f07840853 100644 --- a/app/views/users/show.html.haml +++ b/app/views/users/show.html.haml @@ -26,10 +26,10 @@ = link_to new_abuse_report_path(user_id: @user.id, ref_url: request.referrer), class: 'btn btn-default', title: 'Report abuse', data: { toggle: 'tooltip', placement: 'bottom', container: 'body' } do = icon('exclamation-circle') - = link_to user_path(@user, rss_url_options), class: 'btn btn-gray has-tooltip', title: 'Subscribe', 'aria-label': 'Subscribe' do + = link_to user_path(@user, rss_url_options), class: 'btn btn-default has-tooltip', title: 'Subscribe', 'aria-label': 'Subscribe' do = icon('rss') - if current_user && current_user.admin? - = link_to [:admin, @user], class: 'btn btn-gray', title: 'View user in admin area', + = link_to [:admin, @user], class: 'btn btn-default', title: 'View user in admin area', data: {toggle: 'tooltip', placement: 'bottom', container: 'body'} do = icon('users') |