summaryrefslogtreecommitdiff
path: root/src/main/resources/templates/report.html
diff options
context:
space:
mode:
authorPaul-Christian Volkmer2024-01-11 13:09:55 +0100
committerPaul-Christian Volkmer2024-01-11 13:29:33 +0100
commit8a11e6e85b2b2cb4f860ddca010386cb3f701f9b (patch)
treee5e21d21cba3f6d5845b185bce26a5d80e126b42 /src/main/resources/templates/report.html
parent5579ad14534111db6954b772ccd0ea72a09e4c15 (diff)
feat #18: initial support for authentication
Diffstat (limited to 'src/main/resources/templates/report.html')
-rw-r--r--src/main/resources/templates/report.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main/resources/templates/report.html b/src/main/resources/templates/report.html
index 01accc4..6f89345 100644
--- a/src/main/resources/templates/report.html
+++ b/src/main/resources/templates/report.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<html lang="de" xmlns:th="http://www.thymeleaf.org">
+<html lang="de" xmlns:th="http://www.thymeleaf.org" xmlns:sec="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8">
<title>ETL-Prozessor</title>
@@ -31,7 +31,8 @@
<td th:style="${request.type.value == 'delete'} ? 'color: red;'"><small>[[ ${request.type} ]]</small></td>
<td>[[ ${request.uuid} ]]</td>
<td><time th:datetime="${request.processedAt}">[[ ${request.processedAt} ]]</time></td>
- <td>[[ ${request.patientId} ]]</td>
+ <td class="patient-id" sec:authorize="authenticated">[[ ${request.patientId} ]]</td>
+ <td class="patient-id" sec:authorize="not authenticated">***</td>
</tr>
</tbody>
</table>