diff options
author | Pawel Chojnacki <pawel@chojnacki.ws> | 2018-01-04 02:45:57 +0100 |
---|---|---|
committer | Pawel Chojnacki <pawel@chojnacki.ws> | 2018-01-04 02:45:57 +0100 |
commit | 80d4c0675f5715d724be20d47cafa372524e3ed1 (patch) | |
tree | a7eb85470d83f374d2fa013f297fcfeeb0ab135f /app/views | |
parent | 249c9a8cf63b5b36b86499720804a5180e640537 (diff) | |
download | gitlab-ce-80d4c0675f5715d724be20d47cafa372524e3ed1.tar.gz |
Add test checking if prometheus integration is enabled after prometheus is installed
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/projects/services/prometheus/_help.html.haml | 10 |
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 + |