From eaf709ed4d502934e08cf5c5c77399d7aaef1871 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juhn-Vitus=20Sa=C3=9F?= Date: Tue, 22 Apr 2025 18:54:59 +0200 Subject: [PATCH] Verbesserte Ansicht des Ursprungs und der Editoren --- django/templates/library/detail_quiz.html | 12 +++++++----- django/templates/library/overview_quiz.html | 6 +++--- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/django/templates/library/detail_quiz.html b/django/templates/library/detail_quiz.html index f62d2bb..1d01e31 100644 --- a/django/templates/library/detail_quiz.html +++ b/django/templates/library/detail_quiz.html @@ -193,24 +193,26 @@
{% if quiz.base_quiz %} -

Bearbeitung: {{ quiz.user_id}}

+

Bearbeitung: {{ quiz.user_id }}

+ {% else %} +

Autor: {{ quiz.user_id }}

{% endif %} -
+
{% if quiz.base_quiz %} -

Kopie von: {{ quiz.base_quiz}}

+

Kopie von: {{ quiz.base_quiz}}

{% endif %}
{% if quiz.base_quiz %} -

Autor: {{ quiz.base_quiz.user_id}}

+

Autor: {{ quiz.base_quiz.user_id }}

{% endif %}
{% if quiz.credits %} -

Credits: {{ quiz.credits }}

+

Credits: {{ quiz.credits }}

{% endif %}
diff --git a/django/templates/library/overview_quiz.html b/django/templates/library/overview_quiz.html index 710dbc2..67f0e96 100644 --- a/django/templates/library/overview_quiz.html +++ b/django/templates/library/overview_quiz.html @@ -55,15 +55,15 @@
- +
- +
- +