From 99a3ced73bbb15dc7f0113efa49464d50da67b9a Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Sat, 26 Oct 2019 21:08:03 -0400 Subject: Display popularity with less decimal points Limit the display to two decimal points for packages with a popularity of at least 0.2. Suggested-by: Allan McRae Signed-off-by: Lukas Fleischer --- web/template/pkgbase_details.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web/template/pkgbase_details.php') diff --git a/web/template/pkgbase_details.php b/web/template/pkgbase_details.php index 8a6e2b44..b2ce8cbe 100644 --- a/web/template/pkgbase_details.php +++ b/web/template/pkgbase_details.php @@ -108,7 +108,7 @@ endif; - + = .2 ? 2 : 6) ?> -- cgit v1.2.3-24-g4f1b