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

23 lines
692 B
Text
Raw Normal View History

%tr.deployment
%td
%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
= "#{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
.pull-right
= render 'projects/deployments/actions', deployment: deployment
= render 'projects/deployments/rollback', deployment: deployment