Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ayush Tiwari
erp5
Commits
824046f4
Commit
824046f4
authored
Sep 06, 2018
by
Ayush Tiwari
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[erp5_core] Add titles, fix tests and add links for current value
parent
9cae9286
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
104 additions
and
10 deletions
+104
-10
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_getCurrentValueUrl.py
...ateItem/portal_skins/erp5_core/Base_getCurrentValueUrl.py
+10
-4
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_viewCurrentValueForLargeText.xml
...tal_skins/erp5_core/Base_viewCurrentValueForLargeText.xml
+23
-1
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_viewHistoricalComparisonDiffLinkList.xml
...s/erp5_core/Base_viewHistoricalComparisonDiffLinkList.xml
+23
-1
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_viewHistoricalComparisonDiffLinkList/listbox.xml
...ore/Base_viewHistoricalComparisonDiffLinkList/listbox.xml
+1
-1
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_viewHistoricalComparisonDiffList.xml
...skins/erp5_core/Base_viewHistoricalComparisonDiffList.xml
+23
-1
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_viewHistoricalComparisonDiffList/listbox.xml
...p5_core/Base_viewHistoricalComparisonDiffList/listbox.xml
+1
-1
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_viewHistoricalComparisonValueList.xml
...kins/erp5_core/Base_viewHistoricalComparisonValueList.xml
+23
-1
No files found.
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_getCurrentValueUrl.py
View file @
824046f4
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
This URL script returns the URL for current value for the
This URL script returns the URL for current value for the
properties in the Historical Comparison Diff.
properties in the Historical Comparison Diff.
"""
"""
from
Products.ERP5Type.Log
import
log
if
brain
is
None
:
if
brain
is
None
:
brain
=
context
brain
=
context
...
@@ -9,11 +10,16 @@ if brain is None:
...
@@ -9,11 +10,16 @@ if brain is None:
# parameter to the next view
# parameter to the next view
path
=
brain
.
getProperty
(
'path'
)
path
=
brain
.
getProperty
(
'path'
)
property_name
=
path
.
split
(
'/'
)[
2
]
property_name
=
path
.
split
(
'/'
)[
2
]
log
(
context
.
aq_parent
)
log
(
brain
)
if
url_dict
:
if
url_dict
:
return
{
'command'
:
'
raw
'
,
return
{
'command'
:
'
push_history
'
,
'options'
:
{
'options'
:
{
'url'
:
'google.com'
'jio_key'
:
context
.
getRelativeUrl
(),
},
'view_kw'
:
{
'jio_key'
:
context
.
getRelativeUrl
(),
'view'
:
'Base_viewCurrentValueForLargeText'
}
}
}
}
...
...
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_viewCurrentValueForLargeText.xml
View file @
824046f4
...
@@ -16,6 +16,16 @@
...
@@ -16,6 +16,16 @@
<key>
<string>
action
</string>
</key>
<key>
<string>
action
</string>
</key>
<value>
<string></string>
</value>
<value>
<string></string>
</value>
</item>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
edit_order
</string>
</key>
<value>
<list/>
</value>
</item>
<item>
<item>
<key>
<string>
encoding
</string>
</key>
<key>
<string>
encoding
</string>
</key>
<value>
<string>
UTF-8
</string>
</value>
<value>
<string>
UTF-8
</string>
</value>
...
@@ -87,6 +97,10 @@
...
@@ -87,6 +97,10 @@
<key>
<string>
name
</string>
</key>
<key>
<string>
name
</string>
</key>
<value>
<string>
Base_viewCurrentValueForLargeText
</string>
</value>
<value>
<string>
Base_viewCurrentValueForLargeText
</string>
</value>
</item>
</item>
<item>
<key>
<string>
pt
</string>
</key>
<value>
<string>
form_view
</string>
</value>
</item>
<item>
<item>
<key>
<string>
row_length
</string>
</key>
<key>
<string>
row_length
</string>
</key>
<value>
<int>
4
</int>
</value>
<value>
<int>
4
</int>
</value>
...
@@ -97,12 +111,20 @@
...
@@ -97,12 +111,20 @@
</item>
</item>
<item>
<item>
<key>
<string>
title
</string>
</key>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
<value>
<string>
View Current Value
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
unicode_mode
</string>
</key>
<key>
<string>
unicode_mode
</string>
</key>
<value>
<int>
0
</int>
</value>
<value>
<int>
0
</int>
</value>
</item>
</item>
<item>
<key>
<string>
update_action
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
update_action_title
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</dictionary>
</pickle>
</pickle>
</record>
</record>
...
...
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_viewHistoricalComparisonDiffLinkList.xml
View file @
824046f4
...
@@ -16,6 +16,16 @@
...
@@ -16,6 +16,16 @@
<key>
<string>
action
</string>
</key>
<key>
<string>
action
</string>
</key>
<value>
<string></string>
</value>
<value>
<string></string>
</value>
</item>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
edit_order
</string>
</key>
<value>
<list/>
</value>
</item>
<item>
<item>
<key>
<string>
encoding
</string>
</key>
<key>
<string>
encoding
</string>
</key>
<value>
<string>
UTF-8
</string>
</value>
<value>
<string>
UTF-8
</string>
</value>
...
@@ -90,6 +100,10 @@
...
@@ -90,6 +100,10 @@
<key>
<string>
name
</string>
</key>
<key>
<string>
name
</string>
</key>
<value>
<string>
Base_viewHistoricalComparisonDiffLinkList
</string>
</value>
<value>
<string>
Base_viewHistoricalComparisonDiffLinkList
</string>
</value>
</item>
</item>
<item>
<key>
<string>
pt
</string>
</key>
<value>
<string>
form_view
</string>
</value>
</item>
<item>
<item>
<key>
<string>
row_length
</string>
</key>
<key>
<string>
row_length
</string>
</key>
<value>
<int>
4
</int>
</value>
<value>
<int>
4
</int>
</value>
...
@@ -100,12 +114,20 @@
...
@@ -100,12 +114,20 @@
</item>
</item>
<item>
<item>
<key>
<string>
title
</string>
</key>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
<value>
<string>
Historical Differences
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
unicode_mode
</string>
</key>
<key>
<string>
unicode_mode
</string>
</key>
<value>
<int>
0
</int>
</value>
<value>
<int>
0
</int>
</value>
</item>
</item>
<item>
<key>
<string>
update_action
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
update_action_title
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</dictionary>
</pickle>
</pickle>
</record>
</record>
...
...
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_viewHistoricalComparisonDiffLinkList/listbox.xml
View file @
824046f4
...
@@ -112,7 +112,7 @@
...
@@ -112,7 +112,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
selection_name
</string>
</key>
<key>
<string>
selection_name
</string>
</key>
<value>
<string></string>
</value>
<value>
<string>
historical_comparison_selection
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
title
</string>
</key>
<key>
<string>
title
</string>
</key>
...
...
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_viewHistoricalComparisonDiffList.xml
View file @
824046f4
...
@@ -16,6 +16,16 @@
...
@@ -16,6 +16,16 @@
<key>
<string>
action
</string>
</key>
<key>
<string>
action
</string>
</key>
<value>
<string></string>
</value>
<value>
<string></string>
</value>
</item>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
edit_order
</string>
</key>
<value>
<list/>
</value>
</item>
<item>
<item>
<key>
<string>
encoding
</string>
</key>
<key>
<string>
encoding
</string>
</key>
<value>
<string>
UTF-8
</string>
</value>
<value>
<string>
UTF-8
</string>
</value>
...
@@ -90,6 +100,10 @@
...
@@ -90,6 +100,10 @@
<key>
<string>
name
</string>
</key>
<key>
<string>
name
</string>
</key>
<value>
<string>
Base_viewHistoricalComparisonDiffList
</string>
</value>
<value>
<string>
Base_viewHistoricalComparisonDiffList
</string>
</value>
</item>
</item>
<item>
<key>
<string>
pt
</string>
</key>
<value>
<string>
form_view
</string>
</value>
</item>
<item>
<item>
<key>
<string>
row_length
</string>
</key>
<key>
<string>
row_length
</string>
</key>
<value>
<int>
4
</int>
</value>
<value>
<int>
4
</int>
</value>
...
@@ -100,12 +114,20 @@
...
@@ -100,12 +114,20 @@
</item>
</item>
<item>
<item>
<key>
<string>
title
</string>
</key>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
<value>
<string>
Historical Differences
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
unicode_mode
</string>
</key>
<key>
<string>
unicode_mode
</string>
</key>
<value>
<int>
0
</int>
</value>
<value>
<int>
0
</int>
</value>
</item>
</item>
<item>
<key>
<string>
update_action
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
update_action_title
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</dictionary>
</pickle>
</pickle>
</record>
</record>
...
...
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_viewHistoricalComparisonDiffList/listbox.xml
View file @
824046f4
...
@@ -112,7 +112,7 @@
...
@@ -112,7 +112,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
selection_name
</string>
</key>
<key>
<string>
selection_name
</string>
</key>
<value>
<string></string>
</value>
<value>
<string>
historical_comparison_selection
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
title
</string>
</key>
<key>
<string>
title
</string>
</key>
...
...
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_viewHistoricalComparisonValueList.xml
View file @
824046f4
...
@@ -16,6 +16,16 @@
...
@@ -16,6 +16,16 @@
<key>
<string>
action
</string>
</key>
<key>
<string>
action
</string>
</key>
<value>
<string></string>
</value>
<value>
<string></string>
</value>
</item>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
edit_order
</string>
</key>
<value>
<list/>
</value>
</item>
<item>
<item>
<key>
<string>
encoding
</string>
</key>
<key>
<string>
encoding
</string>
</key>
<value>
<string>
UTF-8
</string>
</value>
<value>
<string>
UTF-8
</string>
</value>
...
@@ -87,6 +97,10 @@
...
@@ -87,6 +97,10 @@
<key>
<string>
name
</string>
</key>
<key>
<string>
name
</string>
</key>
<value>
<string>
Base_viewHistoricalComparisonValueList
</string>
</value>
<value>
<string>
Base_viewHistoricalComparisonValueList
</string>
</value>
</item>
</item>
<item>
<key>
<string>
pt
</string>
</key>
<value>
<string>
form_view
</string>
</value>
</item>
<item>
<item>
<key>
<string>
row_length
</string>
</key>
<key>
<string>
row_length
</string>
</key>
<value>
<int>
4
</int>
</value>
<value>
<int>
4
</int>
</value>
...
@@ -97,12 +111,20 @@
...
@@ -97,12 +111,20 @@
</item>
</item>
<item>
<item>
<key>
<string>
title
</string>
</key>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
<value>
<string>
Historical Differences
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
unicode_mode
</string>
</key>
<key>
<string>
unicode_mode
</string>
</key>
<value>
<int>
0
</int>
</value>
<value>
<int>
0
</int>
</value>
</item>
</item>
<item>
<key>
<string>
update_action
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
update_action_title
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</dictionary>
</pickle>
</pickle>
</record>
</record>
...
...
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