Commit f6655dc3 authored by Brett Walker's avatar Brett Walker Committed by Annabel Dunstone Gray

added link from admin Dashboard "Geo" feature/component

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