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:
authorBob Van Landuyt <bob@vanlanduyt.co>2018-10-01 16:59:44 +0300
committerBob Van Landuyt <bob@vanlanduyt.co>2018-10-02 17:11:32 +0300
commitb09e40624b9fc6a7b4a7b38f174bc66d996e3fd5 (patch)
tree5bbe4e8da4966bbdbc30e6ab7bcfa50caff1c29b /app/views/help
parentdf73116f75d4a7545fb4a7684aa76624efede7d0 (diff)
Show the commit-sha for pre-release versions
The pre-release tags are set at the beginning of a release, so it would be impossible to figure out which version was running if we're running nightlies. In that case it's better to still link to the SHA. These versions don't get deployed to .com.
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 198c2d35b29..dfa5d820ce9 100644
--- a/app/views/help/index.html.haml
+++ b/app/views/help/index.html.haml
@@ -7,7 +7,7 @@
GitLab
Community Edition
- if user_signed_in?
- %span= link_to Gitlab::VERSION, Gitlab::COM_URL + namespace_project_tag_path('gitlab-org', 'gitlab-ce', "v#{Gitlab::VERSION}")
+ %span= link_to_version
= version_status_badge
%hr