Merge branch '36953-add-gitLab-pages-version-to-admin-dashboard' into 'master'
Add GitLab-Pages version to Admin Dashboard Closes #36953 See merge request !14040
This commit is contained in:
commit
c36eeffbe8
|
@ -111,6 +111,11 @@
|
|||
GitLab API
|
||||
%span.pull-right
|
||||
= API::API::version
|
||||
- if Gitlab.config.pages.enabled
|
||||
%p
|
||||
GitLab Pages
|
||||
%span.pull-right
|
||||
= Gitlab::Pages::VERSION
|
||||
%p
|
||||
Git
|
||||
%span.pull-right
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
title: Add GitLab-Pages version to Admin Dashboard
|
||||
merge_request: 14040
|
||||
author: @travismiller
|
||||
type: added
|
|
@ -0,0 +1,5 @@
|
|||
module Gitlab
|
||||
module Pages
|
||||
VERSION = File.read(Rails.root.join("GITLAB_PAGES_VERSION")).strip.freeze
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue