From a7140eef5735c5c479fbef84a80eead32b2d38a3 Mon Sep 17 00:00:00 2001
From: Moritz Bunkus
Date: Thu, 13 Jun 2013 10:32:08 +0200
Subject: [PATCH] Umstellung auf neuen select_tag-Parameternamen
default_value_key
---
templates/webpages/admin/edit_client.html | 4 ++--
templates/webpages/admin/edit_group.html | 4 ++--
templates/webpages/admin/edit_user.html | 4 ++--
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/templates/webpages/admin/edit_client.html b/templates/webpages/admin/edit_client.html
index 392b6c4e5..8b0712aed 100644
--- a/templates/webpages/admin/edit_client.html
+++ b/templates/webpages/admin/edit_client.html
@@ -58,7 +58,7 @@
- [% L.select_tag("client.users[]", SELF.all_users, id="client_users", title_key="login", default=SELF.client.users, default_key='id', multiple=1) %]
+ [% L.select_tag("client.users[]", SELF.all_users, id="client_users", title_key="login", default=SELF.client.users, default_value_key='id', multiple=1) %]
[% L.multiselect2side("client_users", labelsx => LxERP.t8("All users"), labeldx => LxERP.t8("Users that have access to this client")) %]
@@ -76,7 +76,7 @@
- [% L.select_tag("client.groups[]", SELF.all_groups, id="client_groups", title_key="name", default=SELF.client.groups, default_key='id', multiple=1) %]
+ [% L.select_tag("client.groups[]", SELF.all_groups, id="client_groups", title_key="name", default=SELF.client.groups, default_value_key='id', multiple=1) %]
[% L.multiselect2side("client_groups", labelsx => LxERP.t8("All groups"), labeldx => LxERP.t8("Groups valid for this client")) %]
diff --git a/templates/webpages/admin/edit_group.html b/templates/webpages/admin/edit_group.html
index 32a20b0ed..78e1fb685 100644
--- a/templates/webpages/admin/edit_group.html
+++ b/templates/webpages/admin/edit_group.html
@@ -52,7 +52,7 @@
- [% L.select_tag("group.users[]", SELF.all_users, id="group_users", title_key="login", default=SELF.group.users, default_key='id', multiple=1) %]
+ [% L.select_tag("group.users[]", SELF.all_users, id="group_users", title_key="login", default=SELF.group.users, default_value_key='id', multiple=1) %]
[% L.multiselect2side("group_users", labelsx => LxERP.t8("All users"), labeldx => LxERP.t8("Users that are a member in this group")) %]
@@ -70,7 +70,7 @@
- [% L.select_tag("group.clients[]", SELF.all_clients, id="group_clients", title_key="name", default=SELF.group.clients, default_key='id', multiple=1) %]
+ [% L.select_tag("group.clients[]", SELF.all_clients, id="group_clients", title_key="name", default=SELF.group.clients, default_value_key='id', multiple=1) %]
[% L.multiselect2side("group_clients", labelsx => LxERP.t8("All clients"), labeldx => LxERP.t8("Clients this Group is valid for")) %]
diff --git a/templates/webpages/admin/edit_user.html b/templates/webpages/admin/edit_user.html
index dc7b9d79c..f8154bf07 100644
--- a/templates/webpages/admin/edit_user.html
+++ b/templates/webpages/admin/edit_user.html
@@ -109,7 +109,7 @@
- [% L.select_tag("user.clients[]", SELF.all_clients, id="user_clients", title_key="name", default=SELF.user.clients, default_key='id', multiple=1) %]
+ [% L.select_tag("user.clients[]", SELF.all_clients, id="user_clients", title_key="name", default=SELF.user.clients, default_value_key='id', multiple=1) %]
[% L.multiselect2side("user_clients", labelsx => LxERP.t8("All clients"), labeldx => LxERP.t8("Clients this user has access to")) %]
@@ -127,7 +127,7 @@
- [% L.select_tag("user.groups[]", SELF.all_groups, id="user_groups", title_key="name", default=SELF.user.groups, default_key='id', multiple=1) %]
+ [% L.select_tag("user.groups[]", SELF.all_groups, id="user_groups", title_key="name", default=SELF.user.groups, default_value_key='id', multiple=1) %]
[% L.multiselect2side("user_groups", labelsx => LxERP.t8("All groups"), labeldx => LxERP.t8("Groups this user is a member in")) %]
--
2.20.1