Start adding environment info
This commit is contained in:
parent
a0d5bb0bb8
commit
52c06647b5
2 changed files with 14 additions and 0 deletions
|
@ -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 @@
|
||||||
= 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
|
||||||
|
|
Loading…
Reference in a new issue