summaryrefslogtreecommitdiffstats
path: root/web/template/pkg_details.php
diff options
context:
space:
mode:
Diffstat (limited to 'web/template/pkg_details.php')
-rw-r--r--web/template/pkg_details.php5
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>