Show popularity in package base details

Fixes FS#45600.

Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
This commit is contained in:
Lukas Fleischer 2015-07-21 14:50:25 +02:00
parent 8db2ff5da6
commit e610360c95
4 changed files with 13 additions and 3 deletions

View file

@ -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>