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

19 lines
543 B
Text
Raw Normal View History

%tr.deployment
%td
%strong= "##{deployment.iid}"
%td
= render 'projects/deployments/commit', deployment: deployment
%td
- if deployment.deployable
2016-08-24 12:49:21 +05:30
= link_to [@project.namespace.becomes(Namespace), @project, deployment.deployable] do
2016-09-13 17:45:13 +05:30
= user_avatar(user: deployment.user, size: 20)
= "#{deployment.deployable.name} (##{deployment.deployable.id})"
%td
#{time_ago_with_tooltip(deployment.created_at)}
%td
2016-08-24 12:49:21 +05:30
= render 'projects/deployments/actions', deployment: deployment, allow_rollback: true