Only surface version information on help index to admins

Closes #2721
This commit is contained in:
Robert Speicher 2015-09-23 16:01:35 -04:00
parent fd6b5099fb
commit ebcd503e93

View file

@ -1,6 +1,7 @@
%div
%h1
GitLab
- if current_user && current_user.admin?
%span= Gitlab::VERSION
%small= Gitlab::REVISION
- if current_application_settings.version_check_enabled