diff options
| author | Paul-Christian Volkmer | 2026-03-10 09:01:58 +0100 |
|---|---|---|
| committer | GitHub | 2026-03-10 08:01:58 +0000 |
| commit | 1a0011765fa2d34f7d0075f463beb9e614ec8812 (patch) | |
| tree | fb55eb32700d21c3ab6da5b1e68c07a7e21e4014 /src/main/resources/templates/index.html | |
| parent | 48f6124e2cc27476dba8ebfb398c1b4ad8875164 (diff) | |
feat: request update audit (#258)
This adds the date and username when a request gets updated.
If the request gets updated by an async Kafka response, "SYSTEM" will be used as username.
Diffstat (limited to 'src/main/resources/templates/index.html')
| -rw-r--r-- | src/main/resources/templates/index.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main/resources/templates/index.html b/src/main/resources/templates/index.html index cea3f73..da85025 100644 --- a/src/main/resources/templates/index.html +++ b/src/main/resources/templates/index.html @@ -75,6 +75,11 @@ <th:block th:if="${request.submissionType.value != 'unknown'}">([[ ${request.submissionType} ]])</th:block> </span> </div> + <div sec:authorize="hasRole('USER') or hasRole('ADMIN')">Letzte Aktualisierung</div> + <div sec:authorize="hasRole('USER') or hasRole('ADMIN')"> + <time th:if="${request.updatedAt}" th:datetime="${request.updatedAt}">[[ ${request.updatedAt} ]]</time> + <span th:if="${request.updatedBy}"> durch [[ ${request.updatedBy} ]]</span> + </div> <div sec:authorize="hasRole('USER') or hasRole('ADMIN')">Patienten-Pseudonym</div> <div class="patient-id" th:if="${patientPseudonym != null}" sec:authorize="hasRole('USER') or hasRole('ADMIN')"> [[ ${request.patientPseudonym} ]] |
