index : archweb32 | |
Archlinux32 website | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | packages/pkginfo.php | 11 |
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> |