diff options
author | Lukas Fleischer <lfleischer@archlinux.org> | 2015-07-21 14:50:25 +0200 |
---|---|---|
committer | Lukas Fleischer <lfleischer@archlinux.org> | 2015-08-08 12:59:24 +0200 |
commit | e610360c95682bbaa359e1bf3d3abffb97a9820b (patch) | |
tree | 6c0e6ee403469154fdb742b6ee3a2fe21766c5b9 /web/template/pkg_details.php | |
parent | 8db2ff5da679b3c2d5a53f67f67863d786057f36 (diff) | |
download | aurweb-e610360c95682bbaa359e1bf3d3abffb97a9820b.tar.xz |
Show popularity in package base details
Fixes FS#45600.
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
Diffstat (limited to 'web/template/pkg_details.php')
-rw-r--r-- | web/template/pkg_details.php | 5 |
1 files changed, 5 insertions, 0 deletions
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'); @@ -254,6 +255,10 @@ endif; <?php endif; ?> </tr> <tr> + <th><?= __('Popularity') . ': ' ?></th> + <td><?= number_format($popularity, 6) ?></td> + </tr> + <tr> <th><?= __('First Submitted') . ': ' ?></th> <td><?= $submitted_time ?></td> </tr> |