Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
e9771e68
Commit
e9771e68
authored
Sep 15, 2017
by
Jacopo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add Gitaly version to Admin Dashboard
Displays the Gitaly version in the admin dashboard.
parent
2203e8fc
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
2 deletions
+17
-2
app/assets/stylesheets/pages/admin.scss
app/assets/stylesheets/pages/admin.scss
+6
-0
app/views/admin/dashboard/index.html.haml
app/views/admin/dashboard/index.html.haml
+6
-2
changelogs/unreleased/36884-gitaly-admin-version.yml
changelogs/unreleased/36884-gitaly-admin-version.yml
+5
-0
No files found.
app/assets/stylesheets/pages/admin.scss
0 → 100644
View file @
e9771e68
.info-well
{
.admin-well-statistics
,
.admin-well-features
{
padding-bottom
:
46px
;
}
}
app/views/admin/dashboard/index.html.haml
View file @
e9771e68
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
.row
.row
.col-md-4
.col-md-4
.info-well
.info-well
.well-segment.admin-well
.well-segment.admin-well
.admin-well-statistics
%h4
Statistics
%h4
Statistics
%p
%p
Forks
Forks
...
@@ -43,7 +43,7 @@
...
@@ -43,7 +43,7 @@
=
number_with_delimiter
(
User
.
active
.
count
)
=
number_with_delimiter
(
User
.
active
.
count
)
.col-md-4
.col-md-4
.info-well
.info-well
.well-segment.admin-well
.well-segment.admin-well
.admin-well-features
%h4
Features
%h4
Features
-
sign_up
=
"Sign up"
-
sign_up
=
"Sign up"
%p
{
"aria-label"
=>
"#{sign_up}: status "
+
(
signup_enabled?
?
"on"
:
"off"
)
}
%p
{
"aria-label"
=>
"#{sign_up}: status "
+
(
signup_enabled?
?
"on"
:
"off"
)
}
...
@@ -111,6 +111,10 @@
...
@@ -111,6 +111,10 @@
GitLab API
GitLab API
%span
.pull-right
%span
.pull-right
=
API
::
API
::
version
=
API
::
API
::
version
%p
Gitaly
%span
.pull-right
=
Gitlab
::
GitalyClient
.
expected_server_version
-
if
Gitlab
.
config
.
pages
.
enabled
-
if
Gitlab
.
config
.
pages
.
enabled
%p
%p
GitLab Pages
GitLab Pages
...
...
changelogs/unreleased/36884-gitaly-admin-version.yml
0 → 100644
View file @
e9771e68
---
title
:
Add Gitaly version to Admin Dashboard
merge_request
:
14313
author
:
Jacopo Beschi @jacopo-beschi
type
:
added
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment