Commit 5e1c986b authored by Filipa Lacerda's avatar Filipa Lacerda

Adds Build column to environments list

parent 2f01392d
......@@ -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
......
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