diff options
Diffstat (limited to 'web/template')
-rw-r--r-- | web/template/pkg_details.php | 5 | ||||
-rw-r--r-- | web/template/pkgbase_details.php | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/web/template/pkg_details.php b/web/template/pkg_details.php index ae8d0848..9730d7e6 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> diff --git a/web/template/pkgbase_details.php b/web/template/pkgbase_details.php index 667b3f77..d4304e3e 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'); @@ -105,6 +106,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> |