mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Make SupportedDivecomputer HTML more compact
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
4617225f68
commit
f80c3d8608
2 changed files with 46 additions and 89 deletions
|
@ -36,12 +36,12 @@ foreach (@sortedDescriptors) {
|
|||
printf(", %s", $mod);
|
||||
} else {
|
||||
if ($lastVend lt "Uemis" && $vend gt "Uemis") {
|
||||
printf("</li>\n\t</ul>\n </dd>\n <dt>Uemis</dt><dd>\n\t<ul>\n\t <li>Zürich SDA");
|
||||
printf("</li></ul>\n </dd>\n <dt>Uemis</dt><dd><ul>\n\t <li>Zürich SDA");
|
||||
}
|
||||
if ($lastVend eq "") {
|
||||
printf("<dl><dt>%s</dt><dd>\n\t<ul>\n\t <li>%s", $vend, $mod);
|
||||
printf("<dl><dt>%s</dt><dd><ul>\n\t <li>%s", $vend, $mod);
|
||||
} else {
|
||||
printf("</li>\n\t</ul>\n </dd>\n <dt>%s</dt><dd>\n\t<ul>\n\t <li>%s", $vend, $mod);
|
||||
printf("</li></ul>\n </dd>\n <dt>%s</dt><dd><ul>\n\t <li>%s", $vend, $mod);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue