diff options
author | Pascal Terjan <pterjan@mageia.org> | 2012-01-29 19:22:21 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@mageia.org> | 2012-01-29 19:22:21 +0000 |
commit | 1226733f9ad7434d2f1769a8882845451039e57c (patch) | |
tree | e2a68b9979d6210486ccab9ec821adea7320a413 /index.php | |
parent | 251daf9fbcf0fe1ddcabff38bedf6a41d8039a66 (diff) | |
download | pkgsubmit-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
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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']) { |