From 56fae107bf7ef943df04f265af4c63a9ea08a8ed Mon Sep 17 00:00:00 2001 From: terrtia Date: Tue, 16 Apr 2024 22:56:03 +0200 Subject: [PATCH] fix: [ocr] UI correlation, fix language bloc --- var/www/templates/objects/ocr/card_ocr.html | 77 +++++++++++---------- 1 file changed, 39 insertions(+), 38 deletions(-) diff --git a/var/www/templates/objects/ocr/card_ocr.html b/var/www/templates/objects/ocr/card_ocr.html index d9cebe4b..f325375d 100644 --- a/var/www/templates/objects/ocr/card_ocr.html +++ b/var/www/templates/objects/ocr/card_ocr.html @@ -75,48 +75,49 @@ + {% if not is_correlation %} +
-
- - {% set mess_id_escape= meta['id'] | replace("/", "_") %} - -
-
-
- - - Source: - - - - {% if translation_target %} - -     Target:{{translation_target}} - - - {% else %} - - {% endif %} -
-
- - Detect Language - + {% set mess_id_escape= meta['id'] | replace("/", "_") %} + +
+
+
+ + + Source: + + + + {% if translation_target %} + +     Target:{{translation_target}} + + + {% else %} + + {% endif %} +
+
-
+ {% endif %}