summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Tsiolis <tsiolis.g@gmail.com>2018-09-27 23:53:01 +0300
committerGeorge Tsiolis <tsiolis.g@gmail.com>2018-10-06 01:47:25 +0300
commitef6f2b28237c76a75bd0903f11d88c5283411e3a (patch)
tree944f86b980348f5dd5b3dd27f1468fb1fd81582d
parent970cdfdd6124f03f4a65d0f4378e83b5bcdb471d (diff)
downloadgitlab-ce-ef6f2b28237c76a75bd0903f11d88c5283411e3a.tar.gz
Update operations metrics empty state
-rw-r--r--app/views/projects/environments/empty.html.haml18
-rw-r--r--changelogs/unreleased/update-operations-metrics-empty-state.yml5
2 files changed, 14 insertions, 9 deletions
diff --git a/app/views/projects/environments/empty.html.haml b/app/views/projects/environments/empty.html.haml
index 1413930ebdb..129dbbf4e56 100644
--- a/app/views/projects/environments/empty.html.haml
+++ b/app/views/projects/environments/empty.html.haml
@@ -1,14 +1,14 @@
- page_title _("Metrics")
-.row
+.row.empty-state
.col-sm-12
.svg-content
= image_tag 'illustrations/operations_metrics_empty.svg'
-.row.empty-environments
- .col-sm-12.text-center
- %h4
- = s_('Metrics|No deployed environments')
- .state-description
- = s_('Metrics|Check out the CI/CD documentation on deploying to an environment')
- .prepend-top-10
- = link_to s_("Metrics|Learn about environments"), help_page_path('ci/environments'), class: 'btn btn-success'
+ .col-12
+ .text-content
+ %h4.text-center
+ = s_('Metrics|No deployed environments')
+ %p.state-description
+ = s_('Metrics|Check out the CI/CD documentation on deploying to an environment')
+ .text-center
+ = link_to s_("Metrics|Learn about environments"), help_page_path('ci/environments'), class: 'btn btn-success'
diff --git a/changelogs/unreleased/update-operations-metrics-empty-state.yml b/changelogs/unreleased/update-operations-metrics-empty-state.yml
new file mode 100644
index 00000000000..51f3935b769
--- /dev/null
+++ b/changelogs/unreleased/update-operations-metrics-empty-state.yml
@@ -0,0 +1,5 @@
+---
+title: Update operations metrics empty state
+merge_request: 21974
+author: George Tsiolis
+type: other