From 111d836912f403caf82abe6f2ff6c0fee9f3f6b3 Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Fri, 4 Jul 2014 12:28:12 +0200 Subject: Display number of pending requests in actions box For packages with pending package requests, display the number of requests above the "File Request" link. Signed-off-by: Lukas Fleischer --- web/template/pkg_details.php | 1 + web/template/pkgbase_details.php | 1 + 2 files changed, 2 insertions(+) (limited to 'web/template') diff --git a/web/template/pkg_details.php b/web/template/pkg_details.php index 065057a8..6f395145 100644 --- a/web/template/pkg_details.php +++ b/web/template/pkg_details.php @@ -106,6 +106,7 @@ $sources = pkg_sources($row["ID"]); +
  • 0) { echo _n('%d pending request', '%d pending requests', $row["RequestCount"]); } ?>
  • diff --git a/web/template/pkgbase_details.php b/web/template/pkgbase_details.php index 2b921523..64df72b2 100644 --- a/web/template/pkgbase_details.php +++ b/web/template/pkgbase_details.php @@ -81,6 +81,7 @@ $pkgs = pkgbase_get_pkgnames($base_id); +
  • 0) { echo _n('%d pending request', '%d pending requests', $row["RequestCount"]); } ?>
  • -- cgit v1.2.3-24-g4f1b