Commit c36eeffb authored by Rémy Coutable's avatar Rémy Coutable

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
parents 2602cc0c 88568317
...@@ -111,6 +111,11 @@ ...@@ -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
......
---
title: Add GitLab-Pages version to Admin Dashboard
merge_request: 14040
author: @travismiller
type: added
module Gitlab
module Pages
VERSION = File.read(Rails.root.join("GITLAB_PAGES_VERSION")).strip.freeze
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment