2016-06-10 17:36:54 -04:00
|
|
|
%tr.deployment
|
|
|
|
%td
|
2017-01-24 13:25:16 -05:00
|
|
|
%strong ##{deployment.iid}
|
2016-06-10 17:36:54 -04:00
|
|
|
|
|
|
|
%td
|
2016-06-14 12:34:48 -04:00
|
|
|
= render 'projects/deployments/commit', deployment: deployment
|
2016-06-10 17:36:54 -04:00
|
|
|
|
2016-10-05 08:06:35 -04:00
|
|
|
%td.build-column
|
2016-06-10 17:36:54 -04:00
|
|
|
- if deployment.deployable
|
2016-10-05 08:06:35 -04:00
|
|
|
= link_to [@project.namespace.becomes(Namespace), @project, deployment.deployable], class: 'build-link' do
|
2017-01-24 13:25:16 -05:00
|
|
|
#{deployment.deployable.name} (##{deployment.deployable.id})
|
2016-10-06 05:46:51 -04:00
|
|
|
- if deployment.user
|
|
|
|
by
|
|
|
|
= user_avatar(user: deployment.user, size: 20)
|
2016-06-10 17:36:54 -04:00
|
|
|
|
|
|
|
%td
|
2016-06-10 18:15:53 -04:00
|
|
|
#{time_ago_with_tooltip(deployment.created_at)}
|
2016-06-10 17:36:54 -04:00
|
|
|
|
2016-10-06 06:52:54 -04:00
|
|
|
%td.hidden-xs
|
2016-10-17 06:45:31 -04:00
|
|
|
.pull-right
|
|
|
|
= render 'projects/deployments/actions', deployment: deployment
|
|
|
|
= render 'projects/deployments/rollback', deployment: deployment
|