Add description support for asset properties and update related models

This commit is contained in:
2025-06-08 14:47:13 +02:00
parent a490b2a306
commit c8829c5f7c
10 changed files with 94 additions and 26 deletions

View File

@@ -6,7 +6,7 @@
<h2 th:text="${d.displayName}"></h2>
<table border="1" cellpadding="4">
<tr th:each="p : ${d.getProperties()}">
<td bgcolor="#d3d3d3"><b><label th:text="${p.displayName}" th:for="${d.asString(p)}"></label></b></td>
<td bgcolor="#d3d3d3"><b><label th:text="${p.displayName}" th:for="${d.asString(p)}" th:title="${p.description}"></label></b></td>
<td th:switch="${p.type.nameOrEnum()}">
<span th:case="STRING">
<select th:if="${p.inputList}" th:id="${d.asString(p)+'-list'}" th:name="${d.asString(p)+'-list'}">