From e610360c95682bbaa359e1bf3d3abffb97a9820b Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Tue, 21 Jul 2015 14:50:25 +0200 Subject: Show popularity in package base details Fixes FS#45600. Signed-off-by: Lukas Fleischer --- web/template/pkg_details.php | 5 +++++ web/template/pkgbase_details.php | 5 +++++ 2 files changed, 10 insertions(+) (limited to 'web/template') diff --git a/web/template/pkg_details.php b/web/template/pkg_details.php index ae8d084..9730d7e 100644 --- a/web/template/pkg_details.php +++ b/web/template/pkg_details.php @@ -25,6 +25,7 @@ if ($row["MaintainerUID"] !== NULL) { } $votes = $row['NumVotes']; +$popularity = $row['Popularity']; # In case of wanting to put a custom message $msg = __('unknown'); @@ -253,6 +254,10 @@ endif; + + + + diff --git a/web/template/pkgbase_details.php b/web/template/pkgbase_details.php index 667b3f7..d4304e3 100644 --- a/web/template/pkgbase_details.php +++ b/web/template/pkgbase_details.php @@ -24,6 +24,7 @@ if ($row["MaintainerUID"] !== NULL) { } $votes = $row['NumVotes']; +$popularity = $row['Popularity']; # In case of wanting to put a custom message $msg = __('unknown'); @@ -104,6 +105,10 @@ endif; + + + + -- cgit v1.2.3-70-g09d2