summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2012-01-29 19:22:21 +0000
committerPascal Terjan <pterjan@mageia.org>2012-01-29 19:22:21 +0000
commit1226733f9ad7434d2f1769a8882845451039e57c (patch)
treee2a68b9979d6210486ccab9ec821adea7320a413
parent251daf9fbcf0fe1ddcabff38bedf6a41d8039a66 (diff)
downloadpkgsubmit-1226733f9ad7434d2f1769a8882845451039e57c.tar
pkgsubmit-1226733f9ad7434d2f1769a8882845451039e57c.tar.gz
pkgsubmit-1226733f9ad7434d2f1769a8882845451039e57c.tar.bz2
pkgsubmit-1226733f9ad7434d2f1769a8882845451039e57c.tar.xz
pkgsubmit-1226733f9ad7434d2f1769a8882845451039e57c.zip
Add link to logs in case of success too
-rw-r--r--index.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/index.php b/index.php
index 9d948ca..ed6c5d7 100644
--- a/index.php
+++ b/index.php
@@ -399,6 +399,11 @@ if ($total > 0) {
$typelink = '/uploads/' . $p['type'] . '/' . $p['path'];
} elseif ($p['type'] == 'rejected') {
$typelink = '/uploads/' . $p['type'] . '/' . $p['path'] . '.youri';
+ } else {
+ $typelink = '/uploads/done/' . $p['path'];
+ if (!is_dir("..$typelink")) {
+ $typelink = '';
+ }
}
$typestr = $p['type'];
if ($p['status']['build']) {