Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-05-02 09:24:40 +0200
committerErich Eckner <git@eckner.net>2018-05-02 09:24:40 +0200
commitb57789d3e290d5bfac1729b4125904e6ad4eacda (patch)
tree9a52a394866711bbc9da89746004aa0c1fb60d62
parent2d8f8d193b9b4cf17b6eedd342149ff0d6ba7874 (diff)
put offline-slave-warning into print_header()
-rw-r--r--buildmaster/build-list.php2
-rw-r--r--lib/style.php1
2 files changed, 1 insertions, 2 deletions
diff --git a/buildmaster/build-list.php b/buildmaster/build-list.php
index 7635759..365f3f2 100644
--- a/buildmaster/build-list.php
+++ b/buildmaster/build-list.php
@@ -286,8 +286,6 @@ while($row = $result->fetch_assoc()) {
print_header("List of " . strtoupper(substr($to_show,0,1)) . substr($to_show,1) . " Package Builds");
-show_warning_on_offline_slave();
-
print "<a href=\"https://buildmaster.archlinux32.org/build-logs/\">build logs</a>\n";
foreach ($to_shows as $link => $dummy) {
diff --git a/lib/style.php b/lib/style.php
index 362f53e..6229aae 100644
--- a/lib/style.php
+++ b/lib/style.php
@@ -31,6 +31,7 @@ function print_header($title) {
</div>
<div id="content">
<?php
+ show_warning_on_offline_slave();
}
function print_footer($copyright = "Copyright © 2002-2018 <a href=\"mailto:jvinet@zeroflux.org\" title=\"Contact Judd Vinet\">Judd Vinet</a> and <a href=\"mailto:aaron@archlinux.org\" title=\"Contact Aaron Griffin\">Aaron Griffin</a>.") {