summaryrefslogtreecommitdiff
path: root/src/main/resources/templates/fragments.html
diff options
context:
space:
mode:
authorPaul-Christian Volkmer2026-09-21 11:43:03 +0200
committerGitHub2026-09-21 11:43:03 +0200
commitd9961a9baccaff511662b1aa1de18bdd02f94f5e (patch)
treeb4d47b8eed6aaceebaead375e8265e5f245bff82 /src/main/resources/templates/fragments.html
parentb0fb01d12fcadf86cabbe71b16cce60fb88b0ca4 (diff)
feat: add switch/routing to send dedicated data to nNGM (#322)
Diffstat (limited to 'src/main/resources/templates/fragments.html')
-rw-r--r--src/main/resources/templates/fragments.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main/resources/templates/fragments.html b/src/main/resources/templates/fragments.html
index ea83ed2..1a7a257 100644
--- a/src/main/resources/templates/fragments.html
+++ b/src/main/resources/templates/fragments.html
@@ -54,7 +54,10 @@
<div th:if="${request.type.value == 'delete'}">
<span>🗑 Löschanfrage vom </span><time th:datetime="${request.processedAt}">[[ ${request.processedAt} ]]</time>
</div>
- <div sec:authorize="hasRole('USER') or hasRole('ADMIN')" th:if="${postInitialSubmissionBlock}">
+ <div class="destination" th:if="${request.destination.value == 'kafka'}">Kafka Broker</div>
+ <div class="destination" th:if="${request.destination.value == 'dnpm_dip'}">DNPM:DIP</div>
+ <div class="destination" th:if="${request.destination.value == 'nngm_api'}">nNGM-API</div>
+ <div class="accepted" sec:authorize="hasRole('USER') or hasRole('ADMIN')" th:if="${postInitialSubmissionBlock}">
<button class="btn btn-green" hx-swap="outerHTML" th:hx-target="${'#request_' + request.uuid}" th:hx-delete="@{/submission/{requestId}/accepted(requestId=${request.uuid})}" th:if="${ request.submissionType.value == 'initial' and (request.status.value == 'success' or request.status.value == 'warning') and request.submissionAccepted == true}" title="Doch keine Meldebestätigung - jetzt blockieren">
🔓 Bestätigte Initialmeldung
</button>