BigW Consortium Gitlab

Commit 5e1c986b by Filipa Lacerda

Adds Build column to environments list

parent 2f01392d
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
} }
} }
.build-link,
.branch-name { .branch-name {
color: $gl-dark-link-color; color: $gl-dark-link-color;
} }
......
...@@ -10,6 +10,11 @@ ...@@ -10,6 +10,11 @@
= user_avatar(user: last_deployment.user, size: 20) = user_avatar(user: last_deployment.user, size: 20)
%td %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 - if last_deployment
= render 'projects/deployments/commit', deployment: last_deployment = render 'projects/deployments/commit', deployment: last_deployment
- else - else
......
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
%tbody %tbody
%th Environment %th Environment
%th Last Deployment %th Last Deployment
%th Build
%th Commit %th Commit
%th %th
%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