2016-06-16 23:09:34 +05:30
|
|
|
%tr.deployment
|
|
|
|
%td
|
2017-08-17 22:00:37 +05:30
|
|
|
%strong ##{deployment.iid}
|
2016-06-16 23:09:34 +05:30
|
|
|
|
|
|
|
%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
|
2017-08-17 22:00:37 +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
|
2017-08-17 22:00:37 +05:30
|
|
|
.pull-right.btn-group
|
2016-11-03 12:29:30 +05:30
|
|
|
= render 'projects/deployments/actions', deployment: deployment
|
|
|
|
= render 'projects/deployments/rollback', deployment: deployment
|