2016-06-10 21:36:54 +00:00
|
|
|
- last_deployment = environment.last_deployment
|
2016-04-29 13:14:38 +00:00
|
|
|
|
2016-06-10 21:36:54 +00:00
|
|
|
%tr.environment
|
2016-04-29 13:14:38 +00:00
|
|
|
%td
|
2016-08-05 19:08:39 +00:00
|
|
|
= link_to environment.name, namespace_project_environment_path(@project.namespace, @project, environment)
|
2016-04-29 13:14:38 +00:00
|
|
|
|
2016-08-08 16:39:24 +00:00
|
|
|
%td
|
|
|
|
- if last_deployment
|
|
|
|
= user_avatar(user: last_deployment.user, size: 20)
|
2016-08-08 16:43:12 +00:00
|
|
|
%strong ##{last_deployment.id}
|
2016-08-08 16:39:24 +00:00
|
|
|
|
2016-04-29 13:14:38 +00:00
|
|
|
%td
|
2016-06-10 21:36:54 +00:00
|
|
|
- if last_deployment
|
2016-06-14 16:34:48 +00:00
|
|
|
= render 'projects/deployments/commit', deployment: last_deployment
|
2016-06-10 21:36:54 +00:00
|
|
|
- else
|
2016-06-14 14:11:28 +00:00
|
|
|
%p.commit-title
|
2016-06-10 21:36:54 +00:00
|
|
|
No deployments yet
|
2016-04-29 13:14:38 +00:00
|
|
|
|
|
|
|
%td
|
2016-06-10 22:15:53 +00:00
|
|
|
- if last_deployment
|
2016-08-08 16:39:24 +00:00
|
|
|
#{time_ago_with_tooltip(last_deployment.created_at)}
|
2016-07-16 16:39:58 +00:00
|
|
|
|
|
|
|
%td
|
2016-07-16 23:48:51 +00:00
|
|
|
= render 'projects/deployments/actions', deployment: last_deployment
|