diff options
author | mandree <mandree@FreeBSD.org> | 2013-06-07 06:25:11 +0800 |
---|---|---|
committer | mandree <mandree@FreeBSD.org> | 2013-06-07 06:25:11 +0800 |
commit | 75f473aaf91a049779d4d74284793f287497a972 (patch) | |
tree | fd72a390d32d2b3e1f8ad846973ba0b9c4e73ee0 /ports-mgmt | |
parent | 93dd20abcb2c3d154e3585060e1d6e80cc502905 (diff) | |
download | freebsd-ports-gnome-75f473aaf91a049779d4d74284793f287497a972.tar.gz freebsd-ports-gnome-75f473aaf91a049779d4d74284793f287497a972.tar.zst freebsd-ports-gnome-75f473aaf91a049779d4d74284793f287497a972.zip |
Fix display of port fail reasons on the latest_buildports page with
default template (not visible in paefchen template).
PR: 177491
Submitted by: Anonymous <r4721@tormail.org>
Approved by: itetcu (maintainer timeout, 68 days)
Diffstat (limited to 'ports-mgmt')
-rw-r--r-- | ports-mgmt/tinderbox/Makefile | 1 | ||||
-rw-r--r-- | ports-mgmt/tinderbox/files/patch-fail-reasons | 12 |
2 files changed, 13 insertions, 0 deletions
diff --git a/ports-mgmt/tinderbox/Makefile b/ports-mgmt/tinderbox/Makefile index 23d7bbc91b1f..4e0fd944be3b 100644 --- a/ports-mgmt/tinderbox/Makefile +++ b/ports-mgmt/tinderbox/Makefile @@ -3,6 +3,7 @@ PORTNAME= tinderbox PORTVERSION= 4.0.0 +PORTREVISION= 1 CATEGORIES= ports-mgmt MASTER_SITES= http://tinderbox.marcuscom.com/ \ http://T32.TecNik93.com/FreeBSD/ports/${PORTNAME}/sources/ diff --git a/ports-mgmt/tinderbox/files/patch-fail-reasons b/ports-mgmt/tinderbox/files/patch-fail-reasons new file mode 100644 index 000000000000..ee29c839a6b6 --- /dev/null +++ b/ports-mgmt/tinderbox/files/patch-fail-reasons @@ -0,0 +1,12 @@ +# http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/177491 by Anonymous +--- webui/templates/default/latest_buildports.tpl.orig ++++ webui/templates/default/latest_buildports.tpl +@@ -50,7 +50,7 @@ + <?php $reason=$row['port_last_fail_reason']?> + <td class="<?php if(!empty($port_fail_reasons[$reason]['type']))echo "fail_reason_".$port_fail_reasons[$reason]['type']?>"> + <?php $href=isset($port_fail_reasons[$reason]['link']) ? "index.php?action=display_failure_reasons&failure_reason_tag=$reason#$reason" : "#"?> +- <a href="<?php echo $href?>" class="<?php if(!empty($port_fail_reasons[$reason]['type']))echo "fail_reason_".$port_fail_reasons[$reason]['type']?>" title="<?php if(!empty($port_fail_reasons[$reason]['descr']))echo $port_fail_reasons[$reason]['descr']?>"><?php $reason?></a> ++ <a href="<?php echo $href?>" class="<?php if(!empty($port_fail_reasons[$reason]['type']))echo "fail_reason_".$port_fail_reasons[$reason]['type']?>" title="<?php if(!empty($port_fail_reasons[$reason]['descr']))echo $port_fail_reasons[$reason]['descr']?>"><?php echo $reason?></a> + </td> + <td> + <?php if($row['port_link_logfile']){?> |