Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
erp5_rtl_support
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
Romain Courteaud
erp5_rtl_support
Commits
0044866a
Commit
0044866a
authored
Dec 06, 2017
by
Sven Franck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_corporate_identitiy: fix failing tests
parent
0c1cf470
Changes
18
Show whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
51 additions
and
140 deletions
+51
-140
bt5/erp5_corporate_identity/PathTemplateItem/document_module/template_test_slideshow_input_001_en_pdf.xml
...ument_module/template_test_slideshow_input_001_en_pdf.xml
+4
-4
bt5/erp5_corporate_identity/PathTemplateItem/document_module/template_test_slideshow_input_002_en_pdf.xml
...ument_module/template_test_slideshow_input_002_en_pdf.xml
+5
-5
bt5/erp5_corporate_identity/PathTemplateItem/document_module/template_test_slideshow_input_003_en_pdf.xml
...ument_module/template_test_slideshow_input_003_en_pdf.xml
+5
-5
bt5/erp5_corporate_identity/PathTemplateItem/document_module/template_test_slideshow_input_004_en_pdf.xml
...ument_module/template_test_slideshow_input_004_en_pdf.xml
+4
-4
bt5/erp5_corporate_identity/PathTemplateItem/document_module/template_test_slideshow_input_005_de_pdf.xml
...ument_module/template_test_slideshow_input_005_de_pdf.xml
+5
-96
bt5/erp5_corporate_identity/PathTemplateItem/image_module/template_test_slideshow_input_slide_0_001_en_bmp.xml
...dule/template_test_slideshow_input_slide_0_001_en_bmp.xml
+2
-2
bt5/erp5_corporate_identity/PathTemplateItem/image_module/template_test_slideshow_input_slide_0_002_en_bmp.xml
...dule/template_test_slideshow_input_slide_0_002_en_bmp.xml
+3
-3
bt5/erp5_corporate_identity/PathTemplateItem/image_module/template_test_slideshow_input_slide_0_003_en_bmp.xml
...dule/template_test_slideshow_input_slide_0_003_en_bmp.xml
+3
-3
bt5/erp5_corporate_identity/PathTemplateItem/image_module/template_test_slideshow_input_slide_13_004_en_bmp.xml
...ule/template_test_slideshow_input_slide_13_004_en_bmp.xml
+2
-2
bt5/erp5_corporate_identity/PathTemplateItem/image_module/template_test_slideshow_input_slide_8_005_de_bmp.xml
...dule/template_test_slideshow_input_slide_8_005_de_bmp.xml
+3
-3
bt5/erp5_corporate_identity/PathTemplateItem/person_module/template_test_author.xml
...y/PathTemplateItem/person_module/template_test_author.xml
+3
-3
bt5/erp5_corporate_identity/PathTemplateItem/web_page_module/template_test_slideshow_output_expected_001_en_html.xml
...e/template_test_slideshow_output_expected_001_en_html.xml
+1
-1
bt5/erp5_corporate_identity/PathTemplateItem/web_page_module/template_test_slideshow_output_expected_002_en_html.xml
...e/template_test_slideshow_output_expected_002_en_html.xml
+1
-1
bt5/erp5_corporate_identity/PathTemplateItem/web_page_module/template_test_slideshow_output_expected_003_en_html.xml
...e/template_test_slideshow_output_expected_003_en_html.xml
+1
-1
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsSlideshowDialog/content.xml
..._identity/WebPage_viewExportAsSlideshowDialog/content.xml
+1
-1
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsSlideshowDialog/content.xml
...e_identity/WebPage_viewPrintAsSlideshowDialog/content.xml
+1
-1
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity_slide/WebPage_viewAsSlideshow.py
.../erp5_corporate_identity_slide/WebPage_viewAsSlideshow.py
+2
-2
bt5/erp5_corporate_identity/TestTemplateItem/portal_components/test.erp5.testCorportateIdentityTemplates.py
...l_components/test.erp5.testCorportateIdentityTemplates.py
+5
-3
No files found.
bt5/erp5_corporate_identity/PathTemplateItem/document_module/template_test_slideshow_input_001_en_pdf.xml
View file @
0044866a
...
...
@@ -39,7 +39,7 @@
</item>
<item>
<key>
<string>
_EtagSupport__etag
</string>
</key>
<value>
<string>
ts125
54317.38
</string>
</value>
<value>
<string>
ts125
74913.49
</string>
</value>
</item>
<item>
<key>
<string>
_Modify_portal_content_Permission
</string>
</key>
...
...
@@ -83,7 +83,7 @@
</item>
<item>
<key>
<string>
content_md5
</string>
</key>
<value>
<string>
cf97caf7dce3dac69a926c601f1933d
4
</string>
</value>
<value>
<string>
f7850c76d911b9af68adadd36000208
4
</string>
</value>
</item>
<item>
<key>
<string>
content_type
</string>
</key>
...
...
@@ -282,7 +282,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
963.62
225.40453.40038
</string>
</value>
<value>
<string>
963.62
459.32541.24320
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -300,7 +300,7 @@
</tuple>
<state>
<tuple>
<float>
15125
54317.39
</float>
<float>
15125
74913.5
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_corporate_identity/PathTemplateItem/document_module/template_test_slideshow_input_002_en_pdf.xml
View file @
0044866a
...
...
@@ -39,7 +39,7 @@
</item>
<item>
<key>
<string>
_EtagSupport__etag
</string>
</key>
<value>
<string>
ts1
1431737.56
</string>
</value>
<value>
<string>
ts1
2568181.68
</string>
</value>
</item>
<item>
<key>
<string>
_Modify_portal_content_Permission
</string>
</key>
...
...
@@ -83,7 +83,7 @@
</item>
<item>
<key>
<string>
content_md5
</string>
</key>
<value>
<string>
8e1ecefbc23d77cab30dcb62ac2c711a
</string>
</value>
<value>
<string>
e14be48e4e6e7275bc10b303fb277019
</string>
</value>
</item>
<item>
<key>
<string>
content_type
</string>
</key>
...
...
@@ -125,7 +125,7 @@
</item>
<item>
<key>
<string>
size
</string>
</key>
<value>
<int>
37
7551
</int>
</value>
<value>
<int>
37
6926
</int>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
...
...
@@ -282,7 +282,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
963.
42080.62928.882
3
</string>
</value>
<value>
<string>
963.
62461.45600.3186
3
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -300,7 +300,7 @@
</tuple>
<state>
<tuple>
<float>
15125
54370.87
</float>
<float>
15125
74946.16
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_corporate_identity/PathTemplateItem/document_module/template_test_slideshow_input_003_en_pdf.xml
View file @
0044866a
...
...
@@ -39,7 +39,7 @@
</item>
<item>
<key>
<string>
_EtagSupport__etag
</string>
</key>
<value>
<string>
ts1
1431795.07
</string>
</value>
<value>
<string>
ts1
2568247.69
</string>
</value>
</item>
<item>
<key>
<string>
_Modify_portal_content_Permission
</string>
</key>
...
...
@@ -83,7 +83,7 @@
</item>
<item>
<key>
<string>
content_md5
</string>
</key>
<value>
<string>
f0f6c61a858f026327dadb9898b9fba0
</string>
</value>
<value>
<string>
132513bbba0401202af0073be4001f1e
</string>
</value>
</item>
<item>
<key>
<string>
content_type
</string>
</key>
...
...
@@ -125,7 +125,7 @@
</item>
<item>
<key>
<string>
size
</string>
</key>
<value>
<int>
3
77551
</int>
</value>
<value>
<int>
3
86329
</int>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
...
...
@@ -282,7 +282,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
963.
42081.60204.26828
</string>
</value>
<value>
<string>
963.
62462.52355.5427
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -300,7 +300,7 @@
</tuple>
<state>
<tuple>
<float>
15125
54384.37
</float>
<float>
15125
74959.35
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_corporate_identity/PathTemplateItem/document_module/template_test_slideshow_input_004_en_pdf.xml
View file @
0044866a
...
...
@@ -39,7 +39,7 @@
</item>
<item>
<key>
<string>
_EtagSupport__etag
</string>
</key>
<value>
<string>
ts1
1432920.01
</string>
</value>
<value>
<string>
ts1
2568119.22
</string>
</value>
</item>
<item>
<key>
<string>
_Modify_portal_content_Permission
</string>
</key>
...
...
@@ -83,7 +83,7 @@
</item>
<item>
<key>
<string>
content_md5
</string>
</key>
<value>
<string>
3978a348b1101fe7e69cc9bddef6aebc
</string>
</value>
<value>
<string>
65faf6de705e6709424bcde1bf9c02a9
</string>
</value>
</item>
<item>
<key>
<string>
content_type
</string>
</key>
...
...
@@ -282,7 +282,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
963.
42100.43774.6092
</string>
</value>
<value>
<string>
963.
62460.42922.17629
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -300,7 +300,7 @@
</tuple>
<state>
<tuple>
<float>
15125
54357.17
</float>
<float>
15125
74934.34
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_corporate_identity/PathTemplateItem/document_module/template_test_slideshow_input_005_de_pdf.xml
View file @
0044866a
...
...
@@ -39,7 +39,7 @@
</item>
<item>
<key>
<string>
_EtagSupport__etag
</string>
</key>
<value>
<string>
ts1
1431833.7
2
</string>
</value>
<value>
<string>
ts1
2568313.9
2
</string>
</value>
</item>
<item>
<key>
<string>
_Modify_portal_content_Permission
</string>
</key>
...
...
@@ -63,97 +63,6 @@
</tuple>
</value>
</item>
<item>
<key>
<string>
_content_information
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
ArtBox
</string>
</key>
<value>
<string>
0.00 0.00 842.00 595.00
</string>
</value>
</item>
<item>
<key>
<string>
BleedBox
</string>
</key>
<value>
<string>
0.00 0.00 842.00 595.00
</string>
</value>
</item>
<item>
<key>
<string>
CreationDate
</string>
</key>
<value>
<string>
Thu Nov 23 11:10:17 2017
</string>
</value>
</item>
<item>
<key>
<string>
Creator
</string>
</key>
<value>
<string>
wkhtmltopdf 0.12.4
</string>
</value>
</item>
<item>
<key>
<string>
CropBox
</string>
</key>
<value>
<string>
0.00 0.00 842.00 595.00
</string>
</value>
</item>
<item>
<key>
<string>
Encrypted
</string>
</key>
<value>
<string>
no
</string>
</value>
</item>
<item>
<key>
<string>
File size
</string>
</key>
<value>
<string>
390890 bytes
</string>
</value>
</item>
<item>
<key>
<string>
Form
</string>
</key>
<value>
<string>
none
</string>
</value>
</item>
<item>
<key>
<string>
JavaScript
</string>
</key>
<value>
<string>
no
</string>
</value>
</item>
<item>
<key>
<string>
MediaBox
</string>
</key>
<value>
<string>
0.00 0.00 842.00 595.00
</string>
</value>
</item>
<item>
<key>
<string>
Optimized
</string>
</key>
<value>
<string>
no
</string>
</value>
</item>
<item>
<key>
<string>
PDF version
</string>
</key>
<value>
<string>
1.4
</string>
</value>
</item>
<item>
<key>
<string>
Page rot
</string>
</key>
<value>
<string>
0
</string>
</value>
</item>
<item>
<key>
<string>
Page size
</string>
</key>
<value>
<string>
842 x 595 pts (A4)
</string>
</value>
</item>
<item>
<key>
<string>
Pages
</string>
</key>
<value>
<string>
14
</string>
</value>
</item>
<item>
<key>
<string>
Producer
</string>
</key>
<value>
<string>
Qt 4.8.7
</string>
</value>
</item>
<item>
<key>
<string>
Suspects
</string>
</key>
<value>
<string>
no
</string>
</value>
</item>
<item>
<key>
<string>
Tagged
</string>
</key>
<value>
<string>
no
</string>
</value>
</item>
<item>
<key>
<string>
Title
</string>
</key>
<value>
<string>
Template Test Slideshow
</string>
</value>
</item>
<item>
<key>
<string>
TrimBox
</string>
</key>
<value>
<string>
0.00 0.00 842.00 595.00
</string>
</value>
</item>
<item>
<key>
<string>
UserProperties
</string>
</key>
<value>
<string>
no
</string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
_count
</string>
</key>
<value>
...
...
@@ -174,7 +83,7 @@
</item>
<item>
<key>
<string>
content_md5
</string>
</key>
<value>
<string>
3f1545b0e18dd872d0d930a953862848
</string>
</value>
<value>
<string>
2232076ac8dd7ef2dc9f098365ec0687
</string>
</value>
</item>
<item>
<key>
<string>
content_type
</string>
</key>
...
...
@@ -216,7 +125,7 @@
</item>
<item>
<key>
<string>
size
</string>
</key>
<value>
<int>
390
890
</int>
</value>
<value>
<int>
390
315
</int>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
...
...
@@ -373,7 +282,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
963.
42358.28102.28245
</string>
</value>
<value>
<string>
963.
62463.58982.64733
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -391,7 +300,7 @@
</tuple>
<state>
<tuple>
<float>
15125
54397.63
</float>
<float>
15125
74973.21
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_corporate_identity/PathTemplateItem/image_module/template_test_slideshow_input_slide_0_001_en_bmp.xml
View file @
0044866a
...
...
@@ -270,7 +270,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
963.62
225.48075.33638
</string>
</value>
<value>
<string>
963.62
459.39645.52650
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -288,7 +288,7 @@
</tuple>
<state>
<tuple>
<float>
15125
54324.53
</float>
<float>
15125
74915.48
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_corporate_identity/PathTemplateItem/image_module/template_test_slideshow_input_slide_0_002_en_bmp.xml
View file @
0044866a
...
...
@@ -79,7 +79,7 @@
</item>
<item>
<key>
<string>
content_md5
</string>
</key>
<value>
<string>
51f2363a7945b9146b9a255bc77eba54
</string>
</value>
<value>
<string>
cf639505f6709f51ef74d544d3b2f0f3
</string>
</value>
</item>
<item>
<key>
<string>
content_type
</string>
</key>
...
...
@@ -270,7 +270,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
963.
42100.62104.26897
</string>
</value>
<value>
<string>
963.
62461.52678.47854
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -288,7 +288,7 @@
</tuple>
<state>
<tuple>
<float>
15125
54372
.6
</float>
<float>
15125
74948
.6
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_corporate_identity/PathTemplateItem/image_module/template_test_slideshow_input_slide_0_003_en_bmp.xml
View file @
0044866a
...
...
@@ -79,7 +79,7 @@
</item>
<item>
<key>
<string>
content_md5
</string>
</key>
<value>
<string>
51f2363a7945b9146b9a255bc77eba54
</string>
</value>
<value>
<string>
84658bd9dc58b0847179e996ae9c0f82
</string>
</value>
</item>
<item>
<key>
<string>
content_type
</string>
</key>
...
...
@@ -270,7 +270,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
963.
42101.19457.30378
</string>
</value>
<value>
<string>
963.
62462.59148.54886
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -288,7 +288,7 @@
</tuple>
<state>
<tuple>
<float>
15125
54385.81
</float>
<float>
15125
74960.83
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_corporate_identity/PathTemplateItem/image_module/template_test_slideshow_input_slide_13_004_en_bmp.xml
View file @
0044866a
...
...
@@ -270,7 +270,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
963.
42100.46018.29252
</string>
</value>
<value>
<string>
963.
62460.49393.40584
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -288,7 +288,7 @@
</tuple>
<state>
<tuple>
<float>
15125
54358.9
6
</float>
<float>
15125
74936.0
6
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_corporate_identity/PathTemplateItem/image_module/template_test_slideshow_input_slide_8_005_de_bmp.xml
View file @
0044866a
...
...
@@ -79,7 +79,7 @@
</item>
<item>
<key>
<string>
content_md5
</string>
</key>
<value>
<string>
7c59e4c2b8c9c8ce495123104365dfb1
</string>
</value>
<value>
<string>
6bbe38dd6a8235ed74653965a994d83a
</string>
</value>
</item>
<item>
<key>
<string>
content_type
</string>
</key>
...
...
@@ -270,7 +270,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
963.
42101.40464.53077
</string>
</value>
<value>
<string>
963.
62464.819.10666
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -288,7 +288,7 @@
</tuple>
<state>
<tuple>
<float>
15125
54399.17
</float>
<float>
15125
74974.72
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_corporate_identity/PathTemplateItem/person_module/template_test_author.xml
View file @
0044866a
...
...
@@ -176,7 +176,7 @@
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
2
</string>
</value>
<value>
<string>
zope
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
...
...
@@ -190,7 +190,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
963.
2047.44285.54869
</string>
</value>
<value>
<string>
963.
41028.40156.40584
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -208,7 +208,7 @@
</tuple>
<state>
<tuple>
<float>
15
09029764.31
</float>
<float>
15
11368619.19
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_corporate_identity/PathTemplateItem/web_page_module/template_test_slideshow_output_expected_001_en_html.xml
View file @
0044866a
...
...
@@ -254,7 +254,7 @@
</tuple>
<state>
<tuple>
<float>
15125
54172.6
8
</float>
<float>
15125
74813.0
8
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_corporate_identity/PathTemplateItem/web_page_module/template_test_slideshow_output_expected_002_en_html.xml
View file @
0044866a
...
...
@@ -254,7 +254,7 @@
</tuple>
<state>
<tuple>
<float>
15125
54204.3
</float>
<float>
15125
74828.27
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_corporate_identity/PathTemplateItem/web_page_module/template_test_slideshow_output_expected_003_en_html.xml
View file @
0044866a
...
...
@@ -254,7 +254,7 @@
</tuple>
<state>
<tuple>
<float>
15125
54256.59
</float>
<float>
15125
74875.6
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsSlideshowDialog/content.xml
View file @
0044866a
...
...
@@ -301,7 +301,7 @@
<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_
publisher_title=%s&override_logo_reference=%s&svg_display=%s" name="default_version">
</iframe>
\' % (here.absolute_url(), context.REQUEST.get("override_publisher_title", ""), context.REQUEST.get("override_logo_reference", ""), context.REQUEST.get("svg_display
", "png"))
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" 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"))
]]>
</string>
</value>
</item>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsSlideshowDialog/content.xml
View file @
0044866a
...
...
@@ -301,7 +301,7 @@
<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_
publisher_title=%s&override_logo_reference=%s&svg_display=%s" name="default_version">
</iframe>
\' % (context.absolute_url(), context.REQUEST.get("override_publisher_title", ""), context.REQUEST.get("override_logo_reference", ""), context.REQUEST.get("svg_display
", "png"))
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" name="default_version">
</iframe>
\' % (context.absolute_url(), context.REQUEST.get("override_source_organisation_title", ""), context.REQUEST.get("override_logo_reference", ""), context.REQUEST.get("display_svg
", "png"))
]]>
</string>
</value>
</item>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity_slide/WebPage_viewAsSlideshow.py
View file @
0044866a
...
...
@@ -249,8 +249,8 @@ doc_css = ''.join(['.ci-slideshow-intro.present:not(.slide-background):before {'
# ---------------------------------- Source ------------------------------------
doc_source
=
doc
.
Base_getSourceDict
(
override_source_person_title
=
override_source_person_title
,
override_source_organisation_title
=
html_quote
(
override_source_organisation_title
)
,
override_logo_reference
=
html_quote
(
override_logo_reference
)
,
override_source_organisation_title
=
override_source_organisation_title
,
override_logo_reference
=
override_logo_reference
,
default_company_title
=
getCustomParameter
(
"default_company_title"
,
None
),
default_bank_account_uid
=
getCustomParameter
(
"default_bank_account_uid"
,
None
),
theme_logo_url
=
doc_theme
.
get
(
"theme_logo_url"
,
None
)
...
...
bt5/erp5_corporate_identity/TestTemplateItem/portal_components/test.erp5.testCorportateIdentityTemplates.py
View file @
0044866a
...
...
@@ -550,6 +550,8 @@ class TestCorporateIdentityTemplates(ERP5TypeTestCase):
)
)
'''
@changeSkin('Letter')
def test_htmlLetter(self):
...
...
@@ -626,7 +628,7 @@ class TestCorporateIdentityTemplates(ERP5TypeTestCase):
**dict(
test_method="WebPage_exportAsLetter",
use_skin="Letter",
head_display
=0,
display_head
=0,
lang="de",
)
)
...
...
@@ -719,7 +721,7 @@ class TestCorporateIdentityTemplates(ERP5TypeTestCase):
test_method="WebPage_exportAsLetter",
format="pdf",
lang="de",
head_display
=0,
display_head
=0,
use_skin="Letter",
)
)
...
...
@@ -738,7 +740,7 @@ class TestCorporateIdentityTemplates(ERP5TypeTestCase):
"template_test_letter_input_001_en_pdf",
**dict(
page_number=0,
test_method="WebPage_
P
rintAsLetter",
test_method="WebPage_
p
rintAsLetter",
use_skin="Letter",
)
)
...
...
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