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
alecs_myu
erp5
Commits
f4657666
Commit
f4657666
authored
May 02, 2016
by
Tristan Cavelier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_svg_editor: rename Base_viewSVGEditor to Document_viewSVGEditor
also make it work for Image portal types
parent
bf8d4c54
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
bt5/erp5_svg_editor/ActionTemplateItem/portal_types/Image/view_editor.xml
...tor/ActionTemplateItem/portal_types/Image/view_editor.xml
+2
-2
bt5/erp5_svg_editor/SkinTemplateItem/portal_skins/erp5_svg_editor/Document_viewSVGEditor.xml
...m/portal_skins/erp5_svg_editor/Document_viewSVGEditor.xml
+3
-3
bt5/erp5_svg_editor/SkinTemplateItem/portal_skins/erp5_svg_editor/Document_viewSVGEditor/my_data.xml
..._skins/erp5_svg_editor/Document_viewSVGEditor/my_data.xml
+1
-1
No files found.
bt5/erp5_svg_editor/ActionTemplateItem/portal_types/Image/view_editor.xml
View file @
f4657666
...
@@ -73,7 +73,7 @@
...
@@ -73,7 +73,7 @@
<dictionary>
<dictionary>
<item>
<item>
<key>
<string>
text
</string>
</key>
<key>
<string>
text
</string>
</key>
<value>
<string>
string:${object_url}/
Base
_viewSVGEditor
</string>
</value>
<value>
<string>
string:${object_url}/
Document
_viewSVGEditor
</string>
</value>
</item>
</item>
</dictionary>
</dictionary>
</pickle>
</pickle>
...
@@ -86,7 +86,7 @@
...
@@ -86,7 +86,7 @@
<dictionary>
<dictionary>
<item>
<item>
<key>
<string>
text
</string>
</key>
<key>
<string>
text
</string>
</key>
<value>
<string>
python:
object is not None and object.getContentType()==
"image/svg+xml"
</string>
</value>
<value>
<string>
python:
getattr(object, "getContentType", str)() ==
"image/svg+xml"
</string>
</value>
</item>
</item>
</dictionary>
</dictionary>
</pickle>
</pickle>
...
...
bt5/erp5_svg_editor/SkinTemplateItem/portal_skins/erp5_svg_editor/
Base
_viewSVGEditor.xml
→
bt5/erp5_svg_editor/SkinTemplateItem/portal_skins/erp5_svg_editor/
Document
_viewSVGEditor.xml
View file @
f4657666
...
@@ -74,7 +74,7 @@
...
@@ -74,7 +74,7 @@
<key>
<string>
bottom
</string>
</key>
<key>
<string>
bottom
</string>
</key>
<value>
<value>
<list>
<list>
<string>
my_
text_content
</string>
<string>
my_
data
</string>
</list>
</list>
</value>
</value>
</item>
</item>
...
@@ -101,7 +101,7 @@
...
@@ -101,7 +101,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
id
</string>
</key>
<key>
<string>
id
</string>
</key>
<value>
<string>
Base
_viewSVGEditor
</string>
</value>
<value>
<string>
Document
_viewSVGEditor
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
method
</string>
</key>
<key>
<string>
method
</string>
</key>
...
@@ -125,7 +125,7 @@
...
@@ -125,7 +125,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
title
</string>
</key>
<key>
<string>
title
</string>
</key>
<value>
<string>
Web
Illustration
</string>
</value>
<value>
<string>
Illustration
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
unicode_mode
</string>
</key>
<key>
<string>
unicode_mode
</string>
</key>
...
...
bt5/erp5_svg_editor/SkinTemplateItem/portal_skins/erp5_svg_editor/
Base_viewSVGEditor/my_text_content
.xml
→
bt5/erp5_svg_editor/SkinTemplateItem/portal_skins/erp5_svg_editor/
Document_viewSVGEditor/my_data
.xml
View file @
f4657666
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
<dictionary>
<dictionary>
<item>
<item>
<key>
<string>
id
</string>
</key>
<key>
<string>
id
</string>
</key>
<value>
<string>
my_
text_content
</string>
</value>
<value>
<string>
my_
data
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
message_values
</string>
</key>
<key>
<string>
message_values
</string>
</key>
...
...
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