2016-03-24 16:22:42 +00:00
|
|
|
- title = title_object(@mass_build)
|
|
|
|
- set_meta_tags title: title
|
|
|
|
|
2016-03-24 15:59:12 +00:00
|
|
|
= render 'submenu'
|
|
|
|
|
2016-05-22 13:25:00 +01:00
|
|
|
.row
|
|
|
|
.col-md-12
|
|
|
|
rd-widget
|
|
|
|
rd-widget-header title=t('layout.mass_builds.show_fail_reason.title')
|
|
|
|
rd-widget-body
|
|
|
|
.row
|
|
|
|
= link_to t('layout.mass_builds.show_fail_reason.return'), platform_mass_build_path
|
|
|
|
.row.top-space
|
|
|
|
-if !@items.empty?
|
|
|
|
table.table.table-condensed
|
|
|
|
thead
|
|
|
|
tr
|
|
|
|
th
|
|
|
|
= t("activerecord.attributes.build_list.id")
|
|
|
|
th
|
|
|
|
= t("activerecord.attributes.build_list.project")
|
|
|
|
th
|
|
|
|
= t("activerecord.attributes.build_list.arch")
|
|
|
|
th
|
|
|
|
= t("activerecord.attributes.build_list.fail_reason")
|
|
|
|
tbody
|
|
|
|
- @items.each do |item|
|
|
|
|
tr
|
|
|
|
td
|
|
|
|
= link_to item[0], build_list_path(item[0])
|
|
|
|
td
|
2016-05-22 14:00:02 +01:00
|
|
|
= link_to item[1], project_build_lists_path(item[1])
|
2016-05-22 13:25:00 +01:00
|
|
|
td
|
|
|
|
= item[2]
|
|
|
|
td
|
|
|
|
pre.pre-fail-reason
|
|
|
|
= item[3]
|
|
|
|
-else
|
|
|
|
= t('layout.mass_builds.show_fail_reason.no_failed_builds')
|
|
|
|
=will_paginate @build_lists, rd_widget_footer: true
|