mirror of
https://github.com/mbirth/tcl_update_db.git
synced 2024-12-27 04:54:08 +00:00
Show variant description in tooltip.
This commit is contained in:
parent
3de1b94816
commit
9d3ad675ef
@ -31,7 +31,13 @@ foreach ($allVars as $family => $models) {
|
|||||||
$allVersions = $db->getAllVersionsForModel($model);
|
$allVersions = $db->getAllVersionsForModel($model);
|
||||||
echo '<table><tbody>';
|
echo '<table><tbody>';
|
||||||
foreach ($variants as $ref => $name) {
|
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);
|
$refVersions = $db->getAllVersionsForRef($ref);
|
||||||
$allOta = $db->getAllVersionsForRef($ref, $db::OTA_ONLY);
|
$allOta = $db->getAllVersionsForRef($ref, $db::OTA_ONLY);
|
||||||
foreach ($allVersions as $v) {
|
foreach ($allVersions as $v) {
|
||||||
|
Loading…
Reference in New Issue
Block a user