Commit 31a9f84d authored by Xiaowu Zhang's avatar Xiaowu Zhang

erp5_corporate_identity: show fixed render doc for pdf

parent 7933f41f
......@@ -12,7 +12,8 @@ Creates the Slideshow content section.
doc_theme_css_font_list python: options.get('doc_theme_css_font_list');
doc_theme_css_url python: options.get('doc_theme_css_url');
doc_template_css_url python: options.get('doc_template_css_url');
doc_content python: options.get('doc_content');">
doc_content python: options.get('doc_content');
doc_rendering_fix python: options.get('doc_rendering_fix');">
<!DOCTYPE html>
<html tal:attributes="class python: ''.join(['ci-', doc_theme, ' ci-', doc_language])">
<head>
......@@ -32,6 +33,9 @@ Creates the Slideshow content section.
</head>
<body class="ci-slideshow">
<tal:block metal:use-macro="context/WebPage_createSlideshowContent/macros/slide_content" />
<tal:block tal:condition="python: doc_format == 'pdf'">
<tal:block tal:content="structure python: doc_rendering_fix"></tal:block>
</tal:block>
</body>
</html>
</tal:block>
......
......@@ -12,7 +12,8 @@ Creates the Slideshow note section.
doc_theme_css_font_list python: options.get('doc_theme_css_font_list');
doc_theme_css_url python: options.get('doc_theme_css_url');
doc_template_css_url python: options.get('doc_template_css_url');
doc_notes python: options.get('doc_notes');">
doc_notes python: options.get('doc_notes');
doc_rendering_fix python: options.get('doc_rendering_fix');">
<!DOCTYPE html>
<html tal:attributes="class python: ''.join(['ci-', doc_theme, ' ci-', doc_language])">
<head>
......@@ -32,6 +33,9 @@ Creates the Slideshow note section.
</head>
<body class="ci-slideshow-handout">
<tal:block metal:use-macro="context/WebPage_createSlideshowNotes/macros/slide_notes" />
<tal:block tal:condition="python: doc_format == 'pdf'">
<tal:block tal:content="structure python: doc_rendering_fix"></tal:block>
</tal:block>
</body>
</html>
</tal:block>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment