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
88568317
Commit
88568317
authored
7 years ago
by
Travis Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add GitLab-Pages version to Admin Dashboard
parent
b39d0c31
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
0 deletions
+15
-0
app/views/admin/dashboard/index.html.haml
app/views/admin/dashboard/index.html.haml
+5
-0
changelogs/unreleased/36953-add-gitLab-pages-version-to-admin-dashboard.yml
...sed/36953-add-gitLab-pages-version-to-admin-dashboard.yml
+5
-0
lib/gitlab/pages.rb
lib/gitlab/pages.rb
+5
-0
No files found.
app/views/admin/dashboard/index.html.haml
View file @
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
...
...
This diff is collapsed.
Click to expand it.
changelogs/unreleased/36953-add-gitLab-pages-version-to-admin-dashboard.yml
0 → 100644
View file @
88568317
---
title
:
Add GitLab-Pages version to Admin Dashboard
merge_request
:
14040
author
:
@
travismiller
type
:
added
This diff is collapsed.
Click to expand it.
lib/gitlab/pages.rb
0 → 100644
View file @
88568317
module
Gitlab
module
Pages
VERSION
=
File
.
read
(
Rails
.
root
.
join
(
"GITLAB_PAGES_VERSION"
)).
strip
.
freeze
end
end
This diff is collapsed.
Click to expand it.
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