Revision a7140eef
Von Moritz Bunkus vor mehr als 11 Jahren hinzugefügt
templates/webpages/admin/edit_client.html | ||
---|---|---|
58 | 58 |
</p> |
59 | 59 |
|
60 | 60 |
<div class="clearfix"> |
61 |
[% L.select_tag("client.users[]", SELF.all_users, id="client_users", title_key="login", default=SELF.client.users, default_key='id', multiple=1) %] |
|
61 |
[% L.select_tag("client.users[]", SELF.all_users, id="client_users", title_key="login", default=SELF.client.users, default_value_key='id', multiple=1) %]
|
|
62 | 62 |
[% L.multiselect2side("client_users", labelsx => LxERP.t8("All users"), labeldx => LxERP.t8("Users that have access to this client")) %] |
63 | 63 |
</div> |
64 | 64 |
|
... | ... | |
76 | 76 |
</p> |
77 | 77 |
|
78 | 78 |
<div class="clearfix"> |
79 |
[% L.select_tag("client.groups[]", SELF.all_groups, id="client_groups", title_key="name", default=SELF.client.groups, default_key='id', multiple=1) %] |
|
79 |
[% L.select_tag("client.groups[]", SELF.all_groups, id="client_groups", title_key="name", default=SELF.client.groups, default_value_key='id', multiple=1) %]
|
|
80 | 80 |
[% L.multiselect2side("client_groups", labelsx => LxERP.t8("All groups"), labeldx => LxERP.t8("Groups valid for this client")) %] |
81 | 81 |
</div> |
82 | 82 |
|
templates/webpages/admin/edit_group.html | ||
---|---|---|
52 | 52 |
</p> |
53 | 53 |
|
54 | 54 |
<div class="clearfix"> |
55 |
[% L.select_tag("group.users[]", SELF.all_users, id="group_users", title_key="login", default=SELF.group.users, default_key='id', multiple=1) %] |
|
55 |
[% L.select_tag("group.users[]", SELF.all_users, id="group_users", title_key="login", default=SELF.group.users, default_value_key='id', multiple=1) %]
|
|
56 | 56 |
[% L.multiselect2side("group_users", labelsx => LxERP.t8("All users"), labeldx => LxERP.t8("Users that are a member in this group")) %] |
57 | 57 |
</div> |
58 | 58 |
|
... | ... | |
70 | 70 |
</p> |
71 | 71 |
|
72 | 72 |
<div class="clearfix"> |
73 |
[% L.select_tag("group.clients[]", SELF.all_clients, id="group_clients", title_key="name", default=SELF.group.clients, default_key='id', multiple=1) %] |
|
73 |
[% L.select_tag("group.clients[]", SELF.all_clients, id="group_clients", title_key="name", default=SELF.group.clients, default_value_key='id', multiple=1) %]
|
|
74 | 74 |
[% L.multiselect2side("group_clients", labelsx => LxERP.t8("All clients"), labeldx => LxERP.t8("Clients this Group is valid for")) %] |
75 | 75 |
</div> |
76 | 76 |
|
templates/webpages/admin/edit_user.html | ||
---|---|---|
109 | 109 |
</p> |
110 | 110 |
|
111 | 111 |
<div class="clearfix"> |
112 |
[% L.select_tag("user.clients[]", SELF.all_clients, id="user_clients", title_key="name", default=SELF.user.clients, default_key='id', multiple=1) %] |
|
112 |
[% L.select_tag("user.clients[]", SELF.all_clients, id="user_clients", title_key="name", default=SELF.user.clients, default_value_key='id', multiple=1) %]
|
|
113 | 113 |
[% L.multiselect2side("user_clients", labelsx => LxERP.t8("All clients"), labeldx => LxERP.t8("Clients this user has access to")) %] |
114 | 114 |
</div> |
115 | 115 |
|
... | ... | |
127 | 127 |
</p> |
128 | 128 |
|
129 | 129 |
<div class="clearfix"> |
130 |
[% L.select_tag("user.groups[]", SELF.all_groups, id="user_groups", title_key="name", default=SELF.user.groups, default_key='id', multiple=1) %] |
|
130 |
[% L.select_tag("user.groups[]", SELF.all_groups, id="user_groups", title_key="name", default=SELF.user.groups, default_value_key='id', multiple=1) %]
|
|
131 | 131 |
[% L.multiselect2side("user_groups", labelsx => LxERP.t8("All groups"), labeldx => LxERP.t8("Groups this user is a member in")) %] |
132 | 132 |
</div> |
133 | 133 |
|
Auch abrufbar als: Unified diff
Umstellung auf neuen select_tag-Parameternamen default_value_key