From 4f0998dce3810b573266f075bf78fd36d36486e1 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Tue, 3 Nov 2015 01:31:33 +0100 Subject: List all failed arches in status result, even if build for mandatory arches is successful --- index.php | 6 ++++++ themes/mageia/style.css | 2 ++ 2 files changed, 8 insertions(+) diff --git a/index.php b/index.php index 4e42dd3..6c12131 100644 --- a/index.php +++ b/index.php @@ -191,6 +191,12 @@ if ($total > 0) { : sprintf(' %s %s', $typestr, $show_time); + $failed_arches = array_keys($p['status']['fail']); + if (!empty($failed_arches)) { + sort($failed_arches); + $s .= ' ' . join(' ', $failed_arches) . ''; + } + $s .= ''; } echo sprintf('
  • %d packages submitted in the past %d hours:

    ', $total, $max_modified * 24); diff --git a/themes/mageia/style.css b/themes/mageia/style.css index d7ef081..dc6fcac 100644 --- a/themes/mageia/style.css +++ b/themes/mageia/style.css @@ -42,12 +42,14 @@ tr.rejected .status-box { background: orange; } tr.todo .status-box { background: white; } tr.building .status-box { background: yellow; } tr.partial .status-box { background: blue; } +span.failure > .status-box { background: red; } .status-link { text-decoration: none; display: block; margin: 0; padding: 0; } td.user, td.status { white-space: nowrap; } +tr span.failure, tr .media, tr .timeinfo, tr .revision { display: block; font-size: 85%; text-align: left; } -- cgit v1.2.1