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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Aaron Chen
erp5
Commits
4c840334
Commit
4c840334
authored
Aug 22, 2013
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Consistency tab: make a link to the constraint that emitted this message
parent
d977773e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
85 additions
and
10 deletions
+85
-10
bt5/erp5_administration/SkinTemplateItem/portal_skins/erp5_administration/Base_viewConsistency/listbox.xml
...kins/erp5_administration/Base_viewConsistency/listbox.xml
+17
-9
bt5/erp5_administration/SkinTemplateItem/portal_skins/erp5_administration/ObjectMessage_getConstraintUrl.xml
...ns/erp5_administration/ObjectMessage_getConstraintUrl.xml
+67
-0
bt5/erp5_administration/bt/revision
bt5/erp5_administration/bt/revision
+1
-1
No files found.
bt5/erp5_administration/SkinTemplateItem/portal_skins/erp5_administration/Base_viewConsistency/listbox.xml
View file @
4c840334
...
...
@@ -10,12 +10,13 @@
<key>
<string>
delegated_list
</string>
</key>
<value>
<list>
<string>
title
</string>
<string>
columns
</string>
<string>
list_method
</string>
<string>
search_columns
</string>
<string>
selection_name
</string>
<string>
list_method
</string>
<string>
sort_columns
</string>
<string>
columns
</string>
<string>
title
</string>
<string>
url_columns
</string>
</list>
</value>
</item>
...
...
@@ -81,8 +82,8 @@
<value>
<list>
<tuple>
<string>
c
lass_name
</string>
<string>
C
lass Name
</string>
<string>
c
onstraint_relative_url
</string>
<string>
C
onstraint
</string>
</tuple>
<tuple>
<string>
description
</string>
...
...
@@ -92,10 +93,6 @@
<string>
getMessage
</string>
<string>
Message
</string>
</tuple>
<tuple>
<string>
getObject
</string>
<string>
Object
</string>
</tuple>
<tuple>
<string>
getTranslatedMessage
</string>
<string>
Translated Message
</string>
...
...
@@ -163,6 +160,17 @@
<key>
<string>
title
</string>
</key>
<value>
<string>
Consistency
</string>
</value>
</item>
<item>
<key>
<string>
url_columns
</string>
</key>
<value>
<list>
<tuple>
<string>
constraint_relative_url
</string>
<string>
ObjectMessage_getConstraintUrl
</string>
</tuple>
</list>
</value>
</item>
</dictionary>
</value>
</item>
...
...
bt5/erp5_administration/SkinTemplateItem/portal_skins/erp5_administration/ObjectMessage_getConstraintUrl.xml
0 → 100644
View file @
4c840334
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"PythonScript"
module=
"Products.PythonScripts.PythonScript"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
Script_magic
</string>
</key>
<value>
<int>
3
</int>
</value>
</item>
<item>
<key>
<string>
_bind_names
</string>
</key>
<value>
<object>
<klass>
<global
name=
"NameAssignments"
module=
"Shared.DC.Scripts.Bindings"
/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key>
<string>
_asgns
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
name_container
</string>
</key>
<value>
<string>
container
</string>
</value>
</item>
<item>
<key>
<string>
name_context
</string>
</key>
<value>
<string>
context
</string>
</value>
</item>
<item>
<key>
<string>
name_m_self
</string>
</key>
<value>
<string>
script
</string>
</value>
</item>
<item>
<key>
<string>
name_subpath
</string>
</key>
<value>
<string>
traverse_subpath
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
_body
</string>
</key>
<value>
<string>
return context.getPortalObject().restrictedTraverse(brain.constraint_relative_url).absolute_url()\n
</string>
</value>
</item>
<item>
<key>
<string>
_params
</string>
</key>
<value>
<string>
brain, *args, **kw
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
ObjectMessage_getConstraintUrl
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_administration/bt/revision
View file @
4c840334
154
\ No newline at end of file
155
\ No newline at end of file
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