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

31 lines
1.3 KiB
Text
Raw Normal View History

2017-06-07 21:15:40 -04:00
.gl-responsive-table-row.deployment{ role: 'row' }
2017-06-06 18:38:39 -04:00
.table-section.section-10{ role: 'gridcell' }
2017-06-07 21:15:40 -04:00
.table-mobile-header{ role: 'rowheader' } ID
%strong.table-mobile-content ##{deployment.iid}
2016-06-10 17:36:54 -04:00
2017-06-23 03:36:40 -04:00
.table-section.section-30{ role: 'gridcell' }
2017-06-07 21:15:40 -04:00
.table-mobile-header{ role: 'rowheader' } Commit
2016-06-14 12:34:48 -04:00
= render 'projects/deployments/commit', deployment: deployment
2016-06-10 17:36:54 -04:00
2017-06-23 03:36:40 -04:00
.table-section.section-25.build-column{ role: 'gridcell' }
2017-06-07 21:15:40 -04:00
.table-mobile-header{ role: 'rowheader' } Job
2016-06-10 17:36:54 -04:00
- if deployment.deployable
2017-06-23 03:36:40 -04:00
.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})
2017-06-23 03:36:40 -04:00
- if deployment.user
%div
by
= user_avatar(user: deployment.user, size: 20)
2016-06-10 17:36:54 -04:00
2017-06-06 18:38:39 -04:00
.table-section.section-15{ role: 'gridcell' }
2017-06-07 21:15:40 -04:00
.table-mobile-header{ role: 'rowheader' } Created
%span.table-mobile-content= time_ago_with_tooltip(deployment.created_at)
2016-06-10 17:36:54 -04:00
.table-section.section-20.table-button-footer{ role: 'gridcell' }
2017-06-23 03:36:40 -04:00
.btn-group.table-action-buttons
= render 'projects/deployments/actions', deployment: deployment
= render 'projects/deployments/rollback', deployment: deployment