From 2a968ee86326f2169ea3d8c8c8ef5b1dadce8671 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 16 Apr 2020 08:51:05 +0200 Subject: packages/pkginfo.php: boldy print removal warning --- packages/pkginfo.php | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'packages/pkginfo.php') diff --git a/packages/pkginfo.php b/packages/pkginfo.php index 096d32a..b6c22f3 100644 --- a/packages/pkginfo.php +++ b/packages/pkginfo.php @@ -84,7 +84,8 @@ require_once BASE . "/lib/style.php"; "`package_sources`.`uses_upstream`," . "`package_sources`.`uses_modification`," . "MAX(`binary_packages_in_repositories`.`last_moved`) AS `last_moved`," . - "`sr`.`name` AS `stable_repo`" . + "`sr`.`name` AS `stable_repo`," . + "IF(`binary_packages_in_repositories`.`is_to_be_deleted`,1,0) as `is_to_be_deleted`". " FROM `binary_packages`" . mysql_join_binary_packages_architectures() . " LEFT" . @@ -385,7 +386,13 @@ require_once BASE . "/lib/style.php";
-

+

"; + print $content["pkgname"]." ".$content["version"]; + if ($content["is_to_be_deleted"]) + print ' (scheduled for removal)'; +?>