21 lines
603 B
Text
21 lines
603 B
Text
- last_deployment = environment.last_deployment
|
|
|
|
%tr.environment
|
|
%td
|
|
= link_to environment.name, namespace_project_environment_path(@project.namespace, @project, environment)
|
|
|
|
%td
|
|
- if last_deployment
|
|
= render 'projects/deployments/commit', deployment: last_deployment
|
|
- else
|
|
%p.commit-title
|
|
No deployments yet
|
|
|
|
%td
|
|
- if last_deployment
|
|
%p.finished-at
|
|
= icon("calendar")
|
|
#{time_ago_with_tooltip(last_deployment.created_at, short_format: true, skip_js: true)}
|
|
|
|
%td
|
|
= render 'projects/deployments/actions', deployment: last_deployment
|