Commit 52c06647 authored by Annabel Dunstone Gray's avatar Annabel Dunstone Gray

Start adding environment info

parent a0d5bb0b
...@@ -40,6 +40,13 @@ ...@@ -40,6 +40,13 @@
margin-bottom: 10px; margin-bottom: 10px;
} }
} }
.environment-information {
background-color: $background-color;
border: 1px solid $border-color;
padding: 12px $gl-padding;
border-radius: $border-radius-default;
}
} }
.build-header { .build-header {
......
...@@ -26,6 +26,13 @@ ...@@ -26,6 +26,13 @@
= link_to namespace_project_runners_path(@build.project.namespace, @build.project) do = link_to namespace_project_runners_path(@build.project.namespace, @build.project) do
Runners page Runners page
- if @build.stage == 'deploy'
.prepend-top-default
.environment-information
= ci_icon_for_status(@build.status)
This build is the most recent deployment to
= link_to @build.environment, namespace_project_environment_path(@project.namespace, @project, @build.environment)
.prepend-top-default .prepend-top-default
- if @build.erased? - if @build.erased?
.erased.alert.alert-warning .erased.alert.alert-warning
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment