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
Xiaowu Zhang
erp5
Commits
46a119d7
Commit
46a119d7
authored
Oct 18, 2022
by
Xiaowu Zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_corporate_identity: update
parent
5575ab18
Changes
21
Hide whitespace changes
Inline
Side-by-side
Showing
21 changed files
with
417 additions
and
35 deletions
+417
-35
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/Base_encodeBookUrl.py
...ortal_skins/erp5_corporate_identity/Base_encodeBookUrl.py
+24
-0
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/Base_encodeBookUrl.xml
...rtal_skins/erp5_corporate_identity/Base_encodeBookUrl.xml
+62
-0
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/Base_encodeLeafletUrl.py
...al_skins/erp5_corporate_identity/Base_encodeLeafletUrl.py
+16
-0
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/Base_encodeLeafletUrl.xml
...l_skins/erp5_corporate_identity/Base_encodeLeafletUrl.xml
+62
-0
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/Base_encodeLetterUrl.py
...tal_skins/erp5_corporate_identity/Base_encodeLetterUrl.py
+20
-0
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/Base_encodeLetterUrl.xml
...al_skins/erp5_corporate_identity/Base_encodeLetterUrl.xml
+62
-0
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/Base_encodePressReleaseUrl.py
...ins/erp5_corporate_identity/Base_encodePressReleaseUrl.py
+14
-0
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/Base_encodePressReleaseUrl.xml
...ns/erp5_corporate_identity/Base_encodePressReleaseUrl.xml
+62
-0
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/Base_encodeSlideShowUrl.py
..._skins/erp5_corporate_identity/Base_encodeSlideShowUrl.py
+15
-0
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/Base_encodeSlideShowUrl.xml
...skins/erp5_corporate_identity/Base_encodeSlideShowUrl.xml
+62
-0
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/Base_getBookParameter.py
...al_skins/erp5_corporate_identity/Base_getBookParameter.py
+1
-1
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/Base_getPressReleaseParameter.py
.../erp5_corporate_identity/Base_getPressReleaseParameter.py
+1
-1
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/Base_validateSourcePerson.py
...kins/erp5_corporate_identity/Base_validateSourcePerson.py
+8
-5
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsBookDialog/your_content.xml
..._identity/WebPage_viewExportAsBookDialog/your_content.xml
+1
-5
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsBookDialog/your_override_logo_reference.xml
...e_viewExportAsBookDialog/your_override_logo_reference.xml
+1
-1
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsLeafletDialog/your_content.xml
...entity/WebPage_viewExportAsLeafletDialog/your_content.xml
+1
-5
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsLeafletDialog/your_override_logo_reference.xml
...iewExportAsLeafletDialog/your_override_logo_reference.xml
+1
-1
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsLetterDialog/your_content.xml
...dentity/WebPage_viewExportAsLetterDialog/your_content.xml
+1
-5
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsReleaseDialog/your_content.xml
...entity/WebPage_viewExportAsReleaseDialog/your_content.xml
+1
-5
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsSlideshowDialog/your_content.xml
...tity/WebPage_viewExportAsSlideshowDialog/your_content.xml
+1
-5
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsSlideshowDialog/your_override_logo_reference.xml
...wExportAsSlideshowDialog/your_override_logo_reference.xml
+1
-1
No files found.
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/Base_encodeBookUrl.py
0 → 100644
View file @
46a119d7
import
urllib
params
=
urllib
.
urlencode
({
'portal_skin'
:
'Book'
,
'override_document_description'
:
context
.
REQUEST
.
get
(
"override_document_description"
,
""
),
'override_document_short_title'
:
context
.
REQUEST
.
get
(
"override_document_short_title"
,
""
),
'override_document_title'
:
context
.
REQUEST
.
get
(
"override_document_title"
,
""
),
'override_document_version'
:
context
.
REQUEST
.
get
(
"override_document_version"
,
""
),
'override_logo_reference'
:
context
.
REQUEST
.
get
(
"override_logo_reference"
,
""
),
'override_source_organisation_title'
:
context
.
REQUEST
.
get
(
"override_source_organisation_title"
,
""
),
'override_source_person_title'
:
context
.
REQUEST
.
get
(
"override_source_person_title"
,
""
),
'override_document_reference'
:
context
.
REQUEST
.
get
(
"override_document_reference"
,
""
),
'include_content_table'
:
context
.
REQUEST
.
get
(
"include_content_table"
,
1
),
'include_history_table'
:
context
.
REQUEST
.
get
(
"include_history_table"
,
0
),
'include_reference_table'
:
context
.
REQUEST
.
get
(
"include_reference_table"
,
0
),
'include_linked_content'
:
context
.
REQUEST
.
get
(
"include_linked_content"
,
0
),
'include_report_content'
:
context
.
REQUEST
.
get
(
"include_report_content"
,
0
),
'display_svg'
:
context
.
REQUEST
.
get
(
"display_svg"
,
"png"
),
'name'
:
"default_version"
})
return
'<iframe width="100%%" height="500" style="background-color:#FFFFFF;box-sizing:border-box;-wekbit-box-sizing:border-box;" src="%s/WebPage_viewAsWeb?%s"></iframe>'
%
(
context
.
absolute_url
(),
params
)
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/Base_encodeBookUrl.xml
0 → 100644
View file @
46a119d7
<?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>
_params
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
Base_encodeBookUrl
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/Base_encodeLeafletUrl.py
0 → 100644
View file @
46a119d7
import
urllib
params
=
urllib
.
urlencode
({
'portal_skin'
:
'Leaflet'
,
'override_source_person_title'
:
context
.
REQUEST
.
get
(
"override_source_person_title"
,
""
),
'override_source_organisation_title'
:
context
.
REQUEST
.
get
(
"override_source_organisation_title"
,
""
),
'override_logo_reference'
:
context
.
REQUEST
.
get
(
"override_logo_reference"
,
""
),
'display_side'
:
context
.
REQUEST
.
get
(
"display_side"
,
1
),
'override_leaflet_header_title'
:
context
.
REQUEST
.
get
(
"override_leaflet_header_title"
,
""
),
'display_svg'
:
context
.
REQUEST
.
get
(
"display_svg"
,
"png"
),
'name'
:
"default_version"
})
return
'<iframe width="100%%" height="500" style="background-color:#FFFFFF;box-sizing:border-box;-wekbit-box-sizing:border-box;" src="%s/WebPage_viewAsWeb?%s"></iframe>'
%
(
context
.
absolute_url
(),
params
)
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/Base_encodeLeafletUrl.xml
0 → 100644
View file @
46a119d7
<?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>
_params
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
Base_encodeLeafletUrl
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/Base_encodeLetterUrl.py
0 → 100644
View file @
46a119d7
import
urllib
params
=
urllib
.
urlencode
({
'portal_skin'
:
'Letter'
,
'override_source_person_title'
:
context
.
REQUEST
.
get
(
"override_source_person_title"
,
""
),
'override_source_organisation_title'
:
context
.
REQUEST
.
get
(
"override_source_organisation_title"
,
""
),
'override_destination_person_title'
:
context
.
REQUEST
.
get
(
"override_destination_person_title"
,
""
),
'override_destination_organisation_title'
:
context
.
REQUEST
.
get
(
"override_destination_organisation_title"
,
""
),
'display_head'
:
context
.
REQUEST
.
get
(
"display_head"
,
1
),
'override_date'
:
context
.
REQUEST
.
get
(
"override_date"
,
""
),
'display_svg'
:
context
.
REQUEST
.
get
(
"display_svg"
,
"png"
),
'destination_position_in_letter'
:
context
.
REQUEST
.
get
(
"destination_position_in_letter"
,
"right"
),
'display_sender_company_above_recipient'
:
context
.
REQUEST
.
get
(
"display_sender_company_above_recipient"
,
0
),
'destination_position_padding_left'
:
context
.
REQUEST
.
get
(
'destination_position_padding_left'
,
'100px'
),
'name'
:
"default_version"
})
return
'<iframe width="100%%" height="500" style="background-color:#FFFFFF;box-sizing:border-box;-wekbit-box-sizing:border-box;" src="%s/WebPage_viewAsWeb?%s"></iframe>'
%
(
context
.
absolute_url
(),
params
)
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/Base_encodeLetterUrl.xml
0 → 100644
View file @
46a119d7
<?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>
_params
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
Base_encodeLetterUrl
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/Base_encodePressReleaseUrl.py
0 → 100644
View file @
46a119d7
import
urllib
params
=
urllib
.
urlencode
({
'portal_skin'
:
'Release'
,
'override_source_person_title'
:
context
.
REQUEST
.
get
(
"override_source_person_title"
,
""
),
'override_source_organisation_title'
:
context
.
REQUEST
.
get
(
"override_source_organisation_title"
,
""
),
'display_svg'
:
context
.
REQUEST
.
get
(
"display_svg"
,
"png"
),
'display_about'
:
context
.
REQUEST
.
get
(
"display_about"
,
1
),
'name'
:
"default_version"
})
return
'<iframe width="100%%" height="500" style="background-color:#FFFFFF;box-sizing:border-box;-wekbit-box-sizing:border-box;" src="%s/WebPage_viewAsWeb?%s"></iframe>'
%
(
context
.
absolute_url
(),
params
)
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/Base_encodePressReleaseUrl.xml
0 → 100644
View file @
46a119d7
<?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>
_params
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
Base_encodePressReleaseUrl
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/Base_encodeSlideShowUrl.py
0 → 100644
View file @
46a119d7
import
urllib
params
=
urllib
.
urlencode
({
'portal_skin'
:
'Slide'
,
'override_source_organisation_title'
:
context
.
REQUEST
.
get
(
"override_source_organisation_title"
,
""
),
'override_logo_reference'
:
context
.
REQUEST
.
get
(
"override_logo_reference"
,
""
),
'display_svg'
:
context
.
REQUEST
.
get
(
"display_svg"
,
"png"
),
'display_note'
:
context
.
REQUEST
.
get
(
"display_note"
,
1
),
'name'
:
"default_version"
})
return
'<iframe width="100%%" height="500" style="background-color:#FFFFFF;box-sizing:border-box;-wekbit-box-sizing:border-box;" src="%s/WebPage_viewAsWeb?%s"></iframe>'
%
(
context
.
absolute_url
(),
params
)
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/Base_encodeSlideShowUrl.xml
0 → 100644
View file @
46a119d7
<?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>
_params
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
Base_encodeSlideShowUrl
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/Base_getBookParameter.py
View file @
46a119d7
...
...
@@ -41,7 +41,7 @@ if source_organisation:
return
source
.
get
(
"organisation_title"
,
""
)
if
source_person
:
return
source
.
get
(
"
name
"
,
""
)
return
source
.
get
(
"
contributor_title_string
"
,
""
)
if
logo
:
url
=
source
.
get
(
'enhanced_logo_url'
,
''
)
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/Base_getPressReleaseParameter.py
View file @
46a119d7
...
...
@@ -14,4 +14,4 @@ if sender_company:
return
source
.
get
(
"organisation_title"
,
""
)
if
sender
:
return
source
.
get
(
"
name
"
,
""
)
return
source
.
get
(
"
contributor_title_string
"
,
""
)
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/Base_validateSourcePerson.py
View file @
46a119d7
...
...
@@ -3,10 +3,13 @@ person = context.REQUEST.get('field_your_override_source_person_title', '')
if
not
person
:
return
True
if
not
context
.
portal_catalog
(
portal_type
=
(
"Person"
,
"Organisation"
),
title
=
'="%s"'
%
person
,
):
return
False
person
=
person
.
split
(
','
)
for
tmp
in
person
:
tmp
=
tmp
.
strip
()
if
not
context
.
portal_catalog
(
portal_type
=
(
"Person"
,
"Organisation"
),
title
=
'="%s"'
%
tmp
):
return
False
return
True
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsBookDialog/your_content.xml
View file @
46a119d7
...
...
@@ -299,11 +299,7 @@
<dictionary>
<item>
<key>
<string>
_text
</string>
</key>
<value>
<string
encoding=
"cdata"
>
<![CDATA[
python: \'<iframe width="100%%" height="500" style="background-color:#FFFFFF;box-sizing:border-box;-wekbit-box-sizing:border-box;" src="%s/WebPage_viewAsWeb?portal_skin=Book&override_document_description=%s&override_document_short_title=%s&override_document_title=%s&override_document_version=%s&override_logo_reference=%s&override_source_organisation_title=%s&override_source_person_title=%s&override_document_reference=%s&include_content_table=%s&include_history_table=%s&include_reference_table=%s&include_linked_content=%s&include_report_content=%s&display_svg=%s" name="default_version">
</iframe>
\' % (context.absolute_url(), context.REQUEST.get("override_document_description", ""), context.REQUEST.get("override_document_short_title", ""), context.REQUEST.get("override_document_title", ""), context.REQUEST.get("override_document_version", ""), context.REQUEST.get("override_logo_reference", ""), context.REQUEST.get("override_source_organisation_title", ""), context.REQUEST.get("override_source_person_title", ""),context.REQUEST.get("override_document_reference", ""),context.REQUEST.get("include_content_table", 1), context.REQUEST.get("include_history_table", 0),context.REQUEST.get("include_reference_table", 0),context.REQUEST.get("include_linked_content", 0),context.REQUEST.get("include_report_content", 0), context.REQUEST.get("display_svg", "png"))
]]>
</string>
</value>
<value>
<string>
python: here.Base_encodeBookUrl()
</string>
</value>
</item>
</dictionary>
</pickle>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsBookDialog/your_override_logo_reference.xml
View file @
46a119d7
...
...
@@ -253,7 +253,7 @@
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Logo
Reference
</string>
</value>
<value>
<string>
Logo
</string>
</value>
</item>
<item>
<key>
<string>
truncate
</string>
</key>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsLeafletDialog/your_content.xml
View file @
46a119d7
...
...
@@ -299,11 +299,7 @@
<dictionary>
<item>
<key>
<string>
_text
</string>
</key>
<value>
<string
encoding=
"cdata"
>
<![CDATA[
python: \'<iframe width="100%%" height="500" style="background-color:#FFFFFF;box-sizing:border-box;-wekbit-box-sizing:border-box;" src="%s/WebPage_viewAsWeb?portal_skin=Leaflet&override_source_person_title=%s&override_source_organisation_title=%s&override_logo_reference=%s&display_side=%s&override_leaflet_header_title=%s&display_svg=%s" name="default_version">
</iframe>
\' % (context.absolute_url(), context.REQUEST.get("override_source_person_title", ""), context.REQUEST.get("override_source_organisation_title", ""), context.REQUEST.get("override_logo_reference", ""), context.REQUEST.get("display_side", 1), context.REQUEST.get("override_leaflet_header_title", ""), context.REQUEST.get("display_svg", "png"))
]]>
</string>
</value>
<value>
<string>
python: here.Base_encodeLeafletUrl()
</string>
</value>
</item>
</dictionary>
</pickle>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsLeafletDialog/your_override_logo_reference.xml
View file @
46a119d7
...
...
@@ -253,7 +253,7 @@
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Logo
Reference
</string>
</value>
<value>
<string>
Logo
</string>
</value>
</item>
<item>
<key>
<string>
truncate
</string>
</key>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsLetterDialog/your_content.xml
View file @
46a119d7
...
...
@@ -299,11 +299,7 @@
<dictionary>
<item>
<key>
<string>
_text
</string>
</key>
<value>
<string
encoding=
"cdata"
>
<![CDATA[
python: \'<iframe width="100%%" height="500" style="background-color:#FFFFFF;box-sizing:border-box;-wekbit-box-sizing:border-box;" src="%s/WebPage_viewAsWeb?portal_skin=Letter&override_source_person_title=%s&override_source_organisation_title=%s&override_destination_person_title=%s&override_destination_organisation_title=%s&display_head=%s&override_date=%s&display_svg=%s&destination_position_in_letter=%s&display_sender_company_above_recipient=%s&destination_position_padding_left=%s" name="default_version">
</iframe>
\' % (context.absolute_url(), context.REQUEST.get("override_source_person_title", ""), context.REQUEST.get("override_source_organisation_title", ""), context.REQUEST.get("override_destination_person_title", ""), context.REQUEST.get("override_destination_organisation_title", ""), context.REQUEST.get("display_head", 1), context.REQUEST.get("override_date", ""), context.REQUEST.get("display_svg", "png"), context.REQUEST.get("destination_position_in_letter", "right"), context.REQUEST.get("display_sender_company_above_recipient", 0), context.REQUEST.get(\'destination_position_padding_left\', \'100px\'))
]]>
</string>
</value>
<value>
<string>
python: here.Base_encodeLetterUrl()
</string>
</value>
</item>
</dictionary>
</pickle>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsReleaseDialog/your_content.xml
View file @
46a119d7
...
...
@@ -299,11 +299,7 @@
<dictionary>
<item>
<key>
<string>
_text
</string>
</key>
<value>
<string
encoding=
"cdata"
>
<![CDATA[
python: \'<iframe width="100%%" height="500" style="background-color:#FFFFFF;box-sizing:border-box;-wekbit-box-sizing:border-box;" src="%s/WebPage_viewAsWeb?portal_skin=Release&override_source_person_title=%s&override_source_organisation_title=%s&display_svg=%s&display_about=%s" name="default_version">
</iframe>
\' % (context.absolute_url(), context.REQUEST.get("override_source_person_title", ""), context.REQUEST.get("override_source_organisation_title", ""), context.REQUEST.get("display_svg", "png"), context.REQUEST.get("display_about", 1))
]]>
</string>
</value>
<value>
<string>
python: here.Base_encodePressReleaseUrl()
</string>
</value>
</item>
</dictionary>
</pickle>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsSlideshowDialog/your_content.xml
View file @
46a119d7
...
...
@@ -299,11 +299,7 @@
<dictionary>
<item>
<key>
<string>
_text
</string>
</key>
<value>
<string
encoding=
"cdata"
>
<![CDATA[
python: \'<iframe width="100%%" height="500" style="background-color:#FFFFFF;box-sizing:border-box;-wekbit-box-sizing:border-box;" src="%s/WebPage_viewAsWeb?portal_skin=Slide&override_source_organisation_title=%s&override_logo_reference=%s&display_svg=%s&display_note=%s" name="default_version">
</iframe>
\' % (here.absolute_url(), context.REQUEST.get("override_source_organisation_title", ""), context.REQUEST.get("override_logo_reference", ""), context.REQUEST.get("display_svg", "png"), context.REQUEST.get("display_note", 1))
]]>
</string>
</value>
<value>
<string>
python: here.Base_encodeSlideShowUrl()
</string>
</value>
</item>
</dictionary>
</pickle>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsSlideshowDialog/your_override_logo_reference.xml
View file @
46a119d7
...
...
@@ -253,7 +253,7 @@
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Logo
Reference
</string>
</value>
<value>
<string>
Logo
</string>
</value>
</item>
<item>
<key>
<string>
truncate
</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