diff options
author | Erich Eckner <git@eckner.net> | 2020-06-12 11:02:27 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2020-06-12 11:02:27 +0200 |
commit | 3b9ff2a4ceccc5821ef1930cfc2f42aaabead70c (patch) | |
tree | aa833c7fc6f7a92ec9d1dff58ba608652e66f6f3 | |
parent | fe0d1c181cd6843470bc53025ad5422440ff4c85 (diff) | |
download | archweb32-3b9ff2a4ceccc5821ef1930cfc2f42aaabead70c.tar.xz |
packages/pkginfo.php: add link to build-list, too
-rw-r--r-- | packages/pkginfo.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/pkginfo.php b/packages/pkginfo.php index ce55c57..bf6812c 100644 --- a/packages/pkginfo.php +++ b/packages/pkginfo.php @@ -481,13 +481,16 @@ if (count($elsewhere)>0) { if ($subst["is_on_master_mirror"]) { print " <a href=\"" . $uri_prefix . $subst["repo_arch"] . "/" . $subst["repo"] . "/" . $subst["pkgname"] ."/\""; print " title=\"Package details for " . $subst["pkgname"] ."\">"; + } elseif ($subst["repo"]=="build-list") { + print " <a href=\"/buildmaster/build-list.php?sort=blocks&arch=" . $subst["arch"] . "&q=" . $subst["pkgname"] ."\""; + print " title=\"Find " . $subst["pkgname"] ." on the build-list\">"; } if ($subst["is_to_be_deleted"]) print "<s>"; print $subst["pkgname"] . "-" . $subst["version"] . " [" . $subst["repo"] . "] (" . $subst["arch"] . ")"; if ($subst["is_to_be_deleted"]) print "</s>"; - if ($subst["is_on_master_mirror"]) + if ($subst["is_on_master_mirror"] || ($subst["repo"]=="build-list")) print "</a>\n"; print " </li>\n"; print " </ul>\n"; |