summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-04-16 08:51:05 +0200
committerErich Eckner <git@eckner.net>2020-04-16 08:51:05 +0200
commit2a968ee86326f2169ea3d8c8c8ef5b1dadce8671 (patch)
treea1c788d741f1e4b79c69ce71a95bb7ee89bf1674 /packages
parent0335cce8e638912b135195755a068600bd2280cd (diff)
downloadarchweb32-2a968ee86326f2169ea3d8c8c8ef5b1dadce8671.tar.xz
packages/pkginfo.php: boldy print removal warning
Diffstat (limited to 'packages')
-rw-r--r--packages/pkginfo.php11
1 files changed, 9 insertions, 2 deletions
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";
<div id="archdev-navbar">
</div>
<div id="pkgdetails" class="box">
- <h2><?php print $content["pkgname"]." ".$content["version"]; ?></h2>
+ <h2><?php
+ if ($content["is_to_be_deleted"])
+ print "<s>";
+ print $content["pkgname"]." ".$content["version"];
+ if ($content["is_to_be_deleted"])
+ print '</s> <font color="#ff0000">(scheduled for removal)</font>';
+?></h2>
<div id="detailslinks" class="listing">
<div id="actionlist">
<h4>Package Actions</h4>