summaryrefslogtreecommitdiffstats
path: root/web/template/pkg_search_results.php
diff options
context:
space:
mode:
authorLeonidas Spyropoulos <artafinde@gmail.com>2015-06-15 10:45:19 +0200
committerLukas Fleischer <lfleischer@archlinux.org>2015-06-15 22:37:45 +0200
commit74c7cf70ffe49d907df13521edd760467d0602b0 (patch)
tree27b9079485487c91bc337b0523e562abf6f80217 /web/template/pkg_search_results.php
parent86fdd330cbc0ccc9489a543a655d3f2ce5037b05 (diff)
downloadaur-74c7cf70ffe49d907df13521edd760467d0602b0.tar.gz
aur-74c7cf70ffe49d907df13521edd760467d0602b0.tar.xz
Add explanation for Popularity field in search results
Fixes FS#45327. Signed-off-by: Leonidas Spyropoulos <artafinde@gmail.com> Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
Diffstat (limited to 'web/template/pkg_search_results.php')
-rw-r--r--web/template/pkg_search_results.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/template/pkg_search_results.php b/web/template/pkg_search_results.php
index 13d9bfca..5c8f73e9 100644
--- a/web/template/pkg_search_results.php
+++ b/web/template/pkg_search_results.php
@@ -35,7 +35,7 @@ if (!$result): ?>
<th><a href="?<?= mkurl('SB=n&SO=' . $SO_next) ?>"><?= __("Name") ?></a></th>
<th><?= __("Version") ?></th>
<th><a href="?<?= mkurl('SB=v&SO=' . $SO_next) ?>"><?= __("Votes") ?></a></th>
- <th><a href="?<?= mkurl('SB=p&SO=' . $SO_next) ?>"><?= __("Popularity") ?></a></th>
+ <th><a href="?<?= mkurl('SB=p&SO=' . $SO_next) ?>"><?= __("Popularity") ?></a><span title="<?= __('Popularity is calculated as the sum of all votes with each vote being weighted with a factor of 0.98 per day since its creation.') ?>" class="hover-help"><sup>?</sup></span></th>
<?php if ($SID): ?>
<th><a href="?<?= mkurl('SB=w&SO=' . $SO_next) ?>"><?= __("Voted") ?></a></th>
<th><a href="?<?= mkurl('SB=o&SO=' . $SO_next) ?>"><?= __("Notify") ?></a></th>