1
0
mirror of https://github.com/mbirth/tcl_update_db.git synced 2024-09-20 01:03:26 +01:00

Show variant description in tooltip.

This commit is contained in:
Markus Birth 2017-12-17 19:57:39 +01:00
parent 3de1b94816
commit 9d3ad675ef
Signed by: mbirth
GPG Key ID: A9928D7A098C3A9A

View File

@ -31,7 +31,13 @@ foreach ($allVars as $family => $models) {
$allVersions = $db->getAllVersionsForModel($model);
echo '<table><tbody>';
foreach ($variants as $ref => $name) {
echo '<tr><td class="ref">' . $ref . '</td>';
echo '<tr><td class="ref">';
if (mb_strlen($name) > 0) {
echo '<abbr title="' . $name . '">' . $ref . '</abbr>';
} else {
echo $ref;
}
echo '</td>';
$refVersions = $db->getAllVersionsForRef($ref);
$allOta = $db->getAllVersionsForRef($ref, $db::OTA_ONLY);
foreach ($allVersions as $v) {