From bc13c56ac49f45a3fa5b504c38f63a3ad242ad36 Mon Sep 17 00:00:00 2001 From: Andrea Lepori Date: Mon, 26 Sep 2022 19:40:41 +0200 Subject: change "colonia" to "diga" --- server/templates/server/doc_list.html | 6 +++--- server/templates/server/doc_list_readonly.html | 6 +++--- server/views.py | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) (limited to 'server') diff --git a/server/templates/server/doc_list.html b/server/templates/server/doc_list.html index be18abf..45ea6e0 100644 --- a/server/templates/server/doc_list.html +++ b/server/templates/server/doc_list.html @@ -136,8 +136,8 @@
{{total_count}} Tutti
-
- {{colonia_count}} Colonia +
+ {{diga_count}} Diga
{{muta_count}} Muta @@ -676,7 +676,7 @@ function filterResults(group_name) { function showAll() { var items = document.getElementsByClassName("item"); - document.getElementById("colonia_filter").className = "chip {{color}} white-text"; + document.getElementById("diga_filter").className = "chip {{color}} white-text"; document.getElementById("muta_filter").className = "chip {{color}} white-text"; document.getElementById("reparto_filter").className = "chip {{color}} white-text"; document.getElementById("posto_filter").className = "chip {{color}} white-text"; diff --git a/server/templates/server/doc_list_readonly.html b/server/templates/server/doc_list_readonly.html index 6db49c8..ac1ae6d 100644 --- a/server/templates/server/doc_list_readonly.html +++ b/server/templates/server/doc_list_readonly.html @@ -117,8 +117,8 @@
{{total_count}} Tutti
-
- {{colonia_count}} Colonia +
+ {{diga_count}} Diga
{{muta_count}} Muta @@ -657,7 +657,7 @@ function filterResults(group_name) { function showAll() { var items = document.getElementsByClassName("item"); - document.getElementById("colonia_filter").className = "chip {{color}} white-text"; + document.getElementById("diga_filter").className = "chip {{color}} white-text"; document.getElementById("muta_filter").className = "chip {{color}} white-text"; document.getElementById("reparto_filter").className = "chip {{color}} white-text"; document.getElementById("posto_filter").className = "chip {{color}} white-text"; diff --git a/server/views.py b/server/views.py index 4133d3c..12b79e9 100644 --- a/server/views.py +++ b/server/views.py @@ -1237,7 +1237,7 @@ def doclist(request): 'error_text': error_text, 'settings': settings, 'total_count': documents.count, - 'colonia_count': documents.filter(user__groups__name__contains="colonia").count, + 'diga_count': documents.filter(user__groups__name__contains="diga").count, 'muta_count': documents.filter(user__groups__name__contains="muta").count, 'reparto_count': documents.filter(user__groups__name__contains="reparto").count, 'posto_count': documents.filter(user__groups__name__contains="posto").count, @@ -1467,7 +1467,7 @@ def doclist_readonly(request): 'error_text': error_text, 'settings': settings, 'total_count': documents.count, - 'colonia_count': documents.filter(user__groups__name__contains="colonia").count, + 'diga_count': documents.filter(user__groups__name__contains="diga").count, 'muta_count': documents.filter(user__groups__name__contains="muta").count, 'reparto_count': documents.filter(user__groups__name__contains="reparto").count, 'posto_count': documents.filter(user__groups__name__contains="posto").count, -- cgit v1.2.1