Commit eac8ad6a authored by Mike Greiling's avatar Mike Greiling

add i8n to the Prometheus integration settings page

parent 47f2754a
%h4 %h4
Auto configuration = s_('PrometheusService|Auto configuration')
- unless @service.manual_configuration? - unless @service.manual_configuration?
.container-fluid .container-fluid
...@@ -10,24 +10,24 @@ ...@@ -10,24 +10,24 @@
= image_tag 'illustrations/monitoring/getting_started.svg' = image_tag 'illustrations/monitoring/getting_started.svg'
.col-sm-10 .col-sm-10
%p.text-success.prepend-top-default %p.text-success.prepend-top-default
Prometheus is being automatically managed on your clusters = s_('PrometheusService|Prometheus is being automatically managed on your clusters')
= link_to 'Manage clusters', project_clusters_path(@project), class: 'btn' = link_to s_('PrometheusService|Manage clusters'), project_clusters_path(@project), class: 'btn'
- else - else
.col-sm-2 .col-sm-2
= image_tag 'illustrations/monitoring/loading.svg' = image_tag 'illustrations/monitoring/loading.svg'
.col-sm-10 .col-sm-10
%p.prepend-top-default %p.prepend-top-default
Automatically deploy and configure Prometheus on your clusters to monitor your project’s environments = s_('PrometheusService|Automatically deploy and configure Prometheus on your clusters to monitor your project’s environments')
= link_to 'Install Prometheus on clusters', project_clusters_path(@project), class: 'btn btn-success' = link_to s_('PrometheusService|Install Prometheus on clusters'), project_clusters_path(@project), class: 'btn btn-success'
- else - else
.well .well
To enable the installation of Prometheus on your clusters, deactivate the manual configuration below = s_('PrometheusService|To enable the installation of Prometheus on your clusters, deactivate the manual configuration below')
%hr %hr
%h4.append-bottom-default %h4.append-bottom-default
Manual configuration = s_('PrometheusService|Manual configuration')
- unless @service.editable? - unless @service.editable?
.well .well
To enable manual configuration, uninstall Prometheus from your clusters = s_('PrometheusService|To enable manual configuration, uninstall Prometheus from your clusters')
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