Commit 3cf7abcd authored by Yogi's avatar Yogi Committed by Kushal Pandya

Link to revision in the version on admin dashboard

parent ca02d83c
......@@ -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
......
---
title: Link to revision in version on admin dashboard
merge_request: 58225
author: Yogi (@yo)
type: changed
......@@ -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
......
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