From 914775d0855b16faa4fd61dbf71d9830b17d283c Mon Sep 17 00:00:00 2001
From: Ulysse ARNAUD
Date: Sat, 28 Oct 2023 17:26:42 +0200
Subject: [PATCH] Replaced alert in each category with at least one entry
unknown to single alert for the language at the top of page
---
web/templates/concepts.html | 19 +++++++++++--------
web/views.py | 8 +++++++-
2 files changed, 18 insertions(+), 9 deletions(-)
diff --git a/web/templates/concepts.html b/web/templates/concepts.html
index 58e51414b..fb4a93b00 100644
--- a/web/templates/concepts.html
+++ b/web/templates/concepts.html
@@ -23,6 +23,17 @@
{{ title }}
the language column{{ languages | length | pluralize }} to correct any
information.
+ {% for lang in languages %}
+ {% if lang.is_incomplete %}
+
+ {{ lang.name }} ({{ lang.version }})'s thesaurus is incomplete. Please help us improve by
+
+ adding or correcting information
+
+ for this language.
+
+ {% endif %}
+ {% endfor %}
{% for category in categories %}
@@ -38,14 +49,6 @@
Concept
{{ lang.name }}'s Implementation
- {% with i=forloop.counter %}
- {% if category.is_incomplete|slice:i|last %}
-