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,10 +1,11 @@
%div
%h1
GitLab
%span= Gitlab::VERSION
%small= Gitlab::REVISION
- if current_application_settings.version_check_enabled
= version_status_badge
- if current_user && current_user.admin?
%span= Gitlab::VERSION
%small= Gitlab::REVISION
- if current_application_settings.version_check_enabled
= version_status_badge
%p.slead
GitLab is open source software to collaborate on code.
%br