show workpackage info for list of projects

This commit is contained in:
Jörg Henke
2026-01-19 15:10:48 +01:00
parent 14c8a5faa8
commit 2cf5a44cf5
4 changed files with 46 additions and 8 deletions

View File

@@ -12,13 +12,13 @@
<div class="container">
<div class="row">
<div class="col-2">Name</div>
<div class="col-10" th:text="${app.name}"></div>
<div class="col-10 fw-bold" th:text="${app.name}"></div>
<div class="col-2">Beschreibung</div>
<div class="col-10" th:text="${app.description}"></div>
<div class="col-2">Basisfunktion</div>
<div class="col-10" th:text="${app.basicFunctionality}"></div>
<div class="col-2">URL der Entwicklung</div>
<div class="col-10" th:text="${app.repositoryUrl}"></div>
<div class="col-10"><a th:href="${app.repositoryUrl}" target="_blank" th:text="${app.repositoryUrl}"></a></div>
<div class="col-2" th:if="${app.fkReplacedByApp}">Ersetzt durch andere App</div>
<div class="col-10" th:if="${app.fkReplacedByApp}">
<a th:href="@{/projectmanagement/app/{id}/assign(id=${app.fkReplacedByApp})}" th:text="${app.fkReplacedByApp}"></a>
@@ -28,7 +28,7 @@
<th:block th:with="b=${bundleMap.get(app.fkBundle)}">
<div th:text="${b.name}"></div>
<div th:text="${b.description}"></div>
</h:block>
</th:block>
</div>
</div>
<div class="row">

View File

@@ -26,7 +26,7 @@
<td th:text="${b.name}"></td>
<td th:text="${b.description}"></td>
<td><a th:href="${b.repositoryUrl}" target="_blank">gitlab</a></td>
<td><a th:href="@{/projectmanagement/app/{id}/assign(id=${b.pkApp})}">zuordnen</a></td>
<td><a th:href="@{/projectmanagement/app/{id}/assign(id=${b.pkApp})}">zuordnen</a><span th:text="' (' + ${b.workpackagesString} + ')'" th:if="${b.workpackagesString}"></span></td>
</tr>
</tbody>
</table>