diff options
author | Jose <jvargas@gitlab.com> | 2018-06-23 00:45:01 +0300 |
---|---|---|
committer | Jose <jvargas@gitlab.com> | 2018-06-27 07:06:25 +0300 |
commit | 1002f1c37b0b100f052ab58e7ff6bb9f4c063b90 (patch) | |
tree | 79d305b237c7b775feaf1a937f05836cc547b6c3 /app/views/projects/environments | |
parent | 55943872f43798b58009c4248d993cc8cb8d34cc (diff) |
Stylize empty state for when no environments are available
Diffstat (limited to 'app/views/projects/environments')
-rw-r--r-- | app/views/projects/environments/empty.html.haml | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/app/views/projects/environments/empty.html.haml b/app/views/projects/environments/empty.html.haml index fc97afc1eab..34067979d4b 100644 --- a/app/views/projects/environments/empty.html.haml +++ b/app/views/projects/environments/empty.html.haml @@ -1,6 +1,14 @@ - page_title "Metrics" -%h1 - No environments were found - -= link_to "New Environment", new_project_environment_path(@project) +.row + .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 "Learn about environments", help_page_path('ci/environments'), class: 'btn btn-success' |