[aur-dev] [PATCH] Add title attribute to links in updates table

Lukas Fleischer archlinux at cryptocrack.de
Thu May 22 14:50:40 EDT 2014


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 at cryptocrack.de>
---
 web/template/stats/updates_table.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/web/template/stats/updates_table.php b/web/template/stats/updates_table.php
index 83e2103..a4b31c5 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"]): ?>
-- 
1.9.3



More information about the aur-dev mailing list