diff --git a/mondumas/models/default.py b/mondumas/models/default.py
index 9d82133..93e6984 100644
--- a/mondumas/models/default.py
+++ b/mondumas/models/default.py
@@ -57,7 +57,7 @@ def get_member_info(request, logged_in):
elif results.access == 5:
fonction = 'Gestion'
else:
- fonction = 'Commercial'
+ fonction = 'Production'
return {
'nom': results.nom,
diff --git a/mondumas/templates/parametres/user_edit.pt b/mondumas/templates/parametres/user_edit.pt
index f7479b2..7ec08fb 100644
--- a/mondumas/templates/parametres/user_edit.pt
+++ b/mondumas/templates/parametres/user_edit.pt
@@ -100,6 +100,8 @@
Supprimer
Initialiser MDP
+
+ Se connecter à
diff --git a/mondumas/templates/parametres/users_list.pt b/mondumas/templates/parametres/users_list.pt
index 3cc8b7a..ddada36 100644
--- a/mondumas/templates/parametres/users_list.pt
+++ b/mondumas/templates/parametres/users_list.pt
@@ -44,12 +44,6 @@
return '' + data + '';
},
},
- { "targets": 4,
- "render": function (data, type, row, meta) {
- // ajouter un link vers le login
- return '' + data + '';
- },
- },
]
});
diff --git a/mondumas/views/parametres.py b/mondumas/views/parametres.py
index b4ab0a9..c0c3a12 100644
--- a/mondumas/views/parametres.py
+++ b/mondumas/views/parametres.py
@@ -56,14 +56,14 @@ def users_list(request):
else:
etat = ''
- if item.access == 0:
- role = 'Commercial'
+ if item.access == 5:
+ role = 'Gestion'
elif item.access == 8:
role = 'Compta'
elif item.access == 9:
role = 'Admin'
else:
- role = 'Gestion'
+ role = 'Production'
d = (item.CD_UTI, item.NOM, item.email, item.agenda, role, item.societe, etat)
liste.append(d)
diff --git a/production.ini b/production.ini
index 88d14bb..712b523 100644
--- a/production.ini
+++ b/production.ini
@@ -35,7 +35,7 @@ mail.ssl = yes
use = egg:waitress#main
host = 0.0.0.0
port = 9180
-url_scheme = http
+url_scheme = https
###
# logging configuration