2017-09-10 17:25:29 +05:30
|
|
|
.gl-responsive-table-row.deployment{ role: 'row' }
|
2019-12-21 20:55:43 +05:30
|
|
|
.table-section.section-15{ role: 'gridcell' }
|
|
|
|
.table-mobile-header{ role: 'rowheader' }= _("Status")
|
|
|
|
.table-mobile-content
|
|
|
|
= render_deployment_status(deployment)
|
|
|
|
|
2017-09-10 17:25:29 +05:30
|
|
|
.table-section.section-10{ role: 'gridcell' }
|
2018-11-08 19:23:39 +05:30
|
|
|
.table-mobile-header{ role: 'rowheader' }= _("ID")
|
2021-12-11 22:18:48 +05:30
|
|
|
%strong.table-mobile-content{ data: { testid: 'deployment-id' } } ##{deployment.iid}
|
2016-06-16 23:09:34 +05:30
|
|
|
|
2019-12-21 20:55:43 +05:30
|
|
|
.table-section.section-10{ role: 'gridcell' }
|
|
|
|
.table-mobile-header{ role: 'rowheader' }= _("Triggerer")
|
|
|
|
.table-mobile-content
|
|
|
|
- if deployment.deployed_by
|
|
|
|
= user_avatar(user: deployment.deployed_by, size: 26, css_class: "mr-0 float-none")
|
|
|
|
|
|
|
|
.table-section.section-25{ role: 'gridcell' }
|
2018-11-08 19:23:39 +05:30
|
|
|
.table-mobile-header{ role: 'rowheader' }= _("Commit")
|
2016-06-16 23:09:34 +05:30
|
|
|
= render 'projects/deployments/commit', deployment: deployment
|
|
|
|
|
2019-12-21 20:55:43 +05:30
|
|
|
.table-section.section-10.build-column{ role: 'gridcell' }
|
2018-11-08 19:23:39 +05:30
|
|
|
.table-mobile-header{ role: 'rowheader' }= _("Job")
|
2016-06-16 23:09:34 +05:30
|
|
|
- if deployment.deployable
|
2017-09-10 17:25:29 +05:30
|
|
|
.table-mobile-content
|
|
|
|
.flex-truncate-parent
|
|
|
|
.flex-truncate-child
|
2019-12-21 20:55:43 +05:30
|
|
|
= link_to deployment_path(deployment), class: 'build-link' do
|
2017-09-10 17:25:29 +05:30
|
|
|
#{deployment.deployable.name} (##{deployment.deployable.id})
|
2019-12-21 20:55:43 +05:30
|
|
|
- else
|
2022-03-02 08:16:31 +05:30
|
|
|
= gl_badge_tag s_('Deployment|API'), { variant: :info }, { class: 'gl-cursor-help', data: { toggle: 'tooltip' }, title: s_('Deployment|This deployment was created using the API') }
|
2016-06-16 23:09:34 +05:30
|
|
|
|
2019-12-21 20:55:43 +05:30
|
|
|
.table-section.section-10{ role: 'gridcell' }
|
2018-11-08 19:23:39 +05:30
|
|
|
.table-mobile-header{ role: 'rowheader' }= _("Created")
|
2019-12-21 20:55:43 +05:30
|
|
|
%span.table-mobile-content.flex-truncate-parent
|
|
|
|
%span.flex-truncate-child
|
|
|
|
= time_ago_with_tooltip(deployment.created_at)
|
|
|
|
|
|
|
|
.table-section.section-10{ role: 'gridcell' }
|
|
|
|
.table-mobile-header{ role: 'rowheader' }= _("Deployed")
|
2019-12-04 20:38:33 +05:30
|
|
|
- if deployment.deployed_at
|
2019-12-21 20:55:43 +05:30
|
|
|
%span.table-mobile-content.flex-truncate-parent
|
|
|
|
%span.flex-truncate-child
|
|
|
|
= time_ago_with_tooltip(deployment.deployed_at)
|
2016-06-16 23:09:34 +05:30
|
|
|
|
2019-12-21 20:55:43 +05:30
|
|
|
.table-section.section-10.table-button-footer{ role: 'gridcell' }
|
2017-09-10 17:25:29 +05:30
|
|
|
.btn-group.table-action-buttons
|
2016-11-03 12:29:30 +05:30
|
|
|
= render 'projects/deployments/actions', deployment: deployment
|
|
|
|
= render 'projects/deployments/rollback', deployment: deployment
|