From 10dcbd84b1f55247dce1717bbc5bd0539bd5041c Mon Sep 17 00:00:00 2001 From: Allan McRae Date: Thu, 20 Jun 2019 14:13:30 +1000 Subject: [PATCH] Display popularity with less decimal points Popularity is calculated with more decimal points than needed. Limit the display to two decimal points. Signed-off-by: Allan McRae --- web/template/pkg_details.php | 2 +- web/template/pkgbase_details.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/web/template/pkg_details.php b/web/template/pkg_details.php index 650c245..03394d0 100644 --- a/web/template/pkg_details.php +++ b/web/template/pkg_details.php @@ -259,7 +259,7 @@ endif; - + diff --git a/web/template/pkgbase_details.php b/web/template/pkgbase_details.php index 8a6e2b4..377f942 100644 --- a/web/template/pkgbase_details.php +++ b/web/template/pkgbase_details.php @@ -108,7 +108,7 @@ endif; - + -- 2.22.0