Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Laurent S
erp5
Commits
3e7ac9f1
Commit
3e7ac9f1
authored
Dec 10, 2012
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add some more columns in Action & Role tabs of portal types
parent
f3bebea3
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
197 additions
and
18 deletions
+197
-18
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/BaseType_viewAction/listbox.xml
...em/portal_skins/erp5_core/BaseType_viewAction/listbox.xml
+36
-18
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/BaseType_viewRole.xml
...TemplateItem/portal_skins/erp5_core/BaseType_viewRole.xml
+1
-0
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/BaseType_viewRole/listbox.xml
...Item/portal_skins/erp5_core/BaseType_viewRole/listbox.xml
+36
-0
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/BaseType_viewRole/listbox_role_base_category_list.xml
...ore/BaseType_viewRole/listbox_role_base_category_list.xml
+124
-0
No files found.
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/BaseType_viewAction/listbox.xml
View file @
3e7ac9f1
...
...
@@ -92,9 +92,7 @@
</item>
<item>
<key>
<string>
selection_name
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
sort
</string>
</key>
...
...
@@ -122,7 +120,40 @@
<item>
<key>
<string>
all_columns
</string>
</key>
<value>
<list/>
<list>
<tuple>
<string>
action_text
</string>
<string>
Action
</string>
</tuple>
<tuple>
<string>
icon_text
</string>
<string>
Icon
</string>
</tuple>
<tuple>
<string>
condition_text
</string>
<string>
Condition
</string>
</tuple>
<tuple>
<string>
action_permission
</string>
<string>
Permission
</string>
</tuple>
<tuple>
<string>
description
</string>
<string>
Description
</string>
</tuple>
<tuple>
<string>
creation_date
</string>
<string>
Creation Date
</string>
</tuple>
<tuple>
<string>
modification_date
</string>
<string>
Modification Date
</string>
</tuple>
<tuple>
<string>
owner_title
</string>
<string>
Owner
</string>
</tuple>
</list>
</value>
</item>
<item>
...
...
@@ -198,7 +229,7 @@
</item>
<item>
<key>
<string>
selection_name
</string>
</key>
<value>
<string>
search
_selection
</string>
</value>
<value>
<string>
base_type_action
_selection
</string>
</value>
</item>
<item>
<key>
<string>
sort
</string>
</key>
...
...
@@ -265,17 +296,4 @@
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"TALESMethod"
module=
"Products.Formulator.TALESField"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_text
</string>
</key>
<value>
<string>
python: \'%s_%s_%s_selection\' % (form.getId(), field.getId(), here.getId())
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/BaseType_viewRole.xml
View file @
3e7ac9f1
...
...
@@ -93,6 +93,7 @@
<list>
<string>
listbox_role_name
</string>
<string>
listbox_role_category_list
</string>
<string>
listbox_role_base_category_list
</string>
</list>
</value>
</item>
...
...
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/BaseType_viewRole/listbox.xml
View file @
3e7ac9f1
...
...
@@ -80,10 +80,38 @@
<key>
<string>
all_columns
</string>
</key>
<value>
<list>
<tuple>
<string>
condition_text
</string>
<string>
Condition
</string>
</tuple>
<tuple>
<string>
local_role_group_title
</string>
<string>
Local Roles Group
</string>
</tuple>
<tuple>
<string>
role_category_list
</string>
<string>
Categories
</string>
</tuple>
<tuple>
<string>
role_base_category_list
</string>
<string>
Base Categories
</string>
</tuple>
<tuple>
<string>
role_base_category_script_id
</string>
<string>
Script
</string>
</tuple>
<tuple>
<string>
creation_date
</string>
<string>
Creation Date
</string>
</tuple>
<tuple>
<string>
modification_date
</string>
<string>
Modification Date
</string>
</tuple>
<tuple>
<string>
owner_title
</string>
<string>
Owner
</string>
</tuple>
</list>
</value>
</item>
...
...
@@ -114,6 +142,14 @@
<string>
role_name
</string>
<string>
role_name
</string>
</tuple>
<tuple>
<string>
role_base_category_list
</string>
<string>
role_base_category_list
</string>
</tuple>
<tuple>
<string>
role_category_list
</string>
<string>
role_category_list
</string>
</tuple>
</list>
</value>
</item>
...
...
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/BaseType_viewRole/listbox_role_base_category_list.xml
0 → 100644
View file @
3e7ac9f1
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ProxyField"
module=
"Products.ERP5Form.ProxyField"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
delegated_list
</string>
</key>
<value>
<list>
<string>
default
</string>
<string>
editable
</string>
</list>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
listbox_role_base_category_list
</string>
</value>
</item>
<item>
<key>
<string>
message_values
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
external_validator_failed
</string>
</key>
<value>
<string>
The input failed the external validator.
</string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
overrides
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
form_id
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
target
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
tales
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
default
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
editable
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
form_id
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
target
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
values
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
default
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
editable
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
my_string_field
</string>
</value>
</item>
<item>
<key>
<string>
form_id
</string>
</key>
<value>
<string>
Base_viewFieldLibrary
</string>
</value>
</item>
<item>
<key>
<string>
target
</string>
</key>
<value>
<string>
Click to edit the target
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"TALESMethod"
module=
"Products.Formulator.TALESField"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_text
</string>
</key>
<value>
<string>
python: \'; \'.join(cell.getRoleBaseCategoryList(()))
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment