gitlab-org--gitlab-foss/app/views/projects/deployments/_deployment.html.haml

23 lines
696 B
Text
Raw Normal View History

2016-06-10 17:36:54 -04:00
%tr.deployment
%td
%strong= ("##{deployment.iid}")
2016-06-10 17:36:54 -04:00
%td
2016-06-14 12:34:48 -04:00
= render 'projects/deployments/commit', deployment: deployment
2016-06-10 17:36:54 -04:00
%td.build-column
2016-06-10 17:36:54 -04:00
- if deployment.deployable
= link_to [@project.namespace.becomes(Namespace), @project, deployment.deployable], class: 'build-link' do
= ("#{deployment.deployable.name} (##{deployment.deployable.id})")
- if deployment.user
by
= user_avatar(user: deployment.user, size: 20)
2016-06-10 17:36:54 -04:00
%td
2016-06-10 18:15:53 -04:00
#{time_ago_with_tooltip(deployment.created_at)}
2016-06-10 17:36:54 -04:00
%td.hidden-xs
.pull-right
= render 'projects/deployments/actions', deployment: deployment
= render 'projects/deployments/rollback', deployment: deployment