summaryrefslogtreecommitdiffstats
path: root/web/template
diff options
context:
space:
mode:
authorLukas Fleischer <archlinux@cryptocrack.de>2014-05-22 20:47:07 +0200
committerLukas Fleischer <archlinux@cryptocrack.de>2014-05-22 20:47:32 +0200
commitd962d66d638ad8e11cadfa365b1cff8489f45f76 (patch)
treed146157a6a877efb47a4400825bd3ba588af7357 /web/template
parent42461cc78e99bf1418707dc218acedc858a5ec3a (diff)
downloadaur-d962d66d638ad8e11cadfa365b1cff8489f45f76.tar.gz
aur-d962d66d638ad8e11cadfa365b1cff8489f45f76.tar.xz
Add title attribute to links in updates table
As of commit ea25f98 (Avoid overflow in updates table, 2014-05-22), long package names in the updates statistics are chopped off. Add a title attribute so that users at least get a tooltip with the full package name and version. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web/template')
-rw-r--r--web/template/stats/updates_table.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/template/stats/updates_table.php b/web/template/stats/updates_table.php
index 83e21037..a4b31c51 100644
--- a/web/template/stats/updates_table.php
+++ b/web/template/stats/updates_table.php
@@ -7,7 +7,7 @@
<?php foreach ($newest_packages->getIterator() as $row): ?>
<tr>
<td class="pkg-name">
- <a href="<?= get_pkg_uri($row["Name"]); ?>"><?= htmlspecialchars($row["Name"]) . ' ' . htmlspecialchars($row["Version"]); ?></a>
+ <a href="<?= get_pkg_uri($row["Name"]); ?>" title="<?= htmlspecialchars($row["Name"]) . ' ' . htmlspecialchars($row["Version"]); ?>"><?= htmlspecialchars($row["Name"]) . ' ' . htmlspecialchars($row["Version"]); ?></a>
</td>
<td class="pkg-new">
<?php if ($row["ModifiedTS"] === $row["SubmittedTS"]): ?>