Commit 00ec40e0 authored by Gabriel Mazetto's avatar Gabriel Mazetto

Display Geo relevant information in admin dashboard.

parent 4f2b552b
...@@ -63,6 +63,10 @@ ...@@ -63,6 +63,10 @@
Elasticsearch Elasticsearch
%span.light.pull-right %span.light.pull-right
= boolean_to_icon Gitlab.config.elasticsearch.enabled = boolean_to_icon Gitlab.config.elasticsearch.enabled
%p
Geo
%span.light.pull-right
= boolean_to_icon Gitlab::Geo.enabled?
.col-md-4 .col-md-4
%h4 %h4
Components Components
...@@ -83,6 +87,12 @@ ...@@ -83,6 +87,12 @@
GitLab API GitLab API
%span.pull-right %span.pull-right
= API::API::version = API::API::version
- if Gitlab::Geo.enabled?
%p
Geo
%span.pull-right
= Gitlab::Geo.current_node.primary ? 'Primary node' : 'Secondary node'
%p %p
Git Git
%span.pull-right %span.pull-right
...@@ -101,6 +111,7 @@ ...@@ -101,6 +111,7 @@
= Gitlab::Database.adapter_name = Gitlab::Database.adapter_name
%span.pull-right %span.pull-right
= Gitlab::Database.version = Gitlab::Database.version
%hr %hr
.row .row
.col-sm-4 .col-sm-4
......
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