diff options
Diffstat (limited to '')
-rw-r--r-- | accounts/views.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/accounts/views.py b/accounts/views.py index 36f59cd..804a841 100644 --- a/accounts/views.py +++ b/accounts/views.py @@ -77,10 +77,16 @@ def personal(request): else: parent_group = request.user.groups.values_list('name', flat=True)[ 0] - if parent_group == "muta": + if parent_group == "colonia": + branca_castorini = "selected" + elif parent_group == "muta": branca_lupetti = "selected" elif parent_group == "reparto": branca_esploratori = "selected" + elif parent_group == "posto": + branca_pionieri = "selected" + elif parent_group == "clan": + branca_rover = "selected" else: branca_default = "selected" |