diff --git a/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/Base_viewLocalPermission/listbox.xml b/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/Base_viewLocalPermission/listbox.xml index be3efa229dd9364648760b15017b10a3a5cd1a68..b3c2c7f23dbb601f56505094e138040e18b892b1 100644 --- a/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/Base_viewLocalPermission/listbox.xml +++ b/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/Base_viewLocalPermission/listbox.xml @@ -342,7 +342,7 @@ <string>Role</string> </tuple> <tuple> - <string>RoleDefinition_formatAgents</string> + <string>RoleDefinition_getAgentListAsString</string> <string>Agents</string> </tuple> </list> diff --git a/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/RoleDefinition_formatAgents.xml b/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/RoleDefinition_getAgentListAsString.xml similarity index 96% rename from bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/RoleDefinition_formatAgents.xml rename to bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/RoleDefinition_getAgentListAsString.xml index 596b9a0d5aa7e95067a483431abf658a4d331265..0911a17630d9ab07b864951266cf563a04b02db5 100644 --- a/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/RoleDefinition_formatAgents.xml +++ b/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/RoleDefinition_getAgentListAsString.xml @@ -68,7 +68,7 @@ </item> <item> <key> <string>_body</string> </key> - <value> <string>return \',\'.join(brain.getObject().getAgentTitleList())\n + <value> <string>return \', \'.join(brain.getObject().getAgentTitleList())\n </string> </value> </item> <item> @@ -130,7 +130,7 @@ </item> <item> <key> <string>id</string> </key> - <value> <string>RoleDefinition_formatAgents</string> </value> + <value> <string>RoleDefinition_getAgentListAsString</string> </value> </item> <item> <key> <string>warnings</string> </key>