summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@gmail.com>2015-11-07 17:35:17 +0000
committerPascal Terjan <pterjan@gmail.com>2015-11-07 17:35:17 +0000
commitdc60b8f56027a806877ff692b73932d347f29745 (patch)
treed385c9a23c1c5dcc9f5b427289ff7954a57908b8 /index.php
parent6d8998d9fdc00a5163e6ca460c44f5637a1db1c6 (diff)
downloadpkgsubmit-dc60b8f56027a806877ff692b73932d347f29745.tar
pkgsubmit-dc60b8f56027a806877ff692b73932d347f29745.tar.gz
pkgsubmit-dc60b8f56027a806877ff692b73932d347f29745.tar.bz2
pkgsubmit-dc60b8f56027a806877ff692b73932d347f29745.tar.xz
pkgsubmit-dc60b8f56027a806877ff692b73932d347f29745.zip
Add a link on failed architectures
Diffstat (limited to 'index.php')
-rw-r--r--index.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/index.php b/index.php
index 6c12131..5411e85 100644
--- a/index.php
+++ b/index.php
@@ -194,7 +194,8 @@ if ($total > 0) {
$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>';
+ $typelink = '/uploads/failure/' . $p['path'];
+ $s .= '<a rel="nofollow" href="' . $typelink . '" class="status-link"><span class="failure"><span class="status-box"></span> ' . join(' ', $failed_arches) . '</span></a>';
}
$s .= '</td></tr>';