2014-10-27 22:09:18 +00:00
|
|
|
= render 'platforms/base/submenu'
|
2016-05-22 13:25:00 +01:00
|
|
|
.row
|
|
|
|
.col-md-12
|
|
|
|
rd-widget
|
|
|
|
rd-widget-header
|
|
|
|
- if policy(@platform.mass_builds.build).create?
|
|
|
|
a.btn.btn-primary.pull-right href=new_platform_mass_build_path(@platform)
|
|
|
|
= t('layout.mass_builds.new')
|
|
|
|
rd-widget-body class="no-padding"
|
|
|
|
table.table.table-striped
|
|
|
|
thead
|
|
|
|
tr
|
|
|
|
th= t('activerecord.attributes.mass_build.id')
|
|
|
|
th= t('activerecord.attributes.mass_build.name')
|
|
|
|
th= t('activerecord.attributes.mass_build.description')
|
|
|
|
th= t('activerecord.attributes.mass_build.created_at')
|
|
|
|
th
|
|
|
|
tbody
|
|
|
|
- @mass_builds.each do |mass_build|
|
|
|
|
tr
|
|
|
|
td= mass_build.id
|
|
|
|
td= link_to_mass_build(mass_build)
|
|
|
|
td= mass_build.description
|
|
|
|
td= mass_build.created_at.to_s
|
|
|
|
td= link_to t('layout.show'), platform_mass_build_path(@platform, mass_build.id)
|
|
|
|
= will_paginate @mass_builds, rd_widget_footer: true
|