Commit 400e979c authored by Illya Klymov's avatar Illya Klymov Committed by Mike Greiling

Add EE specific feature entries for admin dashboard

parent 140a40eb
- elastic = "Elasticsearch"
%p{ "aria-label" => "#{elastic}: status " + (Gitlab::CurrentSettings.elasticsearch_search? ? "on" : "off") }
= elastic
%span.light.float-right
= boolean_to_icon Gitlab::CurrentSettings.elasticsearch_search?
- geo = link_to 'Geo', admin_geo_nodes_path
%p{ "aria-label" => "#{geo}: status " + (Gitlab::Geo.enabled? ? "on" : "off") }
= geo
%span.light.float-right
= boolean_to_icon Gitlab::Geo.enabled?
= feature_entry(_('Elasticsearch'), href: admin_application_settings_path(anchor: 'js-elasticsearch-settings'), enabled: Gitlab::CurrentSettings.elasticsearch_search?)
= feature_entry(_('Geo'), href: admin_geo_nodes_path, enabled: Gitlab::Geo.enabled?)
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