diff --git a/webtools/tinderbox/README b/webtools/tinderbox/README index c87de1685a5..f5a340ffa0d 100644 --- a/webtools/tinderbox/README +++ b/webtools/tinderbox/README @@ -111,6 +111,7 @@ These modes do not show on my browser: These are self explanatory: legend=0; + norules=0; hours=n; diff --git a/webtools/tinderbox/showbuilds.cgi b/webtools/tinderbox/showbuilds.cgi index 0e39c83fcac..5dcce467654 100755 --- a/webtools/tinderbox/showbuilds.cgi +++ b/webtools/tinderbox/showbuilds.cgi @@ -171,14 +171,16 @@ sub print_page_head { # Print rules, sheriff, and status. Only on the first pageful. if ($nowdate eq $maxdate) { - do "$::tree/rules.pl"; - print "$rules_message
"; # from $::tree/rules.pl - - do "$::tree/sheriff.pl"; - print "$current_sheriff
"; # from $::tree/sheriff.pl - - do "$::tree/status.pl"; - print "$status_message
"; # from $::tree/status.pl + unless ($form{norules}) { + do "$::tree/rules.pl"; + print "$rules_message
"; # from $::tree/rules.pl + } + + do "$::tree/sheriff.pl"; + print "$current_sheriff
"; # from $::tree/sheriff.pl + + do "$::tree/status.pl"; + print "$status_message
"; # from $::tree/status.pl } # Quote and Lengend @@ -446,6 +448,7 @@ sub print_table_footer { sub open_showbuilds_url { my %args = ( legend => "$form{legend}", + norules => "$form{norules}", @_ );