Update build view to link part types for better navigation
This commit is contained in:
@@ -15,7 +15,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr th:each="p : ${build.getParts()}">
|
<tr th:each="p : ${build.getParts()}">
|
||||||
<td><a th:href="'/view/' + ${p.qr}" th:text="${p.qr}"></a></td>
|
<td><a th:href="'/view/' + ${p.qr}" th:text="${p.qr}"></a></td>
|
||||||
<td th:text="${descriptors.getDescriptorForType(p.type).displayName}"></td>
|
<td><a th:href="'/browse/' + ${p.type}" th:text="${descriptors.getDescriptorForType(p.type).displayName}"></a></td>
|
||||||
<td th:text="${descriptors.getGenericProperty('brand').renderValue(p)}"></td>
|
<td th:text="${descriptors.getGenericProperty('brand').renderValue(p)}"></td>
|
||||||
<td th:text="${descriptors.getGenericProperty('model').renderValue(p)}"></td>
|
<td th:text="${descriptors.getGenericProperty('model').renderValue(p)}"></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
Reference in New Issue
Block a user