diff options
-rw-r--r-- | web/html/css/aurweb.css | 5 | ||||
-rw-r--r-- | web/template/pkg_search_results.php | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/web/html/css/aurweb.css b/web/html/css/aurweb.css index a3f43bd1..346f2eab 100644 --- a/web/html/css/aurweb.css +++ b/web/html/css/aurweb.css @@ -85,3 +85,8 @@ legend { p.important { font-weight: bold; } + +span.hover-help { + border-bottom: 1px dotted black; + cursor:help; +} 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> |