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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Xueyun Qian
erp5
Commits
533a81c4
Commit
533a81c4
authored
Jan 20, 2016
by
Tristan Cavelier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_web: replace EditorField by ImageField in WebIllustration_view image preview
parent
2f463196
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
41 additions
and
60 deletions
+41
-60
bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms_web/WebIllustration_view/text_content.xml
..._skins/erp5_dms_web/WebIllustration_view/text_content.xml
+23
-7
bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/WebIllustration_view/text_content.xml
...rtal_skins/erp5_web/WebIllustration_view/text_content.xml
+18
-53
No files found.
bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms_web/WebIllustration_view/text_content.xml
View file @
533a81c4
...
@@ -11,6 +11,10 @@
...
@@ -11,6 +11,10 @@
<value>
<value>
<list>
<list>
<string>
default
</string>
<string>
default
</string>
<string>
image_display
</string>
<string>
image_format
</string>
<string>
image_pre_converted_only
</string>
<string>
image_quality
</string>
</list>
</list>
</value>
</value>
</item>
</item>
...
@@ -83,11 +87,27 @@
...
@@ -83,11 +87,27 @@
</item>
</item>
<item>
<item>
<key>
<string>
field_id
</string>
</key>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
text_content
</string>
</value>
<value>
<string>
my_image_field
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
form_id
</string>
</key>
<key>
<string>
form_id
</string>
</key>
<value>
<string>
Base_viewWebFieldLibrary
</string>
</value>
<value>
<string>
Base_viewFieldLibrary
</string>
</value>
</item>
<item>
<key>
<string>
image_display
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
image_format
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
image_pre_converted_only
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
image_quality
</string>
</key>
<value>
<string></string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
target
</string>
</key>
<key>
<string>
target
</string>
</key>
...
@@ -107,11 +127,7 @@
...
@@ -107,11 +127,7 @@
<dictionary>
<dictionary>
<item>
<item>
<key>
<string>
_text
</string>
</key>
<key>
<string>
_text
</string>
</key>
<value>
<string
encoding=
"cdata"
>
<![CDATA[
<value>
<string>
python: "data:%s,%s" % (context.getContentType("image/svg+xml"), context.getTextContent(""))
</string>
</value>
python:\'<img src="data:image/svg+xml,%s" alt="[Image preview]"/>
\' % context.getTextContent("").replace("
&
", "
&
").replace("
<
", "
<
").replace(">", "
>
").replace(\'"\', "
"
")
]]>
</string>
</value>
</item>
</item>
</dictionary>
</dictionary>
</pickle>
</pickle>
...
...
bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/WebIllustration_view/text_content.xml
View file @
533a81c4
...
@@ -11,10 +11,10 @@
...
@@ -11,10 +11,10 @@
<value>
<value>
<list>
<list>
<string>
default
</string>
<string>
default
</string>
<string>
enabled
</string>
<string>
image_display
</string>
<string>
title
</string>
<string>
image_format
</string>
<string>
whitespace_preserve
</string>
<string>
image_pre_converted_only
</string>
<string>
width
</string>
<string>
image_quality
</string>
</list>
</list>
</value>
</value>
</item>
</item>
...
@@ -62,12 +62,6 @@
...
@@ -62,12 +62,6 @@
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</value>
</item>
</item>
<item>
<key>
<string>
enabled
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
<item>
<item>
<key>
<string>
field_id
</string>
</key>
<key>
<string>
field_id
</string>
</key>
<value>
<string></string>
</value>
<value>
<string></string>
</value>
...
@@ -80,18 +74,6 @@
...
@@ -80,18 +74,6 @@
<key>
<string>
target
</string>
</key>
<key>
<string>
target
</string>
</key>
<value>
<string></string>
</value>
<value>
<string></string>
</value>
</item>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
whitespace_preserve
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
width
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</dictionary>
</value>
</value>
</item>
</item>
...
@@ -103,33 +85,33 @@
...
@@ -103,33 +85,33 @@
<key>
<string>
default
</string>
</key>
<key>
<string>
default
</string>
</key>
<value>
<string></string>
</value>
<value>
<string></string>
</value>
</item>
</item>
<item>
<key>
<string>
enabled
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<item>
<key>
<string>
field_id
</string>
</key>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
my_
text_content
</string>
</value>
<value>
<string>
my_
image_field
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
form_id
</string>
</key>
<key>
<string>
form_id
</string>
</key>
<value>
<string>
Base_view
Web
FieldLibrary
</string>
</value>
<value>
<string>
Base_viewFieldLibrary
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
target
</string>
</key>
<key>
<string>
image_display
</string>
</key>
<value>
<string>
Click to edit the target
</string>
</value>
<value>
<string></string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
title
</string>
</key>
<key>
<string>
image_format
</string>
</key>
<value>
<string>
Page Content
</string>
</value>
<value>
<string></string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
whitespace_preserve
</string>
</key>
<key>
<string>
image_pre_converted_only
</string>
</key>
<value>
<int>
0
</int>
</value>
<value>
<int>
0
</int>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
width
</string>
</key>
<key>
<string>
image_quality
</string>
</key>
<value>
<int>
80
</int>
</value>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
target
</string>
</key>
<value>
<string>
Click to edit the target
</string>
</value>
</item>
</item>
</dictionary>
</dictionary>
</value>
</value>
...
@@ -145,24 +127,7 @@
...
@@ -145,24 +127,7 @@
<dictionary>
<dictionary>
<item>
<item>
<key>
<string>
_text
</string>
</key>
<key>
<string>
_text
</string>
</key>
<value>
<string
encoding=
"cdata"
>
<![CDATA[
<value>
<string>
python: "data:%s,%s" % (context.getContentType("image/svg+xml"), context.getTextContent(""))
</string>
</value>
python:\'<img src="data:image/svg+xml,%s" alt="[Image preview]"/>
\' % context.getTextContent("").replace("
&
", "
&
").replace("
<
", "
<
").replace(">", "
>
").replace(\'"\', "
"
")
]]>
</string>
</value>
</item>
</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>
not:here/isExternalDocument
</string>
</value>
</item>
</item>
</dictionary>
</dictionary>
</pickle>
</pickle>
...
...
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