-
-
Notifications
You must be signed in to change notification settings - Fork 243
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BasicUI] Prefer sitemap label to name in sitemap selection (#2110)
Sitemaps are now also sorted by label/name. Dark theme is now properly handled. In case several sitemaps have the same label, the sitemap name is concatenated in parenthesis. Fix #2101 Signed-off-by: Laurent Garnier <[email protected]>
- Loading branch information
Showing
4 changed files
with
35 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
bundles/org.openhab.ui.basic/src/main/resources/snippets/sitemaps_list_item.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<div class="welcome-sitemaps__sitemap"> | ||
<i class='material-icons'></i> | ||
<a href='/basicui/app?sitemap=%sitemap%'>%sitemap%</a> | ||
<a href='/basicui/app?sitemap=%name%'>%label%</a> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters