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
3 changed files with 15 additions and 0 deletions
|
@ -111,6 +111,11 @@
|
||||||
GitLab API
|
GitLab API
|
||||||
%span.pull-right
|
%span.pull-right
|
||||||
= API::API::version
|
= API::API::version
|
||||||
|
- if Gitlab.config.pages.enabled
|
||||||
|
%p
|
||||||
|
GitLab Pages
|
||||||
|
%span.pull-right
|
||||||
|
= Gitlab::Pages::VERSION
|
||||||
%p
|
%p
|
||||||
Git
|
Git
|
||||||
%span.pull-right
|
%span.pull-right
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
title: Add GitLab-Pages version to Admin Dashboard
|
||||||
|
merge_request: 14040
|
||||||
|
author: @travismiller
|
||||||
|
type: added
|
5
lib/gitlab/pages.rb
Normal file
5
lib/gitlab/pages.rb
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
module Gitlab
|
||||||
|
module Pages
|
||||||
|
VERSION = File.read(Rails.root.join("GITLAB_PAGES_VERSION")).strip.freeze
|
||||||
|
end
|
||||||
|
end
|
Loading…
Reference in a new issue