Added link in Action logs table

This commit is contained in:
Francesco
2023-09-30 14:52:14 +02:00
parent cb7e18a920
commit fd2728083b
3 changed files with 30 additions and 7 deletions

View File

@@ -109,7 +109,14 @@
</td>
<td th:text="${entry.getOnTable()}">
</td>
<td th:text="${entry.getPrimaryKey()}">
<td>
<th:block th:if="${entry.getActionType() != 'DELETE'}">
<a th:href="|/${baseUrl}/model/${entry.getJavaClass()}/show/${entry.getPrimaryKey()}|"
th:text="${entry.getPrimaryKey()}"></a>
</th:block>
<th:block th:if="${entry.getActionType() == 'DELETE'}">
<span th:text="${entry.getPrimaryKey()}"></span>
</th:block>
</td>
<td th:text="${entry.getFormattedDate()}">
</td>