diff options
author | Andrea Lepori <alepori@student.ethz.ch> | 2022-09-26 19:40:41 +0200 |
---|---|---|
committer | Andrea Lepori <alepori@student.ethz.ch> | 2022-09-26 19:40:41 +0200 |
commit | bc13c56ac49f45a3fa5b504c38f63a3ad242ad36 (patch) | |
tree | 046c7668a055178c67c0eef9da1a57ae00731abd /accounts | |
parent | create model to hide doctype from specific group (diff) | |
download | scout-subs-bc13c56ac49f45a3fa5b504c38f63a3ad242ad36.tar.gz scout-subs-bc13c56ac49f45a3fa5b504c38f63a3ad242ad36.zip |
change "colonia" to "diga"
Diffstat (limited to '')
-rw-r--r-- | accounts/templates/accounts/index.html | 2 | ||||
-rw-r--r-- | accounts/views.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/accounts/templates/accounts/index.html b/accounts/templates/accounts/index.html index 8ce5990..4eaa42e 100644 --- a/accounts/templates/accounts/index.html +++ b/accounts/templates/accounts/index.html @@ -55,7 +55,7 @@ <div class="input-field col l4 s12"> <select name="branca" disabled> <option value="" disabled {{branca_default}}>Nessuna</option> - <option value="colonia" {{branca_castorini}}>Castorini</option> + <option value="diga" {{branca_castorini}}>Castorini</option> <option value="muta" {{branca_lupetti}}>Lupetti</option> <option value="reparto" {{branca_esploratori}}>Esploratori</option> <option value="posto" {{branca_pionieri}}>Pionieri</option> diff --git a/accounts/views.py b/accounts/views.py index 88bd141..8ea48f2 100644 --- a/accounts/views.py +++ b/accounts/views.py @@ -641,7 +641,7 @@ def personal_wrapper(request, errors): branca_default = "selected" else: parent_group = request.user.groups.values_list('name', flat=True)[0] - if parent_group == "colonia": + if parent_group == "diga": branca_castorini = "selected" elif parent_group == "muta": branca_lupetti = "selected" |