mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 09:43:03 +00:00
Show popularity in package base details
Fixes FS#45600. Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
This commit is contained in:
parent
8db2ff5da6
commit
e610360c95
4 changed files with 13 additions and 3 deletions
|
@ -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;
|
|||
<td><?= $votes ?></td>
|
||||
<?php endif; ?>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><?= __('Popularity') . ': ' ?></th>
|
||||
<td><?= number_format($popularity, 6) ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><?= __('First Submitted') . ': ' ?></th>
|
||||
<td><?= $submitted_time ?></td>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue