From d8dbad0c3ec28f531bb057fea8b76e3faa235da6 Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Wed, 25 Jun 2014 10:16:00 +0200 Subject: Highlight package requests after 14 days Automatically highlight package requests after a configurable period of time. Defaults to 14 days. Signed-off-by: Lukas Fleischer --- web/lib/config.inc.php.proto | 3 +++ web/template/pkgreq_results.php | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/web/lib/config.inc.php.proto b/web/lib/config.inc.php.proto index 10ed07e..a9137f1 100644 --- a/web/lib/config.inc.php.proto +++ b/web/lib/config.inc.php.proto @@ -62,3 +62,6 @@ $MAX_RPC_RESULTS = 5000; # Mailing list to send package request notifications to. $AUR_REQUEST_ML = "aur-general@archlinux.org"; + +# Time to wait until a package request is due. +$REQUEST_IDLE_TIME = 60 * 60 * 24 * 14; diff --git a/web/template/pkgreq_results.php b/web/template/pkgreq_results.php index 33195c7..213f180 100644 --- a/web/template/pkgreq_results.php +++ b/web/template/pkgreq_results.php @@ -41,7 +41,7 @@ - + $REQUEST_IDLE_TIME): ?> class="flagged">
-- cgit v1.2.3-54-g00ecf