summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorOlivier Blin <dev@blino.org>2015-11-03 01:31:33 +0100
committerOlivier Blin <dev@blino.org>2015-11-03 01:31:33 +0100
commit4f0998dce3810b573266f075bf78fd36d36486e1 (patch)
tree5642bcd115176163ffd60015d1cc07780a4da07f /index.php
parentb2717138511a79ede4384438936e0fbb670d4ad2 (diff)
downloadpkgsubmit-4f0998dce3810b573266f075bf78fd36d36486e1.tar
pkgsubmit-4f0998dce3810b573266f075bf78fd36d36486e1.tar.gz
pkgsubmit-4f0998dce3810b573266f075bf78fd36d36486e1.tar.bz2
pkgsubmit-4f0998dce3810b573266f075bf78fd36d36486e1.tar.xz
pkgsubmit-4f0998dce3810b573266f075bf78fd36d36486e1.zip
List all failed arches in status result, even if build for mandatory arches is successful
Diffstat (limited to 'index.php')
-rw-r--r--index.php6
1 files changed, 6 insertions, 0 deletions
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('<span class="status-box"></span> %s %s',
$typestr, $show_time);
+ $failed_arches = array_keys($p['status']['fail']);
+ if (!empty($failed_arches)) {
+ sort($failed_arches);
+ $s .= '<span class="failure"><span class="status-box"></span> ' . join(' ', $failed_arches) . '</span>';
+ }
+
$s .= '</td></tr>';
}
echo sprintf('<li><p><span class="figure">%d</span> packages submitted in the past %d&nbsp;hours:</p>', $total, $max_modified * 24);