Add Gitaly version to Admin Dashboard

Displays the Gitaly version in the admin dashboard.
This commit is contained in:
Jacopo 2017-09-15 17:58:18 +02:00
parent 2203e8fc35
commit e9771e6842
3 changed files with 17 additions and 2 deletions

View File

@ -0,0 +1,6 @@
.info-well {
.admin-well-statistics,
.admin-well-features {
padding-bottom: 46px;
}
}

View File

@ -7,7 +7,7 @@
.row
.col-md-4
.info-well
.well-segment.admin-well
.well-segment.admin-well.admin-well-statistics
%h4 Statistics
%p
Forks
@ -43,7 +43,7 @@
= number_with_delimiter(User.active.count)
.col-md-4
.info-well
.well-segment.admin-well
.well-segment.admin-well.admin-well-features
%h4 Features
- sign_up = "Sign up"
%p{ "aria-label" => "#{sign_up}: status " + (signup_enabled? ? "on" : "off") }
@ -111,6 +111,10 @@
GitLab API
%span.pull-right
= API::API::version
%p
Gitaly
%span.pull-right
= Gitlab::GitalyClient.expected_server_version
- if Gitlab.config.pages.enabled
%p
GitLab Pages

View File

@ -0,0 +1,5 @@
---
title: Add Gitaly version to Admin Dashboard
merge_request: 14313
author: Jacopo Beschi @jacopo-beschi
type: added