summaryrefslogtreecommitdiff
path: root/app/views/projects/services/prometheus/_help.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/services/prometheus/_help.html.haml')
-rw-r--r--app/views/projects/services/prometheus/_help.html.haml10
1 files changed, 10 insertions, 0 deletions
diff --git a/app/views/projects/services/prometheus/_help.html.haml b/app/views/projects/services/prometheus/_help.html.haml
new file mode 100644
index 00000000000..96a194b212e
--- /dev/null
+++ b/app/views/projects/services/prometheus/_help.html.haml
@@ -0,0 +1,10 @@
+.row.prepend-top-default.append-bottom-default
+ %p
+ - unless @service.manual_configuration?
+ - if @service.prometheus_installed?
+ = link_to 'Manage installed Prometheus', project_clusters_path(@project), class: 'btn btn-cancel'
+ - else
+ = link_to 'Install Prometheus', project_clusters_path(@project), class: 'btn btn-cancel'
+ - else
+ To automatically install prometheus disable manual configuration
+