Commit 4ed92b24 authored by Annabel Dunstone Gray's avatar Annabel Dunstone Gray

Merge branch '4149-link-to-geo-nodes-admin-panel' into 'master'

added link from admin Dashboard "Geo" feature/component

See merge request gitlab-org/gitlab-ee!3795
parents d6b842fa f6655dc3
......@@ -78,7 +78,7 @@
= elastic
%span.light.pull-right
= boolean_to_icon current_application_settings.elasticsearch_search?
- geo = "Geo"
- geo = link_to 'Geo', admin_geo_nodes_path
%p{ "aria-label" => "#{geo}: status " + (Gitlab::Geo.enabled? ? "on" : "off") }
= geo
%span.light.pull-right
......@@ -137,7 +137,7 @@
- if Gitlab::Geo.enabled?
%p
Geo
= link_to 'Geo', admin_geo_nodes_path
%span.pull-right
- if Gitlab::Geo.current_node
= Gitlab::Geo.current_node.primary ? 'Primary node' : 'Secondary node'
......
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