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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
3cf7abcd
Commit
3cf7abcd
authored
Apr 13, 2021
by
Yogi
Committed by
Kushal Pandya
Apr 13, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Link to revision in the version on admin dashboard
parent
ca02d83c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
3 deletions
+7
-3
app/views/admin/dashboard/index.html.haml
app/views/admin/dashboard/index.html.haml
+1
-2
changelogs/unreleased/link-to-version.yml
changelogs/unreleased/link-to-version.yml
+5
-0
spec/views/admin/dashboard/index.html.haml_spec.rb
spec/views/admin/dashboard/index.html.haml_spec.rb
+1
-1
No files found.
app/views/admin/dashboard/index.html.haml
View file @
3cf7abcd
...
...
@@ -119,8 +119,7 @@
%p
=
link_to
_
(
'GitLab'
),
general_admin_application_settings_path
%span
.float-right
=
Gitlab
::
VERSION
=
"(
#{
Gitlab
.
revision
}
)"
=
link_to_version
%p
=
_
(
'GitLab Shell'
)
%span
.float-right
...
...
changelogs/unreleased/link-to-version.yml
0 → 100644
View file @
3cf7abcd
---
title
:
Link to revision in version on admin dashboard
merge_request
:
58225
author
:
Yogi (@yo)
type
:
changed
spec/views/admin/dashboard/index.html.haml_spec.rb
View file @
3cf7abcd
...
...
@@ -29,7 +29,7 @@ RSpec.describe 'admin/dashboard/index.html.haml' do
it
"includes revision of GitLab"
do
render
expect
(
rendered
).
to
have_content
"
#{
Gitlab
::
VERSION
}
(
#{
Gitlab
.
revision
}
)
"
expect
(
rendered
).
to
have_content
"
#{
Gitlab
::
VERSION
}
#{
Gitlab
.
revision
}
"
end
it
'does not include license breakdown'
do
...
...
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