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/pkg_details.php | 2 +- web/template/pkgbase_details.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'web/template') diff --git a/web/template/pkg_details.php b/web/template/pkg_details.php index 650c245c..93b5f1e5 100644 --- a/web/template/pkg_details.php +++ b/web/template/pkg_details.php @@ -259,7 +259,7 @@ endif; - + = .2 ? 2 : 6) ?> 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