Adds Build column to environments list
This commit is contained in:
parent
2f01392d22
commit
5e1c986b7d
3 changed files with 7 additions and 0 deletions
|
@ -26,6 +26,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
.build-link,
|
||||
.branch-name {
|
||||
color: $gl-dark-link-color;
|
||||
}
|
||||
|
|
|
@ -9,6 +9,11 @@
|
|||
%span ##{last_deployment.iid} by
|
||||
= user_avatar(user: last_deployment.user, size: 20)
|
||||
|
||||
%td
|
||||
- if last_deployment && last_deployment.deployable
|
||||
= link_to [@project.namespace.becomes(Namespace), @project, last_deployment.deployable], class: 'build-link' do
|
||||
= "#{last_deployment.deployable.name} (##{last_deployment.deployable.id})"
|
||||
|
||||
%td
|
||||
- if last_deployment
|
||||
= render 'projects/deployments/commit', deployment: last_deployment
|
||||
|
|
|
@ -27,6 +27,7 @@
|
|||
%tbody
|
||||
%th Environment
|
||||
%th Last Deployment
|
||||
%th Build
|
||||
%th Commit
|
||||
%th
|
||||
%th
|
||||
|
|
Loading…
Reference in a new issue