Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-09-24 00:18:15 +0300
committerRobert Speicher <rspeicher@gmail.com>2015-09-24 00:18:15 +0300
commit45824aabc634e06d9f7dd853e573c153b7bf9a78 (patch)
treead3e3c754a7c3d637487ffca277f35216ea1b473 /app/views/help
parentbe142e6bd687d223dd4a543295d18676f408b7e3 (diff)
Allow non-admin users to see version information
We want users to know what features they have available (and to pressure their admins to upgrade).
Diffstat (limited to 'app/views/help')
-rw-r--r--app/views/help/index.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/help/index.html.haml b/app/views/help/index.html.haml
index 2333e6fdf1d..57bc91ea5a9 100644
--- a/app/views/help/index.html.haml
+++ b/app/views/help/index.html.haml
@@ -2,7 +2,7 @@
%h1
GitLab
Community Edition
- - if current_user && current_user.admin?
+ - if user_signed_in?
%span= Gitlab::VERSION
%small= Gitlab::REVISION
= version_status_badge