diff options
| author | Paul-Christian Volkmer | 2026-09-21 11:43:03 +0200 |
|---|---|---|
| committer | GitHub | 2026-09-21 11:43:03 +0200 |
| commit | d9961a9baccaff511662b1aa1de18bdd02f94f5e (patch) | |
| tree | b4d47b8eed6aaceebaead375e8265e5f245bff82 /src/main/resources/templates | |
| parent | b0fb01d12fcadf86cabbe71b16cce60fb88b0ca4 (diff) | |
feat: add switch/routing to send dedicated data to nNGM (#322)
Diffstat (limited to 'src/main/resources/templates')
| -rw-r--r-- | src/main/resources/templates/fragments.html | 5 | ||||
| -rw-r--r-- | src/main/resources/templates/report.html | 2 |
2 files changed, 5 insertions, 2 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> diff --git a/src/main/resources/templates/report.html b/src/main/resources/templates/report.html index bdc7457..b739bbf 100644 --- a/src/main/resources/templates/report.html +++ b/src/main/resources/templates/report.html @@ -34,7 +34,7 @@ <td th:if="${issue.severity.value == 'error'}" class="bg-red"><small>[[ ${issue.severity} ]]</small></td> <td th:if="${issue.severity.value == 'fatal'}" class="bg-red"><small>[[ ${issue.severity} ]]</small></td> <td> - <div class="issue-message">[[ ${issue.getMessage()} ]]</div> + <div class="issue-message">[[ ${issue.getMessageText()} ]]</div> <div class="issue-path" th:if="${issue.path.isPresent()}">[[ ${issue.path.get()} ]]</div> <div class="issue-path" th:if="${issue.path.isEmpty()}"><i>Keine Angabe</i></div> </td> |
