From 2ec270ecfeda5ac69f53301b3c4c85659a9b6b5e Mon Sep 17 00:00:00 2001
From: Jan Hartig <jan.hartig@ptb.de>
Date: Thu, 17 Aug 2023 14:16:32 +0200
Subject: [PATCH] Add PTB-Tube link and fix spinning arrow alt text

---
 localisations.toml     | 4 ++--
 templates/success.html | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/localisations.toml b/localisations.toml
index 1a217b8..d013b64 100644
--- a/localisations.toml
+++ b/localisations.toml
@@ -3,8 +3,8 @@ de = "PTB Untertitel Dienst"
 en = "PTB Subtitle Service"
 
 [ leadtext ]
-de = "Dieser Dienst erstellt automatisch Untertitel für Videos,<br>welche z.B. für PTB-Tube genutzt werden können.<br>Die KI-Verarbeitung läuft im HPC-Cluster der PTB."
-en = "This service automatically creates subtitles for videos,<br>which can, for example, be used for PTB-Tube.<br>The AI processing runs in PTB's HPC cluster."
+de = "Dieser Dienst erstellt automatisch Untertitel für Videos,<br>welche z.B. für <a class='link-dark link-offset-2 link-offset-3-hover link-underline link-underline-opacity-0 link-underline-opacity-75-hover' href='https://tube.ptb.de'>PTB-Tube</a> genutzt werden können.<br>Die KI-Verarbeitung läuft im HPC-Cluster der PTB."
+en = "This service automatically creates subtitles for videos,<br>which can, for example, be used for <a class='link-dark link-offset-2 link-offset-3-hover link-underline link-underline-opacity-0 link-underline-opacity-75-hover' href='https://tube.ptb.de'>PTB-Tube</a>.<br>The AI processing runs in PTB's HPC cluster."
 
 [ successtext]
 de = "Daten erfolgreich übermittelt. Ihre Untertitel werden demnächst generiert.<br>Sobald der Prozess abgeschlossen ist, erhalten Sie eine E-Mail."
diff --git a/templates/success.html b/templates/success.html
index 72e6595..2bc6735 100644
--- a/templates/success.html
+++ b/templates/success.html
@@ -2,7 +2,7 @@
 
 {% block content %}
 <div class="py-5 text-center">
-    <img class="mx-auto mb-4 spinner processing transition-opacity" src="{{ url_for('static', filename='img/arrow-repeat.svg') }}" alt="Checkmark" height="136">
+    <img class="mx-auto mb-4 spinner processing transition-opacity" src="{{ url_for('static', filename='img/arrow-repeat.svg') }}" alt="Spinning arrow" height="136">
     <img class="mx-auto mb-4 success hidden transition-opacity" src="{{ url_for('static', filename='img/cloud-check.svg') }}" alt="Checkmark" height="136" hidden>
     <p class="pt-4 lead processing transition-opacity">{% autoescape false %}{{config["LOCALISATIONS"]["processingtext"][request.language]}}{% endautoescape %}</p>
     <p class="pt-4 lead success hidden transition-opacity" hidden>{% autoescape false %}{{config["LOCALISATIONS"]["successtext"][request.language]}}{% endautoescape %}</p>
-- 
GitLab