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

31 lines
1.4 KiB
Text
Raw Normal View History

2017-09-10 17:25:29 +05:30
.gl-responsive-table-row.deployment{ role: 'row' }
.table-section.section-10{ role: 'gridcell' }
2018-11-08 19:23:39 +05:30
.table-mobile-header{ role: 'rowheader' }= _("ID")
2017-09-10 17:25:29 +05:30
%strong.table-mobile-content ##{deployment.iid}
2017-09-10 17:25:29 +05:30
.table-section.section-30{ role: 'gridcell' }
2018-11-08 19:23:39 +05:30
.table-mobile-header{ role: 'rowheader' }= _("Commit")
= render 'projects/deployments/commit', deployment: deployment
2017-09-10 17:25:29 +05:30
.table-section.section-25.build-column{ role: 'gridcell' }
2018-11-08 19:23:39 +05:30
.table-mobile-header{ role: 'rowheader' }= _("Job")
- if deployment.deployable
2017-09-10 17:25:29 +05:30
.table-mobile-content
.flex-truncate-parent
.flex-truncate-child
= link_to [@project.namespace.becomes(Namespace), @project, deployment.deployable], class: 'build-link' do
#{deployment.deployable.name} (##{deployment.deployable.id})
- if deployment.user
%div
by
2019-07-31 22:56:46 +05:30
= user_avatar(user: deployment.user, size: 20, css_class: "mr-0 float-none")
2017-09-10 17:25:29 +05:30
.table-section.section-15{ role: 'gridcell' }
2018-11-08 19:23:39 +05:30
.table-mobile-header{ role: 'rowheader' }= _("Created")
2017-09-10 17:25:29 +05:30
%span.table-mobile-content= time_ago_with_tooltip(deployment.created_at)
2017-09-10 17:25:29 +05:30
.table-section.section-20.table-button-footer{ role: 'gridcell' }
.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