Fix article links.

This commit is contained in:
CodeSteak 2020-06-01 21:15:27 +02:00
parent 976e2d1949
commit fc239983a7
3 changed files with 3 additions and 3 deletions

View File

@ -44,7 +44,7 @@
</tr>
<tr th:each="pos : ${booking.positions}">
<td><img th:src="@{/shop/articles/{id}/image.jpg(id=${pos.article.id})}" class="s"/></td>
<td><a th:href="@{/intern/listedArticles/{id}(id=${pos.article.id})}"
<td><a th:href="@{/intern/articles/{id}(id=${pos.article.id})}"
th:text="${pos.article.title}"></a></td>
<th:block th:if="${pos.amount > 0}">
<td th:text="${pos.amount}"></td>

View File

@ -78,7 +78,7 @@
<tr th:data-group="${booking.id}" th:each="pos : ${booking.positions}">
<td></td>
<td><a th:href="@{/intern/listedArticles/{id}(id=${pos.article.id})}"
<td><a th:href="@{/intern/articles/{id}(id=${pos.article.id})}"
th:text="${pos.article.title}"></a></td>
<th:block th:if="${pos.amount > 0}">
<td th:text="${pos.amount}"></td>

View File

@ -78,7 +78,7 @@
<tr th:each="pos : ${booking.positions}" th:data-group="${booking.id}">
<td><img th:src="@{/shop/articles/{id}/image.jpg(id=${pos.article.id})}" class="s"/></td>
<td><a th:href="@{/intern/listedArticles/{id}(id=${pos.article.id})}"
<td><a th:href="@{/intern/articles/{id}(id=${pos.article.id})}"
th:text="${pos.article.title}"></a></td>
<th:block th:if="${pos.amount > 0}">
<td th:text="${pos.amount}"></td>