From fec69ae609019b33b0843ae73dea102c7dc233d1 Mon Sep 17 00:00:00 2001 From: Felix Dittrich <31076102+f11h@users.noreply.github.com> Date: Tue, 31 Aug 2021 11:13:57 +0200 Subject: [PATCH] Display Health Authoritie's "Kopfnummer" (#115) * Rename TeleTAN Portal to CWA Tan Portal Add Health Authority Selector for PIW TAN * Add Server-Side Check of HA ID * Add Display of "Kopfnummer" of Health Authority * Add accidently removed th:if attribute --- src/main/resources/static/tan.js | 2 ++ src/main/resources/templates/start.html | 7 +++++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/main/resources/static/tan.js b/src/main/resources/static/tan.js index 92618ac..37876e8 100644 --- a/src/main/resources/static/tan.js +++ b/src/main/resources/static/tan.js @@ -2,6 +2,7 @@ $(document).ready(() => { const healthAuthorityInput = $("#health-authority"); const healthAuthorityIdInput = $("#health-authority-id"); + const healthAuthorityIdDisplay = $("#health-authority-id-display"); const healthAuthorityDataList = $("#health-authorities"); const piwTanButton = $("#piw-tan-button"); @@ -16,6 +17,7 @@ if (foundId) { piwTanButton.prop("disabled", false); healthAuthorityIdInput.val(foundId.nr); + healthAuthorityIdDisplay.text(foundId.nr); } else { piwTanButton.prop("disabled", true); } diff --git a/src/main/resources/templates/start.html b/src/main/resources/templates/start.html index 413cac4..9d7c4fc 100644 --- a/src/main/resources/templates/start.html +++ b/src/main/resources/templates/start.html @@ -47,7 +47,7 @@ -
+
PIW Tan (Positiver bei Event)
@@ -57,7 +57,10 @@
- +
+ Kopfnummer: Wählen Sie das anfordernde Gesundheitsamt aus +
+