debian-mirror-gitlab/app/views/projects/deployments/_deployment.html.haml

23 lines
695 B
Text
Raw Normal View History

%tr.deployment
%td
2017-08-17 22:00:37 +05:30
%strong ##{deployment.iid}
%td
= render 'projects/deployments/commit', deployment: deployment
2016-11-03 12:29:30 +05:30
%td.build-column
- 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)
%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