2016-06-16 23:09:34 +05:30
|
|
|
%tr.deployment
|
|
|
|
%td
|
|
|
|
%strong= "##{deployment.iid}"
|
|
|
|
|
|
|
|
%td
|
|
|
|
= render 'projects/deployments/commit', deployment: deployment
|
|
|
|
|
2016-11-03 12:29:30 +05:30
|
|
|
%td.build-column
|
2016-06-16 23:09:34 +05:30
|
|
|
- if deployment.deployable
|
2016-11-03 12:29:30 +05:30
|
|
|
= link_to [@project.namespace.becomes(Namespace), @project, deployment.deployable], class: 'build-link' do
|
2016-06-16 23:09:34 +05:30
|
|
|
= "#{deployment.deployable.name} (##{deployment.deployable.id})"
|
2016-11-03 12:29:30 +05:30
|
|
|
- if deployment.user
|
|
|
|
by
|
|
|
|
= user_avatar(user: deployment.user, size: 20)
|
2016-06-16 23:09:34 +05:30
|
|
|
|
|
|
|
%td
|
|
|
|
#{time_ago_with_tooltip(deployment.created_at)}
|
|
|
|
|
2016-11-03 12:29:30 +05:30
|
|
|
%td.hidden-xs
|
|
|
|
.pull-right
|
|
|
|
= render 'projects/deployments/actions', deployment: deployment
|
|
|
|
= render 'projects/deployments/rollback', deployment: deployment
|