diff options
author | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2017-11-21 17:07:57 +0000 |
---|---|---|
committer | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2017-11-21 17:07:57 +0000 |
commit | 4ebe69600fd7ae9da6fb419d76dd5267d9c3b8ca (patch) | |
tree | a20f680cdb52a358cbdcf1cf9889c5a770112c93 /app/views | |
parent | 1b3197f0779bf41b159c381992e6382d3547dc8d (diff) | |
parent | 0ae8dc9d60de162ffb6fcb3193f613ee7e7d2ac8 (diff) | |
download | gitlab-ce-4ebe69600fd7ae9da6fb419d76dd5267d9c3b8ca.tar.gz |
Merge branch '40377-blank-states' into 'master'
Fix blank states using old css
Closes #40377
See merge request gitlab-org/gitlab-ce!15521
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/projects/environments/show.html.haml | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/app/views/projects/environments/show.html.haml b/app/views/projects/environments/show.html.haml index d7859c9fbeb..add394a6356 100644 --- a/app/views/projects/environments/show.html.haml +++ b/app/views/projects/environments/show.html.haml @@ -19,14 +19,15 @@ .environments-container - if @deployments.blank? - .blank-state.blank-state-no-icon - %h2.blank-state-title - You don't have any deployments right now. - %p.blank-state-text - Define environments in the deploy stage(s) in - %code .gitlab-ci.yml - to track deployments here. - = link_to "Read more", help_page_path("ci/environments"), class: "btn btn-success" + .blank-state-row + .blank-state-center + %h2.blank-state-title + You don't have any deployments right now. + %p.blank-state-text + Define environments in the deploy stage(s) in + %code .gitlab-ci.yml + to track deployments here. + = link_to "Read more", help_page_path("ci/environments"), class: "btn btn-success" - else .table-holder .ci-table.environments{ role: 'grid' } |