From 1069dd1cad9a8422e747ac59cc14abe5ec6bbbde Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juhn-Vitus=20Sa=C3=9F?= Date: Tue, 22 Apr 2025 19:36:16 +0200 Subject: [PATCH] =?UTF-8?q?Nachricht=20f=C3=BCr=20keine=20Bewertung=20auch?= =?UTF-8?q?=20bei=20fremden=20Quizzen=20anzeigen?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- django/templates/library/overview_quiz.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/django/templates/library/overview_quiz.html b/django/templates/library/overview_quiz.html index 67f0e96..c1b9332 100644 --- a/django/templates/library/overview_quiz.html +++ b/django/templates/library/overview_quiz.html @@ -556,6 +556,7 @@
+ {% if quiz.rating_count > 0 %} {% for i in '12345'|make_list %} {% if forloop.counter <= quiz.average_rating|floatformat:0|add:0 %} @@ -564,6 +565,9 @@ {% endif %} {% endfor %} ({{ quiz.rating_count }}) + {% else %} + Noch keine Bewertungen + {% endif %}