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
Mukul
erp5
Commits
30532f1c
Commit
30532f1c
authored
Jan 14, 2018
by
Sven Franck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_corporate_identity: revert !=/==, cleanup
parent
a2d962cb
Changes
150
Hide whitespace changes
Inline
Side-by-side
Showing
150 changed files
with
2963 additions
and
375 deletions
+2963
-375
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/Base_finishWebPageCreation.py
...ins/erp5_corporate_identity/Base_finishWebPageCreation.py
+3
-3
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/Base_getDestinationDict.py
..._skins/erp5_corporate_identity/Base_getDestinationDict.py
+4
-4
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/Base_getSourceDict.py
...ortal_skins/erp5_corporate_identity/Base_getSourceDict.py
+8
-8
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/Base_getTemplateProxyParameter.py
...erp5_corporate_identity/Base_getTemplateProxyParameter.py
+14
-14
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/Base_getThemeDict.py
...portal_skins/erp5_corporate_identity/Base_getThemeDict.py
+3
-3
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/Base_setToNone.py
...em/portal_skins/erp5_corporate_identity/Base_setToNone.py
+0
-12
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/Base_setToNone.xml
...m/portal_skins/erp5_corporate_identity/Base_setToNone.xml
+0
-62
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/Base_updateReportDialog.py
..._skins/erp5_corporate_identity/Base_updateReportDialog.py
+1
-1
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/Base_viewAsLetter.py
...portal_skins/erp5_corporate_identity/Base_viewAsLetter.py
+14
-14
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/Base_viewAsReport.py
...portal_skins/erp5_corporate_identity/Base_viewAsReport.py
+24
-25
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/Document_createScreenshot.py
...kins/erp5_corporate_identity/Document_createScreenshot.py
+1
-1
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/Letter_createLetterContent.zpt
...ns/erp5_corporate_identity/Letter_createLetterContent.zpt
+1
-1
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/Letter_createLetterFooter.zpt
...ins/erp5_corporate_identity/Letter_createLetterFooter.zpt
+3
-3
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/Letter_getPredecessor.py
...al_skins/erp5_corporate_identity/Letter_getPredecessor.py
+2
-2
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/Letter_getPredecessor.xml
...l_skins/erp5_corporate_identity/Letter_getPredecessor.xml
+1
-1
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/Letter_viewPreview/content.xml
...ns/erp5_corporate_identity/Letter_viewPreview/content.xml
+1
-1
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_createBook.zpt
...rtal_skins/erp5_corporate_identity/WebPage_createBook.zpt
+1
-1
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_createBookTableOfHistory.zpt
...5_corporate_identity/WebPage_createBookTableOfHistory.zpt
+53
-52
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_createBookTableOfReferences.zpt
...orporate_identity/WebPage_createBookTableOfReferences.zpt
+4
-3
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_createImageOverview.py
...ns/erp5_corporate_identity/WebPage_createImageOverview.py
+1
-1
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_createLeaflet.zpt
...l_skins/erp5_corporate_identity/WebPage_createLeaflet.zpt
+1
-1
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_createLeafletContent.zpt
.../erp5_corporate_identity/WebPage_createLeafletContent.zpt
+2
-2
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_createLinkOverview.py
...ins/erp5_corporate_identity/WebPage_createLinkOverview.py
+3
-3
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_createRelease.zpt
...l_skins/erp5_corporate_identity/WebPage_createRelease.zpt
+1
-1
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_createReleaseAbout.zpt
...ns/erp5_corporate_identity/WebPage_createReleaseAbout.zpt
+1
-1
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_createReleaseContent.zpt
.../erp5_corporate_identity/WebPage_createReleaseContent.zpt
+1
-1
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_createTableOverview.py
...ns/erp5_corporate_identity/WebPage_createTableOverview.py
+1
-1
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_embedLinkedDocumentList.py
...rp5_corporate_identity/WebPage_embedLinkedDocumentList.py
+1
-1
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_embedReportDocumentList.py
...rp5_corporate_identity/WebPage_embedReportDocumentList.py
+5
-5
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_finishPdfCreation.py
...kins/erp5_corporate_identity/WebPage_finishPdfCreation.py
+3
-3
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_updateBookDialog.py
...skins/erp5_corporate_identity/WebPage_updateBookDialog.py
+1
-1
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_updateLeafletDialog.py
...ns/erp5_corporate_identity/WebPage_updateLeafletDialog.py
+1
-1
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_updateLetterDialog.py
...ins/erp5_corporate_identity/WebPage_updateLetterDialog.py
+1
-1
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_updateReleaseDialog.py
...ns/erp5_corporate_identity/WebPage_updateReleaseDialog.py
+1
-1
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_updateSlideshowDialog.py
.../erp5_corporate_identity/WebPage_updateSlideshowDialog.py
+1
-1
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_validateImage.py
...al_skins/erp5_corporate_identity/WebPage_validateImage.py
+3
-3
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewAsBook.py
...ortal_skins/erp5_corporate_identity/WebPage_viewAsBook.py
+38
-43
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewAsLeaflet.py
...al_skins/erp5_corporate_identity/WebPage_viewAsLeaflet.py
+13
-17
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewAsRelease.py
...al_skins/erp5_corporate_identity/WebPage_viewAsRelease.py
+10
-11
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewAsSlideshow.py
..._skins/erp5_corporate_identity/WebPage_viewAsSlideshow.py
+16
-16
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsBookDialog/content.xml
...orate_identity/WebPage_viewExportAsBookDialog/content.xml
+1
-1
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsBookDialog/display_svg.xml
...e_identity/WebPage_viewExportAsBookDialog/display_svg.xml
+5
-0
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsBookDialog/document_save.xml
...identity/WebPage_viewExportAsBookDialog/document_save.xml
+5
-0
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsBookDialog/format.xml
...porate_identity/WebPage_viewExportAsBookDialog/format.xml
+5
-0
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsBookDialog/include_content_table.xml
.../WebPage_viewExportAsBookDialog/include_content_table.xml
+5
-0
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsBookDialog/include_history_table.xml
.../WebPage_viewExportAsBookDialog/include_history_table.xml
+5
-0
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsBookDialog/include_linked_content.xml
...WebPage_viewExportAsBookDialog/include_linked_content.xml
+5
-0
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsBookDialog/include_reference_table.xml
...ebPage_viewExportAsBookDialog/include_reference_table.xml
+5
-0
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsBookDialog/include_report_content.xml
...WebPage_viewExportAsBookDialog/include_report_content.xml
+5
-0
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsBookDialog/override_document_description.xml
..._viewExportAsBookDialog/override_document_description.xml
+10
-0
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsBookDialog/override_document_reference.xml
...ge_viewExportAsBookDialog/override_document_reference.xml
+1
-1
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsBookDialog/override_document_short_title.xml
..._viewExportAsBookDialog/override_document_short_title.xml
+1
-1
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsBookDialog/override_document_title.xml
...ebPage_viewExportAsBookDialog/override_document_title.xml
+1
-1
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsBookDialog/override_document_version.xml
...Page_viewExportAsBookDialog/override_document_version.xml
+1
-1
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsBookDialog/override_logo_reference.xml
...ebPage_viewExportAsBookDialog/override_logo_reference.xml
+1
-1
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsBookDialog/override_source_organisation_title.xml
...ExportAsBookDialog/override_source_organisation_title.xml
+1
-1
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsBookDialog/override_source_person_title.xml
...e_viewExportAsBookDialog/override_source_person_title.xml
+1
-1
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsBookDialog/portal_skin.xml
...e_identity/WebPage_viewExportAsBookDialog/portal_skin.xml
+5
-0
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsLeafletDialog/display_side.xml
...entity/WebPage_viewExportAsLeafletDialog/display_side.xml
+5
-0
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsLeafletDialog/display_svg.xml
...dentity/WebPage_viewExportAsLeafletDialog/display_svg.xml
+5
-0
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsLeafletDialog/document_save.xml
...ntity/WebPage_viewExportAsLeafletDialog/document_save.xml
+5
-0
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsLeafletDialog/format.xml
...ate_identity/WebPage_viewExportAsLeafletDialog/format.xml
+5
-0
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsLeafletDialog/override_source_organisation_title.xml
...ortAsLeafletDialog/override_source_organisation_title.xml
+1
-1
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsLeafletDialog/override_source_person_title.xml
...iewExportAsLeafletDialog/override_source_person_title.xml
+1
-1
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsLeafletDialog/portal_skin.xml
...dentity/WebPage_viewExportAsLeafletDialog/portal_skin.xml
+5
-0
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsLetterDialog/content.xml
...ate_identity/WebPage_viewExportAsLetterDialog/content.xml
+1
-1
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsLetterDialog/display_head.xml
...dentity/WebPage_viewExportAsLetterDialog/display_head.xml
+5
-0
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsLetterDialog/display_source_address.xml
...bPage_viewExportAsLetterDialog/display_source_address.xml
+5
-0
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsLetterDialog/display_svg.xml
...identity/WebPage_viewExportAsLetterDialog/display_svg.xml
+5
-0
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsLetterDialog/document_save.xml
...entity/WebPage_viewExportAsLetterDialog/document_save.xml
+5
-0
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsLetterDialog/format.xml
...rate_identity/WebPage_viewExportAsLetterDialog/format.xml
+5
-0
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsLetterDialog/override_date.xml
...entity/WebPage_viewExportAsLetterDialog/override_date.xml
+5
-0
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsLetterDialog/override_destination_organisation_title.xml
...sLetterDialog/override_destination_organisation_title.xml
+1
-1
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsLetterDialog/override_destination_person_title.xml
...xportAsLetterDialog/override_destination_person_title.xml
+1
-1
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsLetterDialog/override_source_organisation_title.xml
...portAsLetterDialog/override_source_organisation_title.xml
+1
-1
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsLetterDialog/override_source_person_title.xml
...viewExportAsLetterDialog/override_source_person_title.xml
+1
-1
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsLetterDialog/portal_skin.xml
...identity/WebPage_viewExportAsLetterDialog/portal_skin.xml
+5
-0
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsReleaseDialog/content.xml
...te_identity/WebPage_viewExportAsReleaseDialog/content.xml
+1
-1
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsReleaseDialog/display_about.xml
...ntity/WebPage_viewExportAsReleaseDialog/display_about.xml
+5
-0
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsReleaseDialog/display_svg.xml
...dentity/WebPage_viewExportAsReleaseDialog/display_svg.xml
+5
-0
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsReleaseDialog/document_save.xml
...ntity/WebPage_viewExportAsReleaseDialog/document_save.xml
+5
-0
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsReleaseDialog/format.xml
...ate_identity/WebPage_viewExportAsReleaseDialog/format.xml
+5
-0
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsReleaseDialog/override_source_organisation_title.xml
...ortAsReleaseDialog/override_source_organisation_title.xml
+1
-1
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsReleaseDialog/override_source_person_title.xml
...iewExportAsReleaseDialog/override_source_person_title.xml
+1
-1
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsReleaseDialog/portal_skin.xml
...dentity/WebPage_viewExportAsReleaseDialog/portal_skin.xml
+5
-0
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_viewExportAsSlideshowDialog/display_note.xml
...tity/WebPage_viewExportAsSlideshowDialog/display_note.xml
+5
-0
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsSlideshowDialog/display_svg.xml
...ntity/WebPage_viewExportAsSlideshowDialog/display_svg.xml
+5
-0
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsSlideshowDialog/document_save.xml
...ity/WebPage_viewExportAsSlideshowDialog/document_save.xml
+5
-0
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsSlideshowDialog/format.xml
...e_identity/WebPage_viewExportAsSlideshowDialog/format.xml
+5
-0
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsSlideshowDialog/override_logo_reference.xml
...e_viewExportAsSlideshowDialog/override_logo_reference.xml
+1
-1
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsSlideshowDialog/override_source_organisation_title.xml
...tAsSlideshowDialog/override_source_organisation_title.xml
+1
-1
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsSlideshowDialog/portal_skin.xml
...ntity/WebPage_viewExportAsSlideshowDialog/portal_skin.xml
+5
-0
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsBookDialog/content.xml
...porate_identity/WebPage_viewPrintAsBookDialog/content.xml
+1
-1
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsBookDialog/display_svg.xml
...te_identity/WebPage_viewPrintAsBookDialog/display_svg.xml
+5
-0
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsBookDialog/document_save.xml
..._identity/WebPage_viewPrintAsBookDialog/document_save.xml
+5
-0
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsBookDialog/include_content_table.xml
...y/WebPage_viewPrintAsBookDialog/include_content_table.xml
+5
-0
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsBookDialog/include_history_table.xml
...y/WebPage_viewPrintAsBookDialog/include_history_table.xml
+5
-0
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsBookDialog/include_linked_content.xml
.../WebPage_viewPrintAsBookDialog/include_linked_content.xml
+5
-0
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsBookDialog/include_reference_table.xml
...WebPage_viewPrintAsBookDialog/include_reference_table.xml
+5
-0
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsBookDialog/include_report_content.xml
.../WebPage_viewPrintAsBookDialog/include_report_content.xml
+5
-0
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsBookDialog/override_document_description.xml
...e_viewPrintAsBookDialog/override_document_description.xml
+5
-0
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsBookDialog/override_document_reference.xml
...age_viewPrintAsBookDialog/override_document_reference.xml
+1
-1
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsBookDialog/override_document_short_title.xml
...e_viewPrintAsBookDialog/override_document_short_title.xml
+1
-1
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsBookDialog/override_document_title.xml
...WebPage_viewPrintAsBookDialog/override_document_title.xml
+1
-1
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsBookDialog/override_document_version.xml
...bPage_viewPrintAsBookDialog/override_document_version.xml
+1
-1
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsBookDialog/override_logo_reference.xml
...WebPage_viewPrintAsBookDialog/override_logo_reference.xml
+1
-1
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsBookDialog/override_source_organisation_title.xml
...wPrintAsBookDialog/override_source_organisation_title.xml
+1
-1
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsBookDialog/override_source_person_title.xml
...ge_viewPrintAsBookDialog/override_source_person_title.xml
+1
-1
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsBookDialog/portal_skin.xml
...te_identity/WebPage_viewPrintAsBookDialog/portal_skin.xml
+5
-0
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsLeafletDialog/content.xml
...ate_identity/WebPage_viewPrintAsLeafletDialog/content.xml
+1
-1
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsLeafletDialog/display_side.xml
...dentity/WebPage_viewPrintAsLeafletDialog/display_side.xml
+5
-0
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsLeafletDialog/display_svg.xml
...identity/WebPage_viewPrintAsLeafletDialog/display_svg.xml
+5
-0
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsLeafletDialog/document_save.xml
...entity/WebPage_viewPrintAsLeafletDialog/document_save.xml
+5
-0
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsLeafletDialog/override_source_organisation_title.xml
...intAsLeafletDialog/override_source_organisation_title.xml
+1
-1
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsLeafletDialog/override_source_person_title.xml
...viewPrintAsLeafletDialog/override_source_person_title.xml
+1
-1
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsLeafletDialog/portal_skin.xml
...identity/WebPage_viewPrintAsLeafletDialog/portal_skin.xml
+5
-0
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsLetterDialog/content.xml
...rate_identity/WebPage_viewPrintAsLetterDialog/content.xml
+1
-1
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsLetterDialog/display_head.xml
...identity/WebPage_viewPrintAsLetterDialog/display_head.xml
+5
-0
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsLetterDialog/display_source_address.xml
...ebPage_viewPrintAsLetterDialog/display_source_address.xml
+5
-0
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsLetterDialog/display_svg.xml
..._identity/WebPage_viewPrintAsLetterDialog/display_svg.xml
+5
-0
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsLetterDialog/document_save.xml
...dentity/WebPage_viewPrintAsLetterDialog/document_save.xml
+5
-0
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsLetterDialog/override_date.xml
...dentity/WebPage_viewPrintAsLetterDialog/override_date.xml
+5
-0
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsLetterDialog/override_destination_organisation_title.xml
...sLetterDialog/override_destination_organisation_title.xml
+1
-1
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsLetterDialog/override_destination_person_title.xml
...PrintAsLetterDialog/override_destination_person_title.xml
+1
-1
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsLetterDialog/override_source_organisation_title.xml
...rintAsLetterDialog/override_source_organisation_title.xml
+1
-1
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsLetterDialog/override_source_person_title.xml
..._viewPrintAsLetterDialog/override_source_person_title.xml
+1
-1
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsLetterDialog/portal_skin.xml
..._identity/WebPage_viewPrintAsLetterDialog/portal_skin.xml
+5
-0
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsReleaseDialog/content.xml
...ate_identity/WebPage_viewPrintAsReleaseDialog/content.xml
+1
-1
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsReleaseDialog/display_about.xml
...entity/WebPage_viewPrintAsReleaseDialog/display_about.xml
+5
-0
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsReleaseDialog/display_svg.xml
...identity/WebPage_viewPrintAsReleaseDialog/display_svg.xml
+5
-0
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsReleaseDialog/document_save.xml
...entity/WebPage_viewPrintAsReleaseDialog/document_save.xml
+5
-0
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsReleaseDialog/override_source_organisation_title.xml
...intAsReleaseDialog/override_source_organisation_title.xml
+1
-1
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsReleaseDialog/override_source_person_title.xml
...viewPrintAsReleaseDialog/override_source_person_title.xml
+1
-1
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsReleaseDialog/portal_skin.xml
...identity/WebPage_viewPrintAsReleaseDialog/portal_skin.xml
+5
-0
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/WebPage_viewPrintAsSlideshowDialog/display_note.xml
...ntity/WebPage_viewPrintAsSlideshowDialog/display_note.xml
+5
-0
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsSlideshowDialog/display_svg.xml
...entity/WebPage_viewPrintAsSlideshowDialog/display_svg.xml
+5
-0
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsSlideshowDialog/document_save.xml
...tity/WebPage_viewPrintAsSlideshowDialog/document_save.xml
+5
-0
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsSlideshowDialog/override_logo_reference.xml
...ge_viewPrintAsSlideshowDialog/override_logo_reference.xml
+1
-1
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsSlideshowDialog/override_source_organisation_title.xml
...tAsSlideshowDialog/override_source_organisation_title.xml
+1
-1
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsSlideshowDialog/portal_skin.xml
...entity/WebPage_viewPrintAsSlideshowDialog/portal_skin.xml
+5
-0
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/template_css/highlight.css.css
...ns/erp5_corporate_identity/template_css/highlight.css.css
+162
-0
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/template_css/highlight.css.xml
...ns/erp5_corporate_identity/template_css/highlight.css.xml
+28
-0
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/template_css/normalize.css.css
...ns/erp5_corporate_identity/template_css/normalize.css.css
+447
-0
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/template_css/normalize.css.xml
...ns/erp5_corporate_identity/template_css/normalize.css.xml
+28
-0
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/template_css/web.css.css
...al_skins/erp5_corporate_identity/template_css/web.css.css
+210
-0
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/template_css/web.css.xml
...al_skins/erp5_corporate_identity/template_css/web.css.xml
+28
-0
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/template_js/highlight.js.js
...skins/erp5_corporate_identity/template_js/highlight.js.js
+1473
-4
bt5/erp5_corporate_identity/TestTemplateItem/portal_components/test.erp5.testCorporateIdentityTemplates.py
...al_components/test.erp5.testCorporateIdentityTemplates.py
+1
-2
No files found.
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/Base_finishWebPageCreation.py
View file @
30532f1c
...
...
@@ -17,9 +17,9 @@ Save, download or return generated HTML Document
# doc_html_file text content for document
# doc_aggregate_list not applicable (only used for events)
if
doc_save
==
1
:
if
doc_save
:
web_page_module
=
getattr
(
context
,
'web_page_module'
,
None
)
if
web_page_module
!=
None
:
if
web_page_module
is
not
None
:
web_page
=
web_page_module
.
newContent
(
portal_type
=
"Web Page"
,
version
=
doc_version
,
...
...
@@ -44,7 +44,7 @@ if doc_save == 1:
#XXX else:
# download
elif
doc_download
==
1
:
elif
doc_download
:
context
.
REQUEST
.
RESPONSE
.
setHeader
(
"Content-Type"
,
"text/html;"
)
context
.
REQUEST
.
RESPONSE
.
setHeader
(
"Content-Disposition"
,
'attachment; filename="'
+
doc_full_reference
+
'.html"'
)
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/Base_getDestinationDict.py
View file @
30532f1c
...
...
@@ -13,7 +13,7 @@ blank = ''
# ---------------------------- Set Destination --------------------------------
# destination => Web Page = follow-up Organisation or Person, Event
if
destination
==
None
:
if
destination
is
None
:
destination_person
=
None
destination_person_list
=
[]
destination_organisation
=
None
...
...
@@ -21,7 +21,7 @@ if destination == None:
destination_uid
=
None
# destination person
if
override_destination_person_title
!=
None
or
override_destination_person_title
==
blank
:
if
override_destination_person_title
is
not
None
or
override_destination_person_title
==
blank
:
destination_person_list
=
context
.
Base_getTemplateProxyParameter
(
parameter
=
"override_person"
,
source_data
=
override_destination_person_title
)
if
len
(
destination_person_list
)
==
0
:
destination_person_list
=
context
.
Base_getTemplateProxyParameter
(
parameter
=
"person"
,
source_data
=
None
)
...
...
@@ -29,11 +29,11 @@ if destination == None:
destination_person
=
destination_person_list
[
0
]
# destination organisation
if
override_destination_organisation_title
!=
None
or
override_destination_organisation_title
==
blank
:
if
override_destination_organisation_title
is
not
None
or
override_destination_organisation_title
==
blank
:
destination_organisation_list
=
context
.
Base_getTemplateProxyParameter
(
parameter
=
"override_organisation"
,
source_data
=
override_destination_organisation_title
)
if
len
(
destination_organisation_list
)
==
0
:
destination_organisation_list
=
context
.
Base_getTemplateProxyParameter
(
parameter
=
"organisation"
,
source_data
=
None
)
if
len
(
destination_organisation_list
)
==
0
and
destination_person
!=
None
:
if
len
(
destination_organisation_list
)
==
0
and
destination_person
is
not
None
:
destination_organisation_list
=
context
.
Base_getTemplateProxyParameter
(
parameter
=
"source"
,
source_data
=
destination_person
.
get
(
"uid"
))
or
[]
if
len
(
destination_organisation_list
)
>
0
:
destination_organisation
=
destination_organisation_list
[
0
]
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/Base_getSourceDict.py
View file @
30532f1c
...
...
@@ -18,7 +18,7 @@ from Products.PythonScripts.standard import html_quote
source_logo_url
=
None
default_bank_account_uid
=
context
.
Base_getTemplateParameter
(
"default_bank_account_uid"
)
if
source
==
None
:
if
source
is
None
:
default_company_title
=
context
.
Base_getTemplateParameter
(
"default_company_title"
)
contributor_title_string
=
blank
source_person
=
None
...
...
@@ -29,7 +29,7 @@ if source == None:
source_set
=
None
# source person
if
override_source_person_title
!=
None
or
override_source_person_title
==
blank
:
if
override_source_person_title
is
not
None
or
override_source_person_title
==
blank
:
source_person_list
=
context
.
Base_getTemplateProxyParameter
(
parameter
=
"override_person"
,
source_data
=
override_source_person_title
)
if
len
(
source_person_list
)
==
0
:
source_person_list
=
context
.
Base_getTemplateProxyParameter
(
parameter
=
"author"
,
source_data
=
None
)
or
[]
...
...
@@ -39,7 +39,7 @@ if source == None:
# source organisation
# order: override => follow-up => default_organisation_uid => default_company_title => source_person career subordinate
if
override_source_organisation_title
!=
None
or
override_source_organisation_title
==
blank
:
if
override_source_organisation_title
is
not
None
or
override_source_organisation_title
==
blank
:
source_organisation_list
=
context
.
Base_getTemplateProxyParameter
(
parameter
=
"override_organisation"
,
source_data
=
override_source_organisation_title
)
if
len
(
source_organisation_list
)
==
0
:
source_organisation_list
=
context
.
Base_getTemplateProxyParameter
(
parameter
=
"organisation"
,
source_data
=
None
)
...
...
@@ -49,7 +49,7 @@ if source == None:
source_organisation_list
=
context
.
Base_getTemplateProxyParameter
(
parameter
=
"sender"
,
source_data
=
source_organisation_uid
)
or
[]
if
len
(
source_organisation_list
)
==
0
and
default_company_title
:
source_organisation_list
=
context
.
Base_getTemplateProxyParameter
(
parameter
=
"override_organisation"
,
source_data
=
default_company_title
)
or
[]
if
len
(
source_organisation_list
)
==
0
and
source_person
!=
None
:
if
len
(
source_organisation_list
)
==
0
and
source_person
is
not
None
:
for
organisation_candidate
in
source_person_list
:
organisation_candidate_list
=
context
.
Base_getTemplateProxyParameter
(
parameter
=
"source"
,
source_data
=
organisation_candidate
.
get
(
"uid"
))
or
[]
if
len
(
organisation_candidate_list
)
>
0
:
...
...
@@ -69,7 +69,7 @@ else:
source
=
context
.
Base_getTemplateProxyParameter
(
parameter
=
"source"
,
source_data
=
source_uid
)[
0
]
# override specific bank account (no default to pick correct one if multiple exist)
if
default_bank_account_uid
!=
None
:
if
default_bank_account_uid
is
not
None
:
override_bank_account_list
=
context
.
Base_getTemplateProxyParameter
(
parameter
=
"bank"
,
source_data
=
default_bank_account_uid
)
or
[]
if
len
(
override_bank_account_list
)
>
0
:
override_bank_account
=
override_bank_account_list
[
0
]
...
...
@@ -87,12 +87,12 @@ if source.get("corporate_registration_code") is blank:
if
override_logo_reference
:
source_logo_url
=
html_quote
(
override_logo_reference
)
+
"?format=png"
source_set
=
True
if
source_logo_url
==
None
:
if
source_logo_url
is
None
:
source_logo_url
=
source
.
get
(
"logo_url"
,
blank
)
if
source_logo_url
!=
blank
and
source_set
==
None
:
if
source_logo_url
!=
blank
and
source_set
is
None
:
# XXX: test environment fails if url with parameters are supplied
source_logo_url
=
source_logo_url
+
"?format=png"
if
source_logo_url
==
blank
and
theme_logo_url
!=
None
:
if
source_logo_url
==
blank
and
theme_logo_url
is
not
None
:
source_logo_url
=
theme_logo_url
source
[
"enhanced_logo_url"
]
=
source_logo_url
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/Base_getTemplateProxyParameter.py
View file @
30532f1c
...
...
@@ -11,7 +11,7 @@ portal_object = context.getPortalObject()
validation_state
=
(
'released'
,
'released_alive'
,
'published'
,
'published_alive'
,
'shared'
,
'shared_alive'
,
'public'
,
'validated'
)
if
REQUEST
!=
None
:
if
REQUEST
is
not
None
:
return
None
if
portal_type
not
in
portal_type_valid_template_list
and
portal_type
not
in
portal_type_valid_report_list
:
...
...
@@ -75,7 +75,7 @@ def populatePersonDict(my_person_list):
output_dict
[
"name"
]
=
person
.
getTitle
()
or
err
(
"title"
)
output_dict
[
"title"
]
=
person
.
getFunctionTitle
()
or
err
(
"function title"
)
output_dict
[
"uid"
]
=
person
.
getUid
()
or
err
(
"uid"
)
if
person
.
getDefaultAddress
()
!=
None
:
if
person
.
getDefaultAddress
()
is
not
None
:
output_dict
[
"address"
]
=
person_address
.
getStreetAddress
()
or
err
(
"street address"
)
output_dict
[
"postal_code"
]
=
person_address
.
getZipCode
()
or
err
(
"postal code"
)
output_dict
[
"city"
]
=
person_address
.
getCity
()
or
err
(
"city"
)
...
...
@@ -83,17 +83,17 @@ def populatePersonDict(my_person_list):
output_dict
[
"address"
]
=
err
(
"street_adress"
)
output_dict
[
"postal_code"
]
=
err
(
"postal_code"
)
output_dict
[
"city"
]
=
err
(
"city"
)
if
person_region
!=
None
:
if
person_region
is
not
None
:
output_dict
[
"country"
]
=
person_region
.
getTitle
()
or
err
(
"country"
)
output_dict
[
"codification"
]
=
person_region
.
getCodification
()
or
err
(
"country code"
)
else
:
output_dict
[
"country"
]
=
err
(
"country"
)
output_dict
[
"codification"
]
=
err
(
"country code"
)
if
person_default_telephone
!=
None
:
if
person_default_telephone
is
not
None
:
output_dict
[
"phone"
]
=
person_default_telephone
.
getCoordinateText
()
or
err
(
"phone"
)
else
:
output_dict
[
"phone"
]
=
err
(
"phone"
)
if
person_default_mail
!=
None
:
if
person_default_mail
is
not
None
:
output_dict
[
"email"
]
=
person_default_mail
.
getUrlString
()
or
err
(
"email"
)
else
:
output_dict
[
"email"
]
=
err
(
"email"
)
...
...
@@ -120,7 +120,7 @@ def populateOrganisationDict(my_organisation_list):
output_dict
[
"activity_code"
]
=
organisation
.
getActivityCode
()
or
err
(
"activitiy code"
)
#output_dict["logo_url"] = organisation.getDefaultImageAbsoluteUrl() or err("logo_url")
if
organisation_default_image
!=
None
:
if
organisation_default_image
is
not
None
:
output_dict
[
"logo_url"
]
=
organisation_default_image
.
getRelativeUrl
()
else
:
output_dict
[
"logo_url"
]
=
err
(
"logo_url"
)
...
...
@@ -132,7 +132,7 @@ def populateOrganisationDict(my_organisation_list):
output_dict
[
"vat"
]
=
organisation
.
getVatCode
()
or
err
(
"vat"
)
output_dict
[
"corporate_registration"
]
=
organisation
.
getCorporateRegistrationCode
()
or
err
(
"corporate_registration"
)
output_dict
[
"email"
]
=
organisation
.
getDefaultEmailText
()
or
err
(
"email"
)
if
organisation
.
getDefaultAddress
()
!=
None
:
if
organisation
.
getDefaultAddress
()
is
not
None
:
output_dict
[
"address"
]
=
organisation_address
.
getStreetAddress
()
or
err
(
"street address"
)
output_dict
[
"postal_code"
]
=
organisation_address
.
getZipCode
()
or
err
(
"postal code"
)
output_dict
[
"city"
]
=
organisation_address
.
getCity
()
or
err
(
"city"
)
...
...
@@ -140,17 +140,17 @@ def populateOrganisationDict(my_organisation_list):
output_dict
[
"address"
]
=
err
(
"street address"
)
output_dict
[
"postal_code"
]
=
err
(
"postal code"
)
output_dict
[
"city"
]
=
err
(
"city"
)
if
organisation_region
!=
None
:
if
organisation_region
is
not
None
:
output_dict
[
"country"
]
=
organisation_region
.
getTitle
()
or
err
(
"country"
)
output_dict
[
"codification"
]
=
organisation_region
.
getCodification
()
or
err
(
"country code"
)
else
:
output_dict
[
"country"
]
=
err
(
"country"
)
output_dict
[
"codification"
]
=
err
(
"country code"
)
if
organisation_phone
!=
None
:
if
organisation_phone
is
not
None
:
output_dict
[
"phone"
]
=
organisation_phone
.
getDefaultTelephoneCoordinateText
()
or
err
(
"phone"
)
else
:
output_dict
[
"phone"
]
=
err
(
"phone"
)
if
organisation_fax
!=
None
:
if
organisation_fax
is
not
None
:
output_dict
[
"fax"
]
=
organisation_fax
.
getCoordinateText
()
or
err
(
"fax"
)
else
:
output_dict
[
"fax"
]
=
err
(
"fax"
)
...
...
@@ -192,7 +192,7 @@ pass_parameter = kw.get("parameter", None)
pass_source_data
=
kw
.
get
(
"source_data"
,
None
)
or
context
.
getUid
()
pass_flag_site
=
kw
.
get
(
"flag_site"
,
None
)
if
pass_parameter
!=
None
and
pass_source_data
!=
None
:
if
pass_parameter
is
not
None
and
pass_source_data
is
not
None
:
# ---------------------- Representative --------------------------------------
# returns [{person_dict}, {person_dict}] - used in press release
...
...
@@ -248,7 +248,7 @@ if pass_parameter != None and pass_source_data != None:
if
len
(
person_candidate_list
)
>
0
:
for
c
in
person_candidate_list
:
organisation
=
c
.
getCareerSubordinationValue
()
if
organisation
!=
None
:
if
organisation
is
not
None
:
return
populateOrganisationDict
([
organisation
])
else
:
return
populatePersonDict
([
c
])
...
...
@@ -301,7 +301,7 @@ if pass_parameter != None and pass_source_data != None:
return
populateProductDictFromCategoryList
(
context
.
getWebSiteValue
().
getMembershipCriterionCategoryList
()
or
[]
)
elif
pass_source_data
!=
None
:
elif
pass_source_data
is
not
None
:
return
populateProductDict
(
context
.
getFollowUpValueList
(
portal_type
=
pass_parameter
,
checked_permission
=
'View'
,
...
...
@@ -316,7 +316,7 @@ if pass_parameter != None and pass_source_data != None:
theme
=
None
product_candidate_list
=
callSelf
(
"product"
,
pass_source_data
,
pass_flag_site
)
if
product_candidate_list
!=
None
:
if
product_candidate_list
is
not
None
:
if
len
(
product_candidate_list
)
>
0
:
theme
=
getSubstringFromProduct
(
product_candidate_list
[
0
],
None
)
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/Base_getThemeDict.py
View file @
30532f1c
...
...
@@ -26,7 +26,7 @@ theme = (
context
.
Base_getTemplateParameter
(
"theme"
)
or
context
.
Base_getTemplateParameter
(
"default_company_title"
)
)
if
theme
!=
None
:
if
theme
is
not
None
:
theme
=
theme
.
lower
()
theme_logo_prefix
=
context
.
Base_getTemplateParameter
(
"default_logo_prefix"
)
if
theme_logo_prefix
:
...
...
@@ -34,14 +34,14 @@ if theme != None:
theme_logo_list
=
context
.
Base_getTemplateProxyParameter
(
parameter
=
"logo"
,
source_data
=
theme_reference
)
if
len
(
theme_logo_list
)
>
0
:
theme_logo_dict
=
theme_logo_list
[
0
]
if
theme
==
None
:
if
theme
is
None
:
theme
=
"default"
theme_dict
=
{}
theme_dict
[
"theme"
]
=
theme
theme_dict
[
"theme_logo_description"
]
=
theme_logo_dict
.
get
(
"description"
,
blank
)
theme_dict
[
"theme_logo_url"
]
=
context
.
Base_getTemplateParameter
(
"fallback_image"
)
if
theme_logo_dict
.
get
(
"relative_url"
,
None
)
!=
None
:
if
theme_logo_dict
.
get
(
"relative_url"
,
None
)
is
not
None
:
theme_dict
[
"theme_logo_url"
]
=
theme_logo_dict
.
get
(
"relative_url"
)
+
param
theme_dict
[
"template_css_url"
]
=
css_path
+
pdf
+
".css"
theme_dict
[
"fallback_img_url"
]
=
context
.
Base_getTemplateParameter
(
"fallback_image"
)
or
blank
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/Base_setToNone.py
deleted
100644 → 0
View file @
a2d962cb
"""
================================================================================
Clean parameters which can be "" or "0" if passed through http
================================================================================
"""
# parameters:
# ------------------------------------------------------------------------------
# parameter Parameter to lookup
if
param
==
""
or
param
==
None
or
param
==
0
or
param
==
str
(
0
):
return
None
else
:
return
param
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/Base_setToNone.xml
deleted
100644 → 0
View file @
a2d962cb
<?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>
param=None
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
Base_setToNone
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/Base_updateReportDialog.py
View file @
30532f1c
...
...
@@ -32,7 +32,7 @@ Update a book report dialog with parameters manually entered
# requirement_relative_url XXX sale order has no direct relation to requirement
from
Products.ERP5Type.Message
import
translateString
if
dialog_id
!=
None
:
if
dialog_id
is
not
None
:
return
context
.
Base_redirect
(
dialog_id
,
keep_items
=
dict
(
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/Base_viewAsLetter.py
View file @
30532f1c
...
...
@@ -33,19 +33,19 @@ blank = ''
# -------------------------- Setup ---------------------------------------------
letter
=
context
letter_format
=
kw
.
get
(
'format'
,
'html'
)
letter_format
=
kw
.
get
(
'format'
)
or
'html'
letter_display_source_adress
=
kw
.
get
(
'letter_display_source_adress'
,
None
)
letter_display_head
=
letter
.
Base_setToNone
(
param
=
kw
.
get
(
'dislay_head'
,
1
)
)
letter_display_svg
=
letter
.
Base_setToNone
(
param
=
kw
.
get
(
'display_svg'
,
'png'
))
letter_download
=
letter
.
Base_setToNone
(
param
=
kw
.
get
(
'document_download'
,
None
)
)
letter_save
=
letter
.
Base_setToNone
(
param
=
kw
.
get
(
'document_save'
,
None
)
)
letter_display_head
=
int
(
kw
.
get
(
'dislay_head'
)
or
1
)
letter_display_svg
=
kw
.
get
(
'display_svg'
)
or
'png'
letter_download
=
int
(
kw
.
get
(
'document_download'
)
or
0
)
letter_save
=
int
(
kw
.
get
(
'document_save'
)
or
0
)
override_source_person_title
=
kw
.
get
(
'override_source_person_title'
,
None
)
override_source_organisation_title
=
kw
.
get
(
"override_source_organisation_title"
,
None
)
override_destination_person_title
=
kw
.
get
(
"override_destination_person_title"
,
None
)
override_destination_organisation_title
=
kw
.
get
(
"override_destination_organisation_title"
,
None
)
override_date
=
letter
.
Base_setToNone
(
param
=
kw
.
get
(
"override_date"
,
None
)
)
override_batch_mode
=
letter
.
Base_setToNone
(
param
=
kw
.
get
(
'batch_mode'
,
None
)
)
override_date
=
kw
.
get
(
"override_date"
)
override_batch_mode
=
kw
.
get
(
'batch_mode'
,
None
)
# -------------------------- Document Parameters ------------------------------
letter_portal_type
=
letter
.
getPortalType
()
...
...
@@ -57,7 +57,7 @@ if letter_portal_type == "Web Page":
letter_title
=
letter
.
getTitle
()
letter_modification_date
=
DateTime
(
override_date
)
if
override_date
else
letter
.
getCreationDate
()
letter_content
=
letter
.
getTextContent
()
letter_language
=
letter
.
Base_setToNone
(
param
=
letter
.
getLanguage
()
)
letter_language
=
letter
.
getLanguage
(
)
letter_aggregate_list
=
[]
letter_source
=
None
letter_destination
=
None
...
...
@@ -70,7 +70,7 @@ else:
letter_title
=
letter
.
getTitle
()
letter_content
=
letter
.
getTextContent
()
letter_aggregate_list
=
letter
.
getAggregateList
()
letter_language
=
letter
.
Base_setToNone
(
param
=
kw
.
get
(
'select_language'
)
)
letter_language
=
kw
.
get
(
'select_language'
)
letter_source
=
letter
.
getSource
()
letter_destination
=
letter
.
getDestination
()
# cut corner to retrieve path to css files
...
...
@@ -78,14 +78,14 @@ else:
letter_reference
=
letter
.
getReference
()
# overrides for tests
if
override_batch_mode
!=
None
:
if
override_batch_mode
:
letter_modification_date
=
DateTime
(
"1976-11-04"
)
if
letter_language
!=
None
:
#and letter_format == "pdf"
:
if
letter_language
and
letter_language
!=
blank
:
letter
.
REQUEST
[
'AcceptLanguage'
].
set
(
letter_language
,
10
)
if
letter_language
==
Non
e
:
els
e
:
letter_language
=
blank
if
letter_reference
==
None
:
if
letter_reference
is
None
:
letter_reference
=
letter_prefix
+
letter_title
.
replace
(
" "
,
"."
)
letter_full_reference
=
'-'
.
join
([
letter_reference
,
letter_version
,
letter_language
])
...
...
@@ -260,7 +260,7 @@ if letter_format == "pdf":
)
# return file for comparison in portal-component tests
if
override_batch_mode
!=
None
:
if
override_batch_mode
:
if
letter_portal_type
!=
"Web Page"
:
return
pdf_file
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/Base_viewAsReport.py
View file @
30532f1c
...
...
@@ -39,22 +39,22 @@ def translateText(snip):
# -------------------------- Setup ---------------------------------------------
doc
=
context
doc_download
=
None
#XXX not yet implemented
doc_save
=
doc
.
Base_setToNone
(
param
=
kw
.
get
(
'document_save'
,
None
)
)
doc_display_header
=
doc
.
Base_setToNone
(
param
=
kw
.
get
(
'display_header'
,
None
)
)
doc_display_comment
=
doc
.
Base_setToNone
(
param
=
kw
.
get
(
'display_comment'
,
None
)
)
doc_display_detail
=
doc
.
Base_setToNone
(
param
=
kw
.
get
(
'display_detail'
,
None
)
)
doc_display_depth
=
doc
.
Base_setToNone
(
param
=
kw
.
get
(
'display_depth'
,
None
)
)
override_document_title
=
kw
.
get
(
'document_title'
,
None
)
override_document_version
=
kw
.
get
(
'document_version'
,
None
)
override_document_reference
=
kw
.
get
(
'document_reference'
,
None
)
override_document_language
=
kw
.
get
(
'document_language'
,
None
)
override_batch_mode
=
doc
.
Base_setToNone
(
param
=
kw
.
get
(
'batch_mode'
,
None
)
)
doc_report_name
=
kw
.
get
(
'report_name'
,
None
)
doc_report_title
=
kw
.
get
(
'report_title'
,
None
)
doc_format
=
doc
.
Base_setToNone
(
param
=
kw
.
get
(
'format'
,
None
)
)
or
'html'
doc_requirement_relative_url
=
kw
.
get
(
'requirement_relative_url'
,
None
)
doc_save
=
int
(
kw
.
get
(
'document_save'
)
or
0
)
doc_display_header
=
int
(
kw
.
get
(
'display_header'
)
or
0
)
doc_display_comment
=
int
(
kw
.
get
(
'display_comment'
)
or
0
)
doc_display_detail
=
int
(
kw
.
get
(
'display_detail'
)
or
0
)
doc_display_depth
=
int
(
kw
.
get
(
'display_depth'
)
or
0
)
override_document_title
=
kw
.
get
(
'document_title'
)
override_document_version
=
kw
.
get
(
'document_version'
)
override_document_reference
=
kw
.
get
(
'document_reference'
)
override_document_language
=
kw
.
get
(
'document_language'
)
override_batch_mode
=
kw
.
get
(
'batch_mode'
)
doc_report_name
=
kw
.
get
(
'report_name'
)
doc_report_title
=
kw
.
get
(
'report_title'
)
doc_format
=
kw
.
get
(
'format'
)
or
'html'
doc_requirement_relative_url
=
kw
.
get
(
'requirement_relative_url'
)
# -------------------------- Document Parameters ------------------------------
doc_localiser
=
doc
.
getPortalObject
().
Localizer
...
...
@@ -66,12 +66,11 @@ doc_revision = "1"
doc_modification_date
=
DateTime
()
doc_short_date
=
doc_modification_date
.
strftime
(
'%Y-%m-%d'
)
# XXX sigh for passing "" around
doc_reference
=
html_quote
(
override_document_reference
)
if
doc
.
Base_setToNone
(
override_document_reference
)
!=
None
else
doc
.
Base_setToNone
(
doc
.
getReference
())
or
blank
doc_short_title
=
html_quote
(
doc_report_title
)
if
doc
.
Base_setToNone
(
doc_report_title
)
!=
None
else
doc
.
Base_setToNone
(
doc
.
getShortTitle
())
or
blank
doc_version
=
html_quote
(
override_document_version
)
if
doc
.
Base_setToNone
(
override_document_version
)
!=
None
else
doc
.
Base_setToNone
(
getattr
(
doc
,
"version"
,
None
))
or
"001"
doc_title
=
html_quote
(
override_document_title
)
if
doc
.
Base_setToNone
(
override_document_title
)
!=
None
else
doc
.
Base_setToNone
(
doc
.
getTitle
())
or
blank
doc_language
=
html_quote
(
override_document_language
)
if
doc
.
Base_setToNone
(
override_document_language
)
!=
None
else
doc
.
Base_setToNone
(
doc
.
getLanguage
())
doc_reference
=
html_quote
(
override_document_reference
)
if
override_document_reference
else
doc
.
getReference
()
or
blank
doc_short_title
=
html_quote
(
doc_report_title
)
if
doc_report_title
else
doc
.
getShortTitle
()
or
blank
doc_version
=
html_quote
(
override_document_version
)
if
override_document_version
else
getattr
(
doc
,
"version"
,
None
)
or
"001"
doc_title
=
html_quote
(
override_document_title
)
if
override_document_title
else
doc
.
getTitle
()
or
blank
doc_language
=
html_quote
(
override_document_language
)
if
override_document_language
else
doc
.
getLanguage
()
doc_content
=
doc_report
(
display_report
=
True
,
...
...
@@ -84,12 +83,12 @@ doc_content = doc_report(
)
# test overrides
if
override_batch_mode
!=
None
:
if
override_batch_mode
:
doc_modification_date
=
DateTime
(
"1976-11-04"
)
doc_revision
=
"1"
if
doc_language
!=
None
:
if
doc_language
is
not
None
:
doc
.
REQUEST
[
'AcceptLanguage'
].
set
(
doc_language
,
10
)
if
doc_language
==
None
:
if
doc_language
is
None
:
doc_language
=
blank
if
doc_reference
==
blank
:
doc_reference
=
"Report."
+
doc_title
.
replace
(
" "
,
"."
)
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/Document_createScreenshot.py
View file @
30532f1c
...
...
@@ -8,7 +8,7 @@ Create a screenshot from a pdf file
# frame which page from the pdf file should be captured
# doc_id image on which this screenshot should be saved
if
doc_id
==
None
:
if
doc_id
is
None
:
return
"Failed. Missing image id."
if
context
.
getPortalType
()
!=
"PDF"
:
return
"Failed. Not a pdf."
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/Letter_createLetterContent.zpt
View file @
30532f1c
...
...
@@ -56,7 +56,7 @@ Generates the letter Content
<tr>
<td></td>
<td
class=
"ci-letter-source"
>
<tal:block
tal:condition=
"python: letter_display_source_address
!=
None"
>
<tal:block
tal:condition=
"python: letter_display_source_address
is not
None"
>
<tal:block
tal:condition=
"python: letter_source_company"
>
<span
tal:content=
"letter_source_company"
></span><span
class=
"ci-letter-separator"
>
-
</span>
</tal:block>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/Letter_createLetterFooter.zpt
View file @
30532f1c
...
...
@@ -55,17 +55,17 @@ Creates the Letter footer section.
<div
class=
"ci-letter-footer ci-letter-footer-simple"
>
<p
class=
"ci-letter-simple-adress"
>
<span
tal:content=
"python: letter_source_company_corporate_name"
></span>
<tal:block
tal:condition=
"python: letter_source_company_capital
!=
None"
>
<tal:block
tal:condition=
"python: letter_source_company_capital
is not
None"
>
<span
i18n:translate=
""
i18n:domain=
"erp5_ui"
>
au capital de
</span>
<span
tal:content=
"python: letter_source_company_capital"
></span>
<span
tal:content=
"python: letter_source_company_capital_currency or '€'"
></span>
,
</tal:block>
<span
tal:content=
"python: ''.join([letter_source_address, ', ', letter_source_postal_code, ' ', letter_source_city])"
></span>
<br/>
<tal:block
tal:condition=
"python: letter_source_registered_court
!=
None"
>
<tal:block
tal:condition=
"python: letter_source_registered_court
is not
None"
>
<span
tal:content=
"python: letter_source_registered_court"
></span>
-
</tal:block>
<tal:block
tal:condition=
"python: letter_source_ape_code
!=
None"
>
<tal:block
tal:condition=
"python: letter_source_ape_code
is not
None"
>
<span
i18n:translate=
""
i18n:domain=
"erp5_ui"
>
APE
</span>
:
<span
tal:content=
"letter_source_ape_code"
></span>
-
</tal:block>
<span
i18n:translate=
""
i18n:domain=
"erp5_ui"
>
N° TVA
</span>
:
<span
tal:content=
"python: letter_source_vat"
></span>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/
Base_getRelevantContext
.py
→
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/
Letter_getPredecessor
.py
View file @
30532f1c
"""
================================================================================
Return relevant (predecessor) context
if Letter is a subobject
Return relevant (predecessor) context
from which letter was created
================================================================================
"""
# parameters
...
...
@@ -9,7 +9,7 @@ Return relevant (predecessor) context if Letter is a subobject
from
zExceptions
import
Unauthorized
if
context_url
!=
None
:
if
context_url
is
not
None
:
try
:
underlying_context
=
context
.
restrictedTraverse
(
context_url
)
underlying_portal_type
=
underlying_context
.
getPortalType
()
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/
Base_getRelevantContext
.xml
→
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/
Letter_getPredecessor
.xml
View file @
30532f1c
...
...
@@ -54,7 +54,7 @@
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
Base_getRelevantContext
</string>
</value>
<value>
<string>
Letter_getPredecessor
</string>
</value>
</item>
</dictionary>
</pickle>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/Letter_viewPreview/content.xml
View file @
30532f1c
...
...
@@ -124,7 +124,7 @@
<dictionary>
<item>
<key>
<string>
_text
</string>
</key>
<value>
<string>
python: context.
Base_getRelevantContext
(context_url=context.getRelativeUrl()).getData().encode("base64")
</string>
</value>
<value>
<string>
python: context.
Letter_getPredecessor
(context_url=context.getRelativeUrl()).getData().encode("base64")
</string>
</value>
</item>
</dictionary>
</pickle>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_createBook.zpt
View file @
30532f1c
...
...
@@ -61,7 +61,7 @@ Generates the complete book (only called in HTML version)
<tal:block
tal:condition=
"python: book_raw_report != True"
>
<tal:block
metal:use-macro=
"context/WebPage_createBookCover/macros/book_cover"
/>
</tal:block>
<tal:block
tal:condition=
"python: book_include_history
!=
None"
>
<tal:block
tal:condition=
"python: book_include_history
is not
None"
>
<tal:block
metal:use-macro=
"context/WebPage_createBookTableOfHistory/macros/book_history"
/>
</tal:block>
<tal:block
tal:replace=
"structure book_table_of_content"
></tal:block>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_createBookTableOfHistory.zpt
View file @
30532f1c
...
...
@@ -27,7 +27,7 @@ Creates the Book sections (version, authors, etc).
<link
rel=
"stylesheet"
tal:attributes=
"href book_theme_css_url"
/>
<link
rel=
"stylesheet"
tal:attributes=
"href book_template_css_url"
/>
</head>
<body
class=
"ci-book"
tal:condition=
"python: book_include_history !=
None
"
>
<body
class=
"ci-book"
tal:condition=
"python: book_include_history !=
0
"
>
<tal:block
metal:use-macro=
"context/WebPage_createBookTableOfHistory/macros/book_history"
/>
</body>
</html>
...
...
@@ -35,48 +35,49 @@ Creates the Book sections (version, authors, etc).
<tal:block
tal:condition=
"python: False"
>
<tal:block
metal:define-macro=
"book_history"
>
<tal:block
tal:condition=
"python: book_include_history != None"
>
<tal:comment
replace=
"nothing"
>
Directly called from WebPage_createBook, so need to check again
</tal:comment>
<tal:block
tal:condition=
"python: book_include_history != 0"
>
<section>
<table
class=
"ci-book-table ci-book-signature-list"
border=
"1"
width=
"100%"
cellpadding=
"0"
cellspacing=
"0"
>
<thead>
<tr>
<th
colspan=
"4"
i18n:translate=
""
i18n:domain=
"erp5_ui"
>
Signature List
</th>
</tr>
<tr>
<th
width=
"25%"
i18n:translate=
""
i18n:domain=
"erp5_ui"
>
Name
</th>
<th
width=
"25%"
><span
i18n:translate=
""
i18n:domain=
"erp5_ui"
>
Function
</span><br
/><span
i18n:translate=
""
i18n:domain=
"erp5_ui"
>
Company
</span></th>
<th
width=
"25%"
i18n:translate=
""
i18n:domain=
"erp5_ui"
>
Signature
</th>
<th
width=
"25%"
i18n:translate=
""
i18n:domain=
"erp5_ui"
>
Date
</th>
</tr>
</thead>
<tbody>
<tal:block
tal:condition=
"python: len(book_signature_list) > 0"
>
<tal:block
tal:repeat=
"person book_signature_list"
>
<table
class=
"ci-book-table ci-book-signature-list"
border=
"1"
width=
"100%"
cellpadding=
"0"
cellspacing=
"0"
>
<thead>
<tr>
<th
colspan=
"4"
i18n:translate=
""
i18n:domain=
"erp5_ui"
>
Signature List
</th>
</tr>
<tr>
<th
width=
"25%"
i18n:translate=
""
i18n:domain=
"erp5_ui"
>
Name
</th>
<th
width=
"25%"
><span
i18n:translate=
""
i18n:domain=
"erp5_ui"
>
Function
</span><br
/><span
i18n:translate=
""
i18n:domain=
"erp5_ui"
>
Company
</span></th>
<th
width=
"25%"
i18n:translate=
""
i18n:domain=
"erp5_ui"
>
Signature
</th>
<th
width=
"25%"
i18n:translate=
""
i18n:domain=
"erp5_ui"
>
Date
</th>
</tr>
</thead>
<tbody>
<tal:block
tal:condition=
"python: len(book_signature_list) > 0"
>
<tal:block
tal:repeat=
"person book_signature_list"
>
<tr>
<td
width=
"25%"
><em
i18n:translate=
""
i18n:domain=
"erp5_ui"
>
Signed by:
</em><strong
tal:content=
"python: person.title"
></strong></td>
<td
width=
"25%"
tal:content=
"python: person.career_subordination_title"
></td>
<td
width=
"25%"
tal:content=
"python: person.career_function"
></td>
<td
width=
"25%"
tal:content=
"python: Date().strftime('%Y-%m-%d')"
></td>
</tr>
<td
width=
"25%"
><em
i18n:translate=
""
i18n:domain=
"erp5_ui"
>
Signed by:
</em><strong
tal:content=
"python: person.title"
></strong></td>
<td
width=
"25%"
tal:content=
"python: person.career_subordination_title"
></td>
<td
width=
"25%"
tal:content=
"python: person.career_function"
></td>
<td
width=
"25%"
tal:content=
"python: Date().strftime('%Y-%m-%d')"
></td>
</tr>
</tal:block>
</tal:block>
<tal:block
tal:condition=
"python: len(book_signature_list) == 0"
>
<tr>
<td
width=
"25%"
><em
i18n:translate=
""
i18n:domain=
"erp5_ui"
>
Signed by:
</em><strong>
Sample Person
</strong></td>
<td
width=
"25%"
>
CEO
</td>
<td
width=
"25%"
>
Sample Company
</td>
<td
width=
"25%"
>
20xx-xx-xx
</td>
</tr>
</tal:block>
</tbody>
</tal:block>
<tal:block
tal:condition=
"python: len(book_signature_list) == 0"
>
<tr>
<td
width=
"25%"
><em
i18n:translate=
""
i18n:domain=
"erp5_ui"
>
Signed by:
</em><strong>
Sample Person
</strong></td>
<td
width=
"25%"
>
CEO
</td>
<td
width=
"25%"
>
Sample Company
</td>
<td
width=
"25%"
>
20xx-xx-xx
</td>
</tr>
</tal:block>
</tbody>
</table>
</section>
<section>
<table
class=
"ci-book-table ci-book-distribution-list"
border=
"1"
width=
"100%"
cellpadding=
"0"
cellspacing=
"0"
>
<thead>
<tr>
<th
i18n:translate=
""
i18n:domain=
"erp5_ui"
>
Distribution List
</th>
</tr>
<th
i18n:translate=
""
i18n:domain=
"erp5_ui"
>
Distribution List
</th>
</tr>
</thead>
<tbody>
<tr>
...
...
@@ -122,33 +123,33 @@ Creates the Book sections (version, authors, etc).
<table
class=
"ci-book-table ci-book-version-list"
border=
"1"
width=
"100%"
cellpadding=
"0"
cellspacing=
"0"
>
<thead>
<tr>
<th
colspan=
"4"
i18n:translate=
""
i18n:domain=
"erp5_ui"
>
Version Table
</th>
</tr>
<tr>
<th
width=
"15%"
i18n:translate=
""
i18n:domain=
"erp5_ui"
>
Version
</th>
<th
width=
"20%"
i18n:translate=
""
i18n:domain=
"erp5_ui"
>
Date
</th>
<th
width=
"15%"
i18n:translate=
""
i18n:domain=
"erp5_ui"
>
Page
</th>
<th
width=
"55%"
i18n:translate=
""
i18n:domain=
"erp5_ui"
>
Description of Modifications
</th>
</tr>
<th
colspan=
"4"
i18n:translate=
""
i18n:domain=
"erp5_ui"
>
Version Table
</th>
</tr>
<tr>
<th
width=
"15%"
i18n:translate=
""
i18n:domain=
"erp5_ui"
>
Version
</th>
<th
width=
"20%"
i18n:translate=
""
i18n:domain=
"erp5_ui"
>
Date
</th>
<th
width=
"15%"
i18n:translate=
""
i18n:domain=
"erp5_ui"
>
Page
</th>
<th
width=
"55%"
i18n:translate=
""
i18n:domain=
"erp5_ui"
>
Description of Modifications
</th>
</tr>
</thead>
<tbody>
<tal:block
tal:condition=
"python: len(book_version_list) > 0"
>
<tal:block
tal:repeat=
"version book_version_list"
>
<tr>
<td
width=
"15%"
tal:content=
"python: version.number"
></td>
<td
width=
"20%"
tal:content=
"python: version.date"
></td>
<td
width=
"15%"
tal:content=
"python: version.modifciations"
></td>
<td
width=
"55%"
tal:content=
"python: version.comment"
style=
"text-align: left"
></td>
</tr>
<td
width=
"15%"
tal:content=
"python: version.number"
></td>
<td
width=
"20%"
tal:content=
"python: version.date"
></td>
<td
width=
"15%"
tal:content=
"python: version.modifciations"
></td>
<td
width=
"55%"
tal:content=
"python: version.comment"
style=
"text-align: left"
></td>
</tr>
</tal:block>
</tal:block>
<tal:block
tal:condition=
"python: len(book_version_list) == 0"
>
<tr>
<td
width=
"15%"
>
001
</td>
<td
width=
"20%"
>
20xx-xx-xx
</td>
<td
width=
"15%"
>
All
</td>
<td
width=
"55%"
style=
"text-align: left"
>
Added example content, corrections.
</td>
</tr>
<td
width=
"15%"
>
001
</td>
<td
width=
"20%"
>
20xx-xx-xx
</td>
<td
width=
"15%"
>
All
</td>
<td
width=
"55%"
style=
"text-align: left"
>
Added example content, corrections.
</td>
</tr>
</tal:block>
</tbody>
</table>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_createBookTableOfReferences.zpt
View file @
30532f1c
...
...
@@ -34,7 +34,7 @@ Creates the Tables of references.
<link
rel=
"stylesheet"
tal:attributes=
"href book_theme_css_url"
/>
<link
rel=
"stylesheet"
tal:attributes=
"href book_template_css_url"
/>
</head>
<body
class=
"ci-book"
tal:condition=
"python: book_include_reference !=
None
"
>
<body
class=
"ci-book"
tal:condition=
"python: book_include_reference !=
0
"
>
<tal:block
metal:use-macro=
"context/WebPage_createBookTableOfReferences/macros/book_references"
/>
</body>
</html>
...
...
@@ -42,8 +42,9 @@ Creates the Tables of references.
</tal:block>
<tal:block
tal:condition=
"python: False"
>
<tal:block
tal:condition=
"python: book_include_reference_table is not None"
>
<tal:block
metal:define-macro=
"book_references"
>
<tal:block
metal:define-macro=
"book_references"
>
<tal:comment
tal:replace=
"nothing"
>
We need to recheck in case macro is called directly
</tal:comment>
<tal:block
tal:condition=
"python: book_include_reference != 0"
>
<h1
i18n:translate=
""
i18n:domain=
"erp5_ui"
>
Introduction
</h1>
<h2
i18n:translate=
""
i18n:domain=
"erp5_ui"
>
References
</h2>
<p
i18n:translate=
""
i18n:domain=
"erp5_ui"
>
This section provides the list of applicable documents and references.
</p>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_createImageOverview.py
View file @
30532f1c
...
...
@@ -46,7 +46,7 @@ for figure in re.findall('(<img.*?/>)', document_content or ''):
figure_title
[
0
],
figure_href
[
0
]
)
if
figure_doubles
.
get
(
figure_title
[
0
],
None
)
==
None
:
if
figure_doubles
.
get
(
figure_title
[
0
],
None
)
is
None
:
item_dict
=
{}
item_dict
[
"id"
]
=
figure_id
item_dict
[
"title"
]
=
figure_title
[
0
]
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_createLeaflet.zpt
View file @
30532f1c
...
...
@@ -44,7 +44,7 @@ Generates the complete leaflet
</tal:block>
<link
rel=
"stylesheet"
tal:attributes=
"href leaflet_theme_css_url"
/>
<link
rel=
"stylesheet"
tal:attributes=
"href leaflet_template_css_url"
/>
<tal:block
tal:condition=
"python: leaflet_css
!=
None"
>
<tal:block
tal:condition=
"python: leaflet_css
is not
None"
>
<style
type=
"text/css"
tal:content=
"python: leaflet_css"
></style>
</tal:block>
<script
type=
"text/javascript"
>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_createLeafletContent.zpt
View file @
30532f1c
...
...
@@ -25,7 +25,7 @@ Generate leaflet content
</tal:block>
<link
rel=
"stylesheet"
tal:attributes=
"href leaflet_theme_css_url"
/>
<link
rel=
"stylesheet"
tal:attributes=
"href leaflet_template_css_url"
/>
<tal:block
tal:condition=
"python: leaflet_css
!=
None"
>
<tal:block
tal:condition=
"python: leaflet_css
is not
None"
>
<style
type=
"text/css"
tal:content=
"python: leaflet_css"
></style>
</tal:block>
</head>
...
...
@@ -39,7 +39,7 @@ Generate leaflet content
<tal:block
metal:define-macro=
"leaflet_content"
>
<div
class=
"ci-two-page-main"
>
<h1
tal:content=
"python: leaflet_title"
></h1>
<div
tal:attributes=
"class python: 'ci-leaflet-body ' + ('' if leaflet_display_side
== 1
else 'ci-leaflet-body-fullwidth')"
>
<div
tal:attributes=
"class python: 'ci-leaflet-body ' + ('' if leaflet_display_side else 'ci-leaflet-body-fullwidth')"
>
<tal:block
tal:content=
"structure leaflet_content"
></tal:block>
</div>
</div>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_createLinkOverview.py
View file @
30532f1c
...
...
@@ -83,7 +83,7 @@ for citation in re.findall(r'\[(.*?)\]', document_content or ''):
item_dict
[
"number"
]
=
citation_info
[
1
]
item_dict
[
"version"
]
=
citation_info
[
2
]
item_dict
[
"href"
]
=
citation_href
if
citation_ad_doubles
.
get
(
citation_href
,
None
)
==
None
:
if
citation_ad_doubles
.
get
(
citation_href
,
None
)
is
None
:
citation_ad_doubles
[
citation_href
]
=
citation_ad_count
citation_relevant_count
=
citation_ad_count
else
:
...
...
@@ -101,7 +101,7 @@ for citation in re.findall(r'\[(.*?)\]', document_content or ''):
item_dict
[
"number"
]
=
citation_info
[
1
]
item_dict
[
"version"
]
=
citation_info
[
2
]
item_dict
[
"href"
]
=
citation_href
if
citation_rd_doubles
.
get
(
citation_href
,
None
)
==
None
:
if
citation_rd_doubles
.
get
(
citation_href
,
None
)
is
None
:
citation_rd_doubles
[
citation_href
]
=
citation_rd_count
citation_relevant_count
=
citation_rd_count
else
:
...
...
@@ -124,7 +124,7 @@ for citation in re.findall(r'\[(.*?)\]', document_content or ''):
item_dict
[
"title"
]
=
citation_info
[
0
]
item_dict
[
"description"
]
=
citation_info
[
1
]
item_dict
[
"href"
]
=
citation_href
if
citation_ab_doubles
.
get
(
citation_href
,
None
)
==
None
:
if
citation_ab_doubles
.
get
(
citation_href
,
None
)
is
None
:
citation_ab_doubles
[
citation_href
]
=
citation_ab_count
citation_relevant_count
=
citation_ab_count
else
:
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_createRelease.zpt
View file @
30532f1c
...
...
@@ -35,7 +35,7 @@ Generates the complete press release
</tal:block>
<link
rel=
"stylesheet"
tal:attributes=
"href release_theme_css_url"
/>
<link
rel=
"stylesheet"
tal:attributes=
"href release_template_css_url"
/>
<tal:block
tal:condition=
"python: release_css
!=
None"
>
<tal:block
tal:condition=
"python: release_css
is not
None"
>
<style
type=
"text/css"
tal:content=
"python: release_css"
></style>
</tal:block>
<script
type=
"text/javascript"
>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_createReleaseAbout.zpt
View file @
30532f1c
...
...
@@ -58,7 +58,7 @@ Generate press release about section
</div>
</div>
<tal:block tal:define="representative_list python: organisation.get('representative_list');">
<tal:block tal:condition="python: representative_list
!=
None">
<tal:block tal:condition="python: representative_list
is not
None">
<ul class="ci-press-release-contact-list">
<tal:block tal:repeat="representative representative_list">
<li>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_createReleaseContent.zpt
View file @
30532f1c
...
...
@@ -28,7 +28,7 @@ Generate press release content
</tal:block>
<link
rel=
"stylesheet"
tal:attributes=
"href release_theme_css_url"
/>
<link
rel=
"stylesheet"
tal:attributes=
"href release_template_css_url"
/>
<tal:block
tal:condition=
"python: release_css
!=
None"
>
<tal:block
tal:condition=
"python: release_css
is not
None"
>
<style
type=
"text/css"
tal:content=
"python: release_css"
></style>
</tal:block>
</head>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_createTableOverview.py
View file @
30532f1c
...
...
@@ -28,7 +28,7 @@ match_doubles = {}
for
caption
in
re
.
findall
(
'(<caption.*?>.*?</caption>)'
,
document_content
or
''
):
caption_title
=
re
.
findall
(
'<caption.*?>(.*?)</caption>'
,
caption
)[
0
]
if
match_doubles
.
get
(
caption_title
,
None
)
==
None
:
if
match_doubles
.
get
(
caption_title
,
None
)
is
None
:
match_doubles
[
caption_title
]
=
caption_count
caption_relevant_count
=
caption_count
else
:
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_embedLinkedDocumentList.py
View file @
30532f1c
...
...
@@ -22,7 +22,7 @@ for link in re.findall('([^[]<a.*?</a>[^]])', doc_content or blank):
link_reference
=
None
# only internal references can be embedded
if
link_reference
!=
None
and
link_reference
.
find
(
"http"
)
==
-
1
:
if
link_reference
is
not
None
and
link_reference
.
find
(
"http"
)
==
-
1
:
try
:
link_doc
=
context
.
restrictedTraverse
(
link_reference
.
split
(
"?"
)[
0
])
doc_content
=
doc_content
.
replace
(
link
,
link_doc
.
asStrippedHTML
())
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_embedReportDocumentList.py
View file @
30532f1c
...
...
@@ -24,7 +24,7 @@ def getReportViaFancyName(my_report_name):
method_name
=
''
.
join
([
'Base_render'
,
report_name
,
'TextDocumentReportAsHtml'
])
method_call
=
getattr
(
follow_up
,
method_name
)
if
method_call
!=
None
:
if
method_call
is
not
None
:
# extra curl: Coverage report requires parameter details (1|0)
if
coverage_name
:
...
...
@@ -63,7 +63,7 @@ for link in re.findall('([^[]<a.*?</a>[^]])', doc_content):
if
len
(
link_reference_list
)
>
0
:
link_reference
=
link_reference_list
[
0
]
if
link_reference
!=
None
and
link_reference
.
find
(
"report="
)
>
-
1
:
if
link_reference
is
not
None
and
link_reference
.
find
(
"report="
)
>
-
1
:
# url for report, check if report can be found.
report_name
=
None
...
...
@@ -79,11 +79,11 @@ for link in re.findall('([^[]<a.*?</a>[^]])', doc_content):
else
:
link_param_dict
[
param_key
]
=
param_value
if
report_name
!=
None
:
if
report_name
is
not
None
:
target_context
=
document
.
restrictedTraverse
(
link_relative_url
,
None
)
if
target_context
!=
None
:
if
target_context
is
not
None
:
target_caller
=
getattr
(
target_context
,
report_name
,
None
)
if
target_caller
!=
None
:
if
target_caller
is
not
None
:
substitution_content
=
target_caller
(
**
link_param_dict
)
doc_content
=
doc_content
.
replace
(
link
,
substitution_content
.
encode
(
"utf-8"
).
strip
())
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_finishPdfCreation.py
View file @
30532f1c
...
...
@@ -17,9 +17,9 @@ Save, download or return generated PDF Document
# doc_pdf_file pdf content to store
# doc_aggregate_list not applicable (only used for events)
if
doc_save
==
1
:
if
doc_save
:
dms_module
=
getattr
(
context
,
'document_module'
,
None
)
if
dms_module
!=
None
:
if
dms_module
is
not
None
:
document
=
dms_module
.
newContent
(
portal_type
=
"PDF"
,
version
=
doc_version
,
...
...
@@ -58,7 +58,7 @@ if doc_save == 1:
#XXX else:
# download
elif
doc_download
==
1
:
elif
doc_download
:
context
.
REQUEST
.
RESPONSE
.
setHeader
(
"Content-Type"
,
"application/pdf;"
)
context
.
REQUEST
.
RESPONSE
.
setHeader
(
"Content-Disposition"
,
'attachment; filename="'
+
doc_full_reference
+
'.pdf"'
)
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_updateBookDialog.py
View file @
30532f1c
...
...
@@ -37,7 +37,7 @@ Update a book dialog with parameters manually entered
# display_svg format for svg images (svg, png*)
from
Products.ERP5Type.Message
import
translateString
if
dialog_id
!=
None
:
if
dialog_id
is
not
None
:
return
context
.
Base_redirect
(
dialog_id
,
keep_items
=
dict
(
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_updateLeafletDialog.py
View file @
30532f1c
...
...
@@ -23,7 +23,7 @@ Update a leaflet dialog with parameters manually entered
# document_save: save file in document module
from
Products.ERP5Type.Message
import
translateString
if
dialog_id
!=
None
:
if
dialog_id
is
not
None
:
return
context
.
Base_redirect
(
dialog_id
,
keep_items
=
dict
(
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_updateLetterDialog.py
View file @
30532f1c
...
...
@@ -28,7 +28,7 @@ Update the letter dialog with parameters manually entered
# override_date to use instead of current date
from
Products.ERP5Type.Message
import
translateString
if
dialog_id
!=
None
:
if
dialog_id
is
not
None
:
return
context
.
Base_redirect
(
dialog_id
,
keep_items
=
dict
(
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_updateReleaseDialog.py
View file @
30532f1c
...
...
@@ -22,7 +22,7 @@ Update a press release dialog with parameters manually entered
# document_save: save file in document module
from
Products.ERP5Type.Message
import
translateString
if
dialog_id
!=
None
:
if
dialog_id
is
not
None
:
return
context
.
Base_redirect
(
dialog_id
,
keep_items
=
dict
(
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_updateSlideshowDialog.py
View file @
30532f1c
...
...
@@ -26,7 +26,7 @@ Update the slide dialog with parameters manually entered
# display_svg: display svg-images as svg or png*
from
Products.ERP5Type.Message
import
translateString
if
dialog_id
!=
None
:
if
dialog_id
is
not
None
:
return
context
.
Base_redirect
(
dialog_id
,
keep_items
=
dict
(
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_validateImage.py
View file @
30532f1c
...
...
@@ -14,14 +14,14 @@ Upgrade image for the specific type of display
import
re
from
zExceptions
import
NotFound
if
img_string
==
None
or
img_string
==
""
:
if
img_string
is
None
or
img_string
==
""
:
return
img_string
img_src
=
re
.
findall
(
"src=['
\
"
](.*?)['
\
"
]"
,
img_string
)[
0
]
img_obj
=
context
.
restrictedTraverse
(
img_src
.
split
(
"?"
)[
0
],
None
)
# flag broken link until further notice
if
img_obj
==
None
:
if
img_obj
is
None
:
raise
NotFound
(
'The following image could not be found in erp5: %s'
%
(
img_src
.
split
(
"?"
)[
0
]))
img_type
=
img_obj
.
getContentType
()
...
...
@@ -33,7 +33,7 @@ if img_string.find('alt=') == -1:
# force svg display as svg or png
if
img_type
==
"image/svg+xml"
:
if
img_svg_format
==
"png"
or
img_svg_format
==
None
:
if
img_svg_format
==
"png"
or
img_svg_format
is
None
:
img_string
=
img_string
.
replace
(
'type="image/svg+xml"'
,
''
)
img_string
=
img_string
.
replace
(
"type='image/svg+xml'"
,
''
)
img_string
=
img_string
.
replace
(
'format=svg'
,
'format=png'
)
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewAsBook.py
View file @
30532f1c
...
...
@@ -45,31 +45,26 @@ def translateText(snip):
# -------------------------- Setup ---------------------------------------------
book
=
context
book_format
=
book
.
Base_setToNone
(
param
=
kw
.
get
(
'format'
,
None
))
or
'html'
book_download
=
book
.
Base_setToNone
(
param
=
kw
.
get
(
'document_download'
,
None
))
book_save
=
book
.
Base_setToNone
(
param
=
kw
.
get
(
'document_save'
,
None
))
book_display_svg
=
book
.
Base_setToNone
(
param
=
kw
.
get
(
'display_svg'
,
None
))
book_include_content_table
=
kw
.
get
(
'include_content_table'
,
None
)
if
book_include_content_table
==
None
:
book_include_content_table
=
1
else
:
book_include_content_table
=
book
.
Base_setToNone
(
param
=
book_include_content_table
)
book_include_history_table
=
book
.
Base_setToNone
(
param
=
kw
.
get
(
'include_history_table'
,
None
))
book_include_reference_table
=
book
.
Base_setToNone
(
param
=
kw
.
get
(
'include_reference_table'
,
None
))
book_include_linked_content
=
book
.
Base_setToNone
(
param
=
kw
.
get
(
'include_linked_content'
,
None
))
book_include_report_content
=
book
.
Base_setToNone
(
param
=
kw
.
get
(
'include_report_content'
,
None
))
override_source_person_title
=
kw
.
get
(
'override_source_person_title'
,
None
)
override_source_organisation_title
=
kw
.
get
(
"override_source_organisation_title"
,
None
)
override_document_description
=
kw
.
get
(
'override_document_description'
,
None
)
override_document_short_title
=
kw
.
get
(
'override_document_short_title'
,
None
)
override_document_title
=
kw
.
get
(
'override_document_title'
,
None
)
override_document_version
=
kw
.
get
(
'override_document_version'
,
None
)
override_document_reference
=
kw
.
get
(
'override_document_reference'
,
None
)
override_logo_reference
=
kw
.
get
(
'override_logo_reference'
,
None
)
override_batch_mode
=
book
.
Base_setToNone
(
param
=
kw
.
get
(
'batch_mode'
,
None
))
book_format
=
kw
.
get
(
'format'
)
or
'html'
book_download
=
int
(
kw
.
get
(
'document_download'
)
or
0
)
book_save
=
int
(
kw
.
get
(
'document_save'
)
or
0
)
book_display_svg
=
kw
.
get
(
'display_svg'
)
or
'png'
book_include_content_table
=
int
(
kw
.
get
(
'include_content_table'
)
or
1
)
book_include_history_table
=
int
(
kw
.
get
(
'include_history_table'
)
or
0
)
book_include_reference_table
=
int
(
kw
.
get
(
'include_reference_table'
)
or
0
)
book_include_linked_content
=
int
(
kw
.
get
(
'include_linked_content'
)
or
0
)
book_include_report_content
=
int
(
kw
.
get
(
'include_report_content'
)
or
0
)
override_source_person_title
=
kw
.
get
(
'override_source_person_title'
)
override_source_organisation_title
=
kw
.
get
(
"override_source_organisation_title"
)
override_document_description
=
kw
.
get
(
'override_document_description'
)
override_document_short_title
=
kw
.
get
(
'override_document_short_title'
)
override_document_title
=
kw
.
get
(
'override_document_title'
)
override_document_version
=
kw
.
get
(
'override_document_version'
)
override_document_reference
=
kw
.
get
(
'override_document_reference'
)
override_logo_reference
=
kw
.
get
(
'override_logo_reference'
)
override_batch_mode
=
kw
.
get
(
'batch_mode'
)
# -------------------------- Document Parameters ------------------------------
book_localiser
=
book
.
getPortalObject
().
Localizer
...
...
@@ -80,26 +75,26 @@ book_content = book.getTextContent()
book_aggregate_list
=
[]
book_revision
=
book
.
getRevision
()
book_modification_date
=
book
.
getModificationDate
()
book_language
=
book
.
Base_setToNone
(
param
=
book
.
getLanguage
()
)
book_language
=
book
.
getLanguage
(
)
# XXX sigh for passing "" around
book_reference
=
html_quote
(
override_document_reference
)
if
book
.
Base_setToNone
(
override_document_reference
)
!=
None
else
book
.
Base_setToNone
(
book
.
getReference
()
)
book_short_title
=
html_quote
(
override_document_short_title
)
if
book
.
Base_setToNone
(
override_document_short_title
)
!=
None
else
book
.
Base_setToNone
(
book
.
getShortTitle
()
)
book_version
=
html_quote
(
override_document_version
)
if
book
.
Base_setToNone
(
override_document_version
)
!=
None
else
book
.
Base_setToNone
(
book
.
getVersion
()
)
or
"001"
book_description
=
html_quote
(
override_document_description
)
if
book
.
Base_setToNone
(
override_document_description
)
!=
None
else
book
.
Base_setToNone
(
book
.
getDescription
()
)
book_title
=
html_quote
(
override_document_title
)
if
book
.
Base_setToNone
(
override_document_title
)
!=
None
else
book
.
Base_setToNone
(
book
.
getTitle
()
)
book_reference
=
html_quote
(
override_document_reference
)
if
override_document_reference
else
book
.
getReference
(
)
book_short_title
=
html_quote
(
override_document_short_title
)
if
override_document_short_title
else
book
.
getShortTitle
(
)
book_version
=
html_quote
(
override_document_version
)
if
override_document_version
else
book
.
getVersion
(
)
or
"001"
book_description
=
html_quote
(
override_document_description
)
if
override_document_description
else
book
.
getDescription
(
)
book_title
=
html_quote
(
override_document_title
)
if
override_document_title
else
book
.
getTitle
(
)
# override for tests
if
override_batch_mode
!=
None
:
if
override_batch_mode
:
book_modification_date
=
DateTime
(
"1976-11-04"
)
book_revision
=
"1"
book_short_date
=
book_modification_date
.
strftime
(
'%Y-%m-%d'
)
if
book_language
!=
None
:
if
book_language
and
book_language
!=
blank
:
book
.
REQUEST
[
'AcceptLanguage'
].
set
(
book_language
,
10
)
if
book_language
==
Non
e
:
els
e
:
book_language
=
blank
if
book_reference
==
None
:
if
book_reference
is
None
:
book_reference
=
book_prefix
+
book_title
.
replace
(
" "
,
"."
)
book_full_reference
=
'-'
.
join
([
book_reference
,
book_version
,
book_language
])
...
...
@@ -129,21 +124,21 @@ book_table_of_content = blank
book_content
.
replace
(
"${WebPage_insertTableOfReferences}"
,
blank
)
# XXX: not done
if
book_include_history_table
!=
None
:
if
book_include_history_table
:
book_signature_list
=
[]
book_version_list
=
[]
book_distribution_list
=
[]
# old generate book
if
book_include_linked_content
!=
None
:
if
book_include_linked_content
:
book_content
=
book
.
WebPage_embedLinkedDocumentList
(
doc_content
=
book_content
)
# embed reports
if
book_include_report_content
!=
None
:
if
book_include_report_content
:
book_content
=
book
.
WebPage_embedReportDocumentList
(
doc_content
=
book_content
)
# table of links
if
book_include_reference_table
!=
None
:
if
book_include_reference_table
:
book_link_list
=
book
.
WebPage_createLinkOverview
(
book_content
)
table_link_list
=
book
.
WebPage_createTableOverview
(
book_content
)
image_link_list
=
book
.
WebPage_createImageOverview
(
book_content
)
...
...
@@ -185,7 +180,7 @@ if book_include_reference_table != None:
# table of content has to be created manually to run over everything that
# should be indexed in the toc
if
book_include_content_table
!=
None
:
if
book_include_content_table
:
book_translated_toc_title
=
translateText
(
"Table of Contents"
)
if
book_format
==
"pdf"
:
book_table_of_content
=
book
.
WebPage_createBookXslTableOfContent
(
...
...
@@ -332,11 +327,11 @@ if book_format == "pdf":
b64encode
(
book
.
Base_convertHtmlToSingleFile
(
book_cover
,
allow_script
=
True
)),
]
after_toc_data_list
=
[]
if
book_include_history_table
!=
None
:
if
book_include_history_table
:
before_toc_data_list
.
append
(
b64encode
(
book
.
Base_convertHtmlToSingleFile
(
book_history
,
allow_script
=
True
))
)
if
book_include_reference_table
!=
None
:
if
book_include_reference_table
:
after_toc_data_list
.
append
(
b64encode
(
book
.
Base_convertHtmlToSingleFile
(
book_references
,
allow_script
=
True
))
)
...
...
@@ -348,7 +343,7 @@ if book_format == "pdf":
encoding
=
"utf8"
,
margin_top
=
40
,
margin_bottom
=
20
,
toc
=
True
if
book_include_content_table
!=
None
else
False
,
toc
=
True
if
book_include_content_table
else
False
,
before_toc_data_list
=
before_toc_data_list
,
xsl_style_sheet_data
=
b64encode
(
xsl_style_sheet_data
),
after_toc_data_list
=
after_toc_data_list
,
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewAsLeaflet.py
View file @
30532f1c
...
...
@@ -37,26 +37,23 @@ def removeLegalesePlaceholders(content):
# -------------------------- Setup ---------------------------------------------
leaflet
=
context
leaflet_prefix
=
"Leaflet."
leaflet_format
=
kw
.
get
(
'format'
,
'html'
)
leaflet_display_svg
=
leaflet
.
Base_setToNone
(
param
=
kw
.
get
(
'display_svg'
,
"png"
))
leaflet_download
=
leaflet
.
Base_setToNone
(
param
=
kw
.
get
(
'document_download'
,
None
))
leaflet_save
=
leaflet
.
Base_setToNone
(
param
=
kw
.
get
(
'document_save'
,
None
))
leaflet_display_side
=
leaflet
.
Base_setToNone
(
param
=
kw
.
get
(
'display_side'
,
1
))
# sigh for time lost
if
leaflet_display_side
==
'1'
:
leaflet_display_side
=
1
leaflet_format
=
kw
.
get
(
'format'
)
or
'html'
leaflet_display_svg
=
kw
.
get
(
'display_svg'
)
or
"png"
leaflet_download
=
int
(
kw
.
get
(
'document_download'
)
or
0
)
leaflet_save
=
int
(
kw
.
get
(
'document_save'
)
or
0
)
leaflet_display_side
=
int
(
kw
.
get
(
'display_side'
)
or
1
)
override_leaflet_header_title
=
leaflet
.
Base_setToNone
(
param
=
kw
.
get
(
'override_leaflet_header_title'
,
None
)
)
override_leaflet_header_title
=
kw
.
get
(
'override_leaflet_header_title'
)
override_source_person_title
=
kw
.
get
(
'override_source_person_title'
,
None
)
override_source_organisation_title
=
kw
.
get
(
"override_source_organisation_title"
,
None
)
override_batch_mode
=
leaflet
.
Base_setToNone
(
param
=
kw
.
get
(
'batch_mode'
,
None
)
)
override_batch_mode
=
kw
.
get
(
'batch_mode'
)
# -------------------------- Document Parameters ------------------------------
leaflet_content
=
leaflet
.
getTextContent
()
leaflet_title
=
leaflet
.
getTitle
()
leaflet_relative_url
=
leaflet
.
getRelativeUrl
()
leaflet_language
=
leaflet
.
Base_setToNone
(
param
=
leaflet
.
getLanguage
()
)
leaflet_language
=
leaflet
.
getLanguage
(
)
leaflet_creation_date
=
leaflet
.
getCreationDate
()
leaflet_date
=
leaflet_creation_date
.
strftime
(
'%Y-%b'
)
leaflet_year
=
leaflet_creation_date
.
strftime
(
'%Y'
)
...
...
@@ -66,22 +63,21 @@ leaflet_aggregate_list = []
leaflet_modification_date
=
leaflet
.
getModificationDate
()
# test overrides
if
override_batch_mode
!=
None
:
if
override_batch_mode
:
leaflet_date
=
"Nov-1976"
leaflet_year
=
"1976"
if
leaflet_language
!=
None
:
#and leaflet_format == "pdf"
:
if
leaflet_language
and
leaflet_language
!=
blank
:
leaflet
.
REQUEST
[
'AcceptLanguage'
].
set
(
leaflet_language
,
10
)
if
leaflet_language
==
Non
e
:
els
e
:
leaflet_language
=
blank
if
leaflet_reference
==
None
:
if
leaflet_reference
is
None
:
leaflet_reference
=
leaflet_prefix
+
leaflet_title
.
replace
(
" "
,
"."
)
leaflet_full_reference
=
'-'
.
join
([
leaflet_reference
,
leaflet_version
,
leaflet_language
])
# ---------------------------- Theme Parameters --------------------------------
leaflet_theme
=
leaflet
.
Base_getThemeDict
(
doc_format
=
leaflet_format
,
css_path
=
"template_css/leaflet"
)
# XXX set leaflet title, but not to theme (used elsewhere, but not on leaflet)
if
override_leaflet_header_title
!=
None
:
if
override_leaflet_header_title
and
override_leaflet_header_title
!=
blank
:
leaflet_theme
[
"theme_logo_description"
]
=
html_quote
(
override_leaflet_header_title
)
if
leaflet_theme
.
get
(
"theme"
).
lower
()
==
leaflet_theme
.
get
(
"theme_logo_description"
).
lower
():
leaflet_theme
[
"theme_logo_description"
]
=
blank
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewAsRelease.py
View file @
30532f1c
...
...
@@ -39,15 +39,15 @@ def removeHardcodedAbout(my_content):
# -------------------------- Setup ---------------------------------------------
release
=
context
release_prefix
=
"Release."
release_format
=
kw
.
get
(
'format'
,
'html'
)
release_display_about
=
release
.
Base_setToNone
(
param
=
kw
.
get
(
'display_about'
,
None
)
)
release_display_svg
=
release
.
Base_setToNone
(
param
=
kw
.
get
(
'display_svg'
,
"png"
))
release_download
=
release
.
Base_setToNone
(
param
=
kw
.
get
(
'document_download'
,
None
)
)
release_save
=
release
.
Base_setToNone
(
param
=
kw
.
get
(
'document_save'
,
None
)
)
release_format
=
kw
.
get
(
'format'
)
or
'html'
release_display_about
=
int
(
kw
.
get
(
'display_about'
)
or
0
)
release_display_svg
=
kw
.
get
(
'display_svg'
)
or
"png"
release_download
=
int
(
kw
.
get
(
'document_download'
)
or
0
)
release_save
=
int
(
kw
.
get
(
'document_save'
)
or
0
)
override_source_person_title
=
kw
.
get
(
'override_source_person_title'
,
None
)
override_source_organisation_title
=
kw
.
get
(
"override_source_organisation_title"
,
None
)
override_batch_mode
=
release
.
Base_setToNone
(
param
=
kw
.
get
(
'batch_mode'
,
None
)
)
override_batch_mode
=
kw
.
get
(
'batch_mode'
)
# -------------------------- Document Parameters ------------------------------
release_content
=
release
.
getTextContent
()
...
...
@@ -66,14 +66,13 @@ release_reference = release.getReference()
release_version
=
release
.
getVersion
()
or
"001"
# test overrides
if
override_batch_mode
!=
None
:
#release_date="Nov-1976"
if
override_batch_mode
:
release_creation_year
=
"1976"
if
release_language
!=
None
:
if
release_language
is
not
None
:
release
.
REQUEST
[
'AcceptLanguage'
].
set
(
release_language
,
10
)
if
release_language
==
None
:
if
release_language
is
None
:
release_language
=
blank
if
release_reference
==
None
:
if
release_reference
is
None
:
release_reference
=
release_prefix
+
release_title
.
replace
(
" "
,
"."
)
release_full_reference
=
'-'
.
join
([
release_reference
,
release_version
,
release_language
])
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewAsSlideshow.py
View file @
30532f1c
...
...
@@ -118,9 +118,9 @@ def sortContent(my_page_list):
if
page_content
.
find
(
"<center>"
)
>
-
1
:
page_tuple_first
=
(
page_title
,
page_content
,
"first"
)
sort_content_list
=
sorted
(
page_content_list
,
key
=
lambda
page_foo
:
page_foo
[
0
])
if
page_tuple_last
!=
None
:
if
page_tuple_last
is
not
None
:
sort_content_list
.
append
(
page_tuple_last
)
if
page_tuple_first
!=
None
:
if
page_tuple_first
is
not
None
:
sort_content_list
=
[
page_tuple_first
]
+
sort_content_list
return
sort_content_list
...
...
@@ -131,21 +131,21 @@ def sortContent(my_page_list):
doc
=
context
doc_prefix
=
"Slideshow."
doc_converted_content
=
None
doc_format
=
kw
.
get
(
'format'
,
'html'
)
doc_display_notes
=
doc
.
Base_setToNone
(
param
=
kw
.
get
(
'display_note'
,
None
)
)
doc_display_svg
=
doc
.
Base_setToNone
(
param
=
kw
.
get
(
'display_svg'
,
'png'
))
doc_download
=
doc
.
Base_setToNone
(
param
=
kw
.
get
(
'document_download'
,
None
)
)
doc_save
=
doc
.
Base_setToNone
(
param
=
kw
.
get
(
'document_save'
,
None
)
)
doc_ooo
=
doc
.
Base_setToNone
(
param
=
kw
.
get
(
'flag_ooo'
,
None
)
)
doc_format
=
kw
.
get
(
'format'
)
or
'html'
doc_display_notes
=
int
(
kw
.
get
(
'display_note'
)
or
0
)
doc_display_svg
=
kw
.
get
(
'display_svg'
)
or
'png'
doc_download
=
int
(
kw
.
get
(
'document_download'
)
or
0
)
doc_save
=
int
(
kw
.
get
(
'document_save'
)
or
0
)
doc_ooo
=
int
(
kw
.
get
(
'flag_ooo'
)
or
0
)
override_logo_reference
=
kw
.
get
(
'override_logo_reference'
,
None
)
override_source_organisation_title
=
kw
.
get
(
"override_source_organisation_title"
,
None
)
override_batch_mode
=
doc
.
Base_setToNone
(
param
=
kw
.
get
(
'batch_mode'
,
None
)
)
override_batch_mode
=
kw
.
get
(
'batch_mode'
)
override_source_person_title
=
None
# ---------- backward compatability with legacy odp/sxi presentations ----------
# note: this has to come first to convert file into html and then continue
if
doc_ooo
!=
None
:
if
doc_ooo
:
doc_portal
=
doc
.
getPortalObject
()
if
doc
.
getPortalType
()
in
[
"Presentation"
]:
raw_data
=
doc_portal
.
portal_transforms
.
convertToData
(
...
...
@@ -154,7 +154,7 @@ if doc_ooo != None:
context
=
context
,
mimetype
=
doc
.
getContentType
()
)
if
raw_data
==
None
:
if
raw_data
is
None
:
raise
ValueError
(
"Failed to convert to %r"
%
"text/html"
)
# got something
...
...
@@ -179,7 +179,7 @@ if doc_ooo != None:
doc_dirty_content
=
doc_converted_content
or
doc
.
getTextContent
()
doc_content
=
removeEmptyDetails
(
doc_dirty_content
)
doc_title
=
doc
.
getTitle
()
doc_language
=
doc
.
Base_setToNone
(
param
=
doc
.
getLanguage
()
)
doc_language
=
doc
.
getLanguage
(
)
doc_description
=
doc
.
getDescription
()
doc_creation_year
=
doc
.
getCreationDate
().
strftime
(
'%Y'
)
doc_version
=
doc
.
getVersion
()
or
"001"
...
...
@@ -188,14 +188,14 @@ doc_relative_url = doc.getRelativeUrl()
doc_aggregate_list
=
[]
doc_modification_date
=
doc
.
getModificationDate
()
if
override_batch_mode
!=
None
:
if
override_batch_mode
:
doc_version
=
"001"
doc_creation_year
=
"1976"
if
doc_language
!=
None
:
#and doc_format == "pdf"
:
if
doc_language
and
doc_language
!=
blank
:
doc
.
REQUEST
[
'AcceptLanguage'
].
set
(
doc_language
,
10
)
if
doc_language
==
Non
e
:
els
e
:
doc_language
=
blank
if
doc_reference
==
None
:
if
doc_reference
is
None
:
doc_reference
=
doc_prefix
+
doc_title
.
replace
(
" "
,
"."
)
doc_full_reference
=
'-'
.
join
([
doc_reference
,
doc_version
,
doc_language
])
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsBookDialog/content.xml
View file @
30532f1c
...
...
@@ -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=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&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("include_content_table",
True),context.REQUEST.get("include_history_table", ""),context.REQUEST.get("include_reference_table", ""),context.REQUEST.get("include_linked_content", ""),context.REQUEST.get("include_report_content", ""), context.REQUEST.get("display_svg", "
"))
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&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("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>
</item>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsBookDialog/display_svg.xml
View file @
30532f1c
...
...
@@ -11,6 +11,7 @@
<value>
<list>
<string>
default
</string>
<string>
description
</string>
<string>
items
</string>
<string>
orientation
</string>
<string>
title
</string>
...
...
@@ -86,6 +87,10 @@
<key>
<string>
default
</string>
</key>
<value>
<string>
png
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
Format to display SVG images in.
</string>
</value>
</item>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
my_radio_field
</string>
</value>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsBookDialog/document_save.xml
View file @
30532f1c
...
...
@@ -11,6 +11,7 @@
<value>
<list>
<string>
default
</string>
<string>
description
</string>
<string>
title
</string>
</list>
</value>
...
...
@@ -76,6 +77,10 @@
<key>
<string>
default
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
Save generated document in Document module.
</string>
</value>
</item>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
my_checkbox
</string>
</value>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsBookDialog/format.xml
View file @
30532f1c
...
...
@@ -11,6 +11,7 @@
<value>
<list>
<string>
default
</string>
<string>
description
</string>
<string>
enabled
</string>
<string>
items
</string>
</list>
...
...
@@ -81,6 +82,10 @@
<key>
<string>
default
</string>
</key>
<value>
<string>
html
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
Document output format.
</string>
</value>
</item>
<item>
<key>
<string>
enabled
</string>
</key>
<value>
<int>
1
</int>
</value>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsBookDialog/include_content_table.xml
View file @
30532f1c
...
...
@@ -11,6 +11,7 @@
<value>
<list>
<string>
default
</string>
<string>
description
</string>
<string>
title
</string>
</list>
</value>
...
...
@@ -76,6 +77,10 @@
<key>
<string>
default
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
Display table of content.
</string>
</value>
</item>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
my_checkbox
</string>
</value>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsBookDialog/include_history_table.xml
View file @
30532f1c
...
...
@@ -11,6 +11,7 @@
<value>
<list>
<string>
default
</string>
<string>
description
</string>
<string>
title
</string>
</list>
</value>
...
...
@@ -76,6 +77,10 @@
<key>
<string>
default
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
Display table of versions and signatures.
</string>
</value>
</item>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
my_checkbox
</string>
</value>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsBookDialog/include_linked_content.xml
View file @
30532f1c
...
...
@@ -11,6 +11,7 @@
<value>
<list>
<string>
default
</string>
<string>
description
</string>
<string>
title
</string>
</list>
</value>
...
...
@@ -76,6 +77,10 @@
<key>
<string>
default
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
Embed linked internal documents.
</string>
</value>
</item>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
my_checkbox
</string>
</value>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsBookDialog/include_reference_table.xml
View file @
30532f1c
...
...
@@ -11,6 +11,7 @@
<value>
<list>
<string>
default
</string>
<string>
description
</string>
<string>
title
</string>
</list>
</value>
...
...
@@ -76,6 +77,10 @@
<key>
<string>
default
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
Display table of references.
</string>
</value>
</item>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
my_checkbox
</string>
</value>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsBookDialog/include_report_content.xml
View file @
30532f1c
...
...
@@ -11,6 +11,7 @@
<value>
<list>
<string>
default
</string>
<string>
description
</string>
<string>
title
</string>
</list>
</value>
...
...
@@ -76,6 +77,10 @@
<key>
<string>
default
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
Generate and embed linked report documents.
</string>
</value>
</item>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
my_checkbox
</string>
</value>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsBookDialog/override_document_description.xml
View file @
30532f1c
...
...
@@ -10,6 +10,8 @@
<key>
<string>
delegated_list
</string>
</key>
<value>
<list>
<string>
default
</string>
<string>
description
</string>
<string>
title
</string>
</list>
</value>
...
...
@@ -63,6 +65,14 @@
<key>
<string>
values
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
default
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
Custom description to be used.
</string>
</value>
</item>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
my_description
</string>
</value>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsBookDialog/override_document_reference.xml
View file @
30532f1c
...
...
@@ -205,7 +205,7 @@
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
<value>
<string>
Custom reference to be used.
</string>
</value>
</item>
<item>
<key>
<string>
display_maxwidth
</string>
</key>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsBookDialog/override_document_short_title.xml
View file @
30532f1c
...
...
@@ -205,7 +205,7 @@
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
<value>
<string>
Custom subtitle to be used.
</string>
</value>
</item>
<item>
<key>
<string>
display_maxwidth
</string>
</key>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsBookDialog/override_document_title.xml
View file @
30532f1c
...
...
@@ -205,7 +205,7 @@
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
<value>
<string>
Custom title to be used.
</string>
</value>
</item>
<item>
<key>
<string>
display_maxwidth
</string>
</key>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsBookDialog/override_document_version.xml
View file @
30532f1c
...
...
@@ -205,7 +205,7 @@
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
<value>
<string>
Custom version to be used.
</string>
</value>
</item>
<item>
<key>
<string>
display_maxwidth
</string>
</key>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsBookDialog/override_logo_reference.xml
View file @
30532f1c
...
...
@@ -205,7 +205,7 @@
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
<value>
<string>
Logo to use with publisher.
</string>
</value>
</item>
<item>
<key>
<string>
display_maxwidth
</string>
</key>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsBookDialog/override_source_organisation_title.xml
View file @
30532f1c
...
...
@@ -205,7 +205,7 @@
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
<value>
<string>
Organisation to set as publisher.
</string>
</value>
</item>
<item>
<key>
<string>
display_maxwidth
</string>
</key>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsBookDialog/override_source_person_title.xml
View file @
30532f1c
...
...
@@ -205,7 +205,7 @@
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
<value>
<string>
Person to set as publisher.
</string>
</value>
</item>
<item>
<key>
<string>
display_maxwidth
</string>
</key>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsBookDialog/portal_skin.xml
View file @
30532f1c
...
...
@@ -12,6 +12,7 @@
<list>
<string>
css_class
</string>
<string>
default
</string>
<string>
description
</string>
<string>
title
</string>
</list>
</value>
...
...
@@ -85,6 +86,10 @@
<key>
<string>
default
</string>
</key>
<value>
<string>
Book
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
Portal skin to be used.
</string>
</value>
</item>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
your_portal_skin
</string>
</value>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsLeafletDialog/display_side.xml
View file @
30532f1c
...
...
@@ -11,6 +11,7 @@
<value>
<list>
<string>
default
</string>
<string>
description
</string>
<string>
title
</string>
</list>
</value>
...
...
@@ -76,6 +77,10 @@
<key>
<string>
default
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
Display leaflet side column.
</string>
</value>
</item>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
my_checkbox
</string>
</value>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsLeafletDialog/display_svg.xml
View file @
30532f1c
...
...
@@ -11,6 +11,7 @@
<value>
<list>
<string>
default
</string>
<string>
description
</string>
<string>
items
</string>
<string>
orientation
</string>
<string>
title
</string>
...
...
@@ -86,6 +87,10 @@
<key>
<string>
default
</string>
</key>
<value>
<string>
png
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
Format to display SVG images in.
</string>
</value>
</item>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
my_radio_field
</string>
</value>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsLeafletDialog/document_save.xml
View file @
30532f1c
...
...
@@ -11,6 +11,7 @@
<value>
<list>
<string>
default
</string>
<string>
description
</string>
<string>
title
</string>
</list>
</value>
...
...
@@ -76,6 +77,10 @@
<key>
<string>
default
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
Save generated document in Document module.
</string>
</value>
</item>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
my_checkbox
</string>
</value>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsLeafletDialog/format.xml
View file @
30532f1c
...
...
@@ -11,6 +11,7 @@
<value>
<list>
<string>
default
</string>
<string>
description
</string>
<string>
enabled
</string>
<string>
items
</string>
</list>
...
...
@@ -81,6 +82,10 @@
<key>
<string>
default
</string>
</key>
<value>
<string>
html
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
Document output format.
</string>
</value>
</item>
<item>
<key>
<string>
enabled
</string>
</key>
<value>
<int>
1
</int>
</value>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsLeafletDialog/override_source_organisation_title.xml
View file @
30532f1c
...
...
@@ -205,7 +205,7 @@
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
<value>
<string>
Organisation to set as publisher.
</string>
</value>
</item>
<item>
<key>
<string>
display_maxwidth
</string>
</key>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsLeafletDialog/override_source_person_title.xml
View file @
30532f1c
...
...
@@ -205,7 +205,7 @@
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
<value>
<string>
Person to set as publisher.
</string>
</value>
</item>
<item>
<key>
<string>
display_maxwidth
</string>
</key>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsLeafletDialog/portal_skin.xml
View file @
30532f1c
...
...
@@ -12,6 +12,7 @@
<list>
<string>
css_class
</string>
<string>
default
</string>
<string>
description
</string>
<string>
title
</string>
</list>
</value>
...
...
@@ -85,6 +86,10 @@
<key>
<string>
default
</string>
</key>
<value>
<string>
Leaflet
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
Portal skin to be used.
</string>
</value>
</item>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
your_portal_skin
</string>
</value>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsLetterDialog/content.xml
View file @
30532f1c
...
...
@@ -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=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_source_address=%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_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_source_address",
""
), context.REQUEST.get("display_svg", "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=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_source_address=%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_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_source_address",
0
), context.REQUEST.get("display_svg", "png"))
]]>
</string>
</value>
</item>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsLetterDialog/display_head.xml
View file @
30532f1c
...
...
@@ -11,6 +11,7 @@
<value>
<list>
<string>
default
</string>
<string>
description
</string>
<string>
title
</string>
</list>
</value>
...
...
@@ -76,6 +77,10 @@
<key>
<string>
default
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
Display email header.
</string>
</value>
</item>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
my_checkbox
</string>
</value>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsLetterDialog/display_source_address.xml
View file @
30532f1c
...
...
@@ -11,6 +11,7 @@
<value>
<list>
<string>
default
</string>
<string>
description
</string>
<string>
title
</string>
</list>
</value>
...
...
@@ -76,6 +77,10 @@
<key>
<string>
default
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
Display sender address in address window.
</string>
</value>
</item>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
my_checkbox
</string>
</value>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsLetterDialog/display_svg.xml
View file @
30532f1c
...
...
@@ -11,6 +11,7 @@
<value>
<list>
<string>
default
</string>
<string>
description
</string>
<string>
items
</string>
<string>
orientation
</string>
<string>
title
</string>
...
...
@@ -86,6 +87,10 @@
<key>
<string>
default
</string>
</key>
<value>
<string>
png
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
Format to display SVG images in.
</string>
</value>
</item>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
my_radio_field
</string>
</value>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsLetterDialog/document_save.xml
View file @
30532f1c
...
...
@@ -11,6 +11,7 @@
<value>
<list>
<string>
default
</string>
<string>
description
</string>
<string>
title
</string>
</list>
</value>
...
...
@@ -76,6 +77,10 @@
<key>
<string>
default
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
Save generated document in Document module.
</string>
</value>
</item>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
my_checkbox
</string>
</value>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsLetterDialog/format.xml
View file @
30532f1c
...
...
@@ -11,6 +11,7 @@
<value>
<list>
<string>
default
</string>
<string>
description
</string>
<string>
enabled
</string>
<string>
items
</string>
</list>
...
...
@@ -81,6 +82,10 @@
<key>
<string>
default
</string>
</key>
<value>
<string>
html
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
Document output format.
</string>
</value>
</item>
<item>
<key>
<string>
enabled
</string>
</key>
<value>
<int>
1
</int>
</value>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsLetterDialog/override_date.xml
View file @
30532f1c
...
...
@@ -12,6 +12,7 @@
<list>
<string>
default
</string>
<string>
default_now
</string>
<string>
description
</string>
<string>
required
</string>
<string>
title
</string>
</list>
...
...
@@ -84,6 +85,10 @@
<key>
<string>
default_now
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
Custom date to set on letter.
</string>
</value>
</item>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
my_date
</string>
</value>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsLetterDialog/override_destination_organisation_title.xml
View file @
30532f1c
...
...
@@ -205,7 +205,7 @@
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
<value>
<string>
Organisation to set as recipient.
</string>
</value>
</item>
<item>
<key>
<string>
display_maxwidth
</string>
</key>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsLetterDialog/override_destination_person_title.xml
View file @
30532f1c
...
...
@@ -205,7 +205,7 @@
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
<value>
<string>
Person to set as recipient.
</string>
</value>
</item>
<item>
<key>
<string>
display_maxwidth
</string>
</key>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsLetterDialog/override_source_organisation_title.xml
View file @
30532f1c
...
...
@@ -205,7 +205,7 @@
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
<value>
<string>
Organisation to set as sender.
</string>
</value>
</item>
<item>
<key>
<string>
display_maxwidth
</string>
</key>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsLetterDialog/override_source_person_title.xml
View file @
30532f1c
...
...
@@ -205,7 +205,7 @@
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
<value>
<string>
Person to set as sender.
</string>
</value>
</item>
<item>
<key>
<string>
display_maxwidth
</string>
</key>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsLetterDialog/portal_skin.xml
View file @
30532f1c
...
...
@@ -12,6 +12,7 @@
<list>
<string>
css_class
</string>
<string>
default
</string>
<string>
description
</string>
<string>
title
</string>
</list>
</value>
...
...
@@ -85,6 +86,10 @@
<key>
<string>
default
</string>
</key>
<value>
<string>
Letter
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
Portal skin to be used.
</string>
</value>
</item>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
your_portal_skin
</string>
</value>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsReleaseDialog/content.xml
View file @
30532f1c
...
...
@@ -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=Release&override_source_person_title=%s&override_source_organisation_title=%s&display_svg=%s&d
ocument_save=%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("document_save", ""), context.REQUEST.get("display_about"
))
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&d
isplay_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>
</item>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsReleaseDialog/display_about.xml
View file @
30532f1c
...
...
@@ -11,6 +11,7 @@
<value>
<list>
<string>
default
</string>
<string>
description
</string>
<string>
title
</string>
</list>
</value>
...
...
@@ -76,6 +77,10 @@
<key>
<string>
default
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
Show auto generated about section.
</string>
</value>
</item>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
my_checkbox
</string>
</value>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsReleaseDialog/display_svg.xml
View file @
30532f1c
...
...
@@ -11,6 +11,7 @@
<value>
<list>
<string>
default
</string>
<string>
description
</string>
<string>
items
</string>
<string>
orientation
</string>
<string>
title
</string>
...
...
@@ -86,6 +87,10 @@
<key>
<string>
default
</string>
</key>
<value>
<string>
png
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
Format to display SVG images in.
</string>
</value>
</item>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
my_radio_field
</string>
</value>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsReleaseDialog/document_save.xml
View file @
30532f1c
...
...
@@ -11,6 +11,7 @@
<value>
<list>
<string>
default
</string>
<string>
description
</string>
<string>
title
</string>
</list>
</value>
...
...
@@ -76,6 +77,10 @@
<key>
<string>
default
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
Save generated document in Document module.
</string>
</value>
</item>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
my_checkbox
</string>
</value>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsReleaseDialog/format.xml
View file @
30532f1c
...
...
@@ -11,6 +11,7 @@
<value>
<list>
<string>
default
</string>
<string>
description
</string>
<string>
enabled
</string>
<string>
items
</string>
</list>
...
...
@@ -81,6 +82,10 @@
<key>
<string>
default
</string>
</key>
<value>
<string>
html
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
Document output format.
</string>
</value>
</item>
<item>
<key>
<string>
enabled
</string>
</key>
<value>
<int>
1
</int>
</value>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsReleaseDialog/override_source_organisation_title.xml
View file @
30532f1c
...
...
@@ -205,7 +205,7 @@
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
<value>
<string>
Organisation to set as publisher.
</string>
</value>
</item>
<item>
<key>
<string>
display_maxwidth
</string>
</key>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsReleaseDialog/override_source_person_title.xml
View file @
30532f1c
...
...
@@ -205,7 +205,7 @@
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
<value>
<string>
Person to set as publisher.
</string>
</value>
</item>
<item>
<key>
<string>
display_maxwidth
</string>
</key>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsReleaseDialog/portal_skin.xml
View file @
30532f1c
...
...
@@ -12,6 +12,7 @@
<list>
<string>
css_class
</string>
<string>
default
</string>
<string>
description
</string>
<string>
title
</string>
</list>
</value>
...
...
@@ -85,6 +86,10 @@
<key>
<string>
default
</string>
</key>
<value>
<string>
Release
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
Portal skin to be used.
</string>
</value>
</item>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
your_portal_skin
</string>
</value>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsSlideshowDialog/content.xml
View file @
30532f1c
...
...
@@ -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_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"
))
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>
</item>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsSlideshowDialog/display_note.xml
View file @
30532f1c
...
...
@@ -10,6 +10,7 @@
<key>
<string>
delegated_list
</string>
</key>
<value>
<list>
<string>
description
</string>
<string>
title
</string>
</list>
</value>
...
...
@@ -67,6 +68,10 @@
<key>
<string>
values
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
Display slideshow notes (pdf only)
</string>
</value>
</item>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
my_checkbox
</string>
</value>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsSlideshowDialog/display_svg.xml
View file @
30532f1c
...
...
@@ -11,6 +11,7 @@
<value>
<list>
<string>
default
</string>
<string>
description
</string>
<string>
items
</string>
<string>
orientation
</string>
<string>
title
</string>
...
...
@@ -86,6 +87,10 @@
<key>
<string>
default
</string>
</key>
<value>
<string>
png
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
Format to display SVG images in.
</string>
</value>
</item>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
my_radio_field
</string>
</value>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsSlideshowDialog/document_save.xml
View file @
30532f1c
...
...
@@ -11,6 +11,7 @@
<value>
<list>
<string>
default
</string>
<string>
description
</string>
<string>
title
</string>
</list>
</value>
...
...
@@ -76,6 +77,10 @@
<key>
<string>
default
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
Save generated document in Document module.
</string>
</value>
</item>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
my_checkbox
</string>
</value>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsSlideshowDialog/format.xml
View file @
30532f1c
...
...
@@ -11,6 +11,7 @@
<value>
<list>
<string>
default
</string>
<string>
description
</string>
<string>
enabled
</string>
<string>
items
</string>
</list>
...
...
@@ -81,6 +82,10 @@
<key>
<string>
default
</string>
</key>
<value>
<string>
html
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
Document output format.
</string>
</value>
</item>
<item>
<key>
<string>
enabled
</string>
</key>
<value>
<int>
1
</int>
</value>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsSlideshowDialog/override_logo_reference.xml
View file @
30532f1c
...
...
@@ -205,7 +205,7 @@
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
<value>
<string>
Logo to use with publisher.
</string>
</value>
</item>
<item>
<key>
<string>
display_maxwidth
</string>
</key>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsSlideshowDialog/override_source_organisation_title.xml
View file @
30532f1c
...
...
@@ -205,7 +205,7 @@
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
<value>
<string>
Organisation to set as publisher.
</string>
</value>
</item>
<item>
<key>
<string>
display_maxwidth
</string>
</key>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewExportAsSlideshowDialog/portal_skin.xml
View file @
30532f1c
...
...
@@ -12,6 +12,7 @@
<list>
<string>
css_class
</string>
<string>
default
</string>
<string>
description
</string>
<string>
title
</string>
</list>
</value>
...
...
@@ -85,6 +86,10 @@
<key>
<string>
default
</string>
</key>
<value>
<string>
Slide
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
Portal skin to be used.
</string>
</value>
</item>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
your_portal_skin
</string>
</value>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsBookDialog/content.xml
View file @
30532f1c
...
...
@@ -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=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&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("include_content_table",
True),context.REQUEST.get("include_history_table", ""),context.REQUEST.get("include_reference_table", ""),context.REQUEST.get("include_linked_content", ""),context.REQUEST.get("include_report_content", ""), context.REQUEST.get("display_svg", "
"))
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&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("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>
</item>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsBookDialog/display_svg.xml
View file @
30532f1c
...
...
@@ -11,6 +11,7 @@
<value>
<list>
<string>
default
</string>
<string>
description
</string>
<string>
items
</string>
<string>
orientation
</string>
<string>
title
</string>
...
...
@@ -86,6 +87,10 @@
<key>
<string>
default
</string>
</key>
<value>
<string>
png
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
Format to display SVG images in.
</string>
</value>
</item>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
my_radio_field
</string>
</value>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsBookDialog/document_save.xml
View file @
30532f1c
...
...
@@ -11,6 +11,7 @@
<value>
<list>
<string>
default
</string>
<string>
description
</string>
<string>
title
</string>
</list>
</value>
...
...
@@ -76,6 +77,10 @@
<key>
<string>
default
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
Save generated document in Document module.
</string>
</value>
</item>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
my_checkbox
</string>
</value>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsBookDialog/include_content_table.xml
View file @
30532f1c
...
...
@@ -11,6 +11,7 @@
<value>
<list>
<string>
default
</string>
<string>
description
</string>
<string>
title
</string>
</list>
</value>
...
...
@@ -76,6 +77,10 @@
<key>
<string>
default
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
Display table of content.
</string>
</value>
</item>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
my_checkbox
</string>
</value>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsBookDialog/include_history_table.xml
View file @
30532f1c
...
...
@@ -11,6 +11,7 @@
<value>
<list>
<string>
default
</string>
<string>
description
</string>
<string>
title
</string>
</list>
</value>
...
...
@@ -76,6 +77,10 @@
<key>
<string>
default
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
Display table of versions and signatures.
</string>
</value>
</item>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
my_checkbox
</string>
</value>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsBookDialog/include_linked_content.xml
View file @
30532f1c
...
...
@@ -11,6 +11,7 @@
<value>
<list>
<string>
default
</string>
<string>
description
</string>
<string>
title
</string>
</list>
</value>
...
...
@@ -76,6 +77,10 @@
<key>
<string>
default
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
Embed linked internal documents.
</string>
</value>
</item>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
my_checkbox
</string>
</value>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsBookDialog/include_reference_table.xml
View file @
30532f1c
...
...
@@ -11,6 +11,7 @@
<value>
<list>
<string>
default
</string>
<string>
description
</string>
<string>
title
</string>
</list>
</value>
...
...
@@ -76,6 +77,10 @@
<key>
<string>
default
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
Display table of references.
</string>
</value>
</item>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
my_checkbox
</string>
</value>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsBookDialog/include_report_content.xml
View file @
30532f1c
...
...
@@ -11,6 +11,7 @@
<value>
<list>
<string>
default
</string>
<string>
description
</string>
<string>
title
</string>
</list>
</value>
...
...
@@ -76,6 +77,10 @@
<key>
<string>
default
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
Generate and embed linked report documents.
</string>
</value>
</item>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
my_checkbox
</string>
</value>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsBookDialog/override_document_description.xml
View file @
30532f1c
...
...
@@ -10,6 +10,7 @@
<key>
<string>
delegated_list
</string>
</key>
<value>
<list>
<string>
description
</string>
<string>
title
</string>
</list>
</value>
...
...
@@ -63,6 +64,10 @@
<key>
<string>
values
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
Custom description to be used.
</string>
</value>
</item>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
my_description
</string>
</value>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsBookDialog/override_document_reference.xml
View file @
30532f1c
...
...
@@ -205,7 +205,7 @@
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
<value>
<string>
Custom reference to be used.
</string>
</value>
</item>
<item>
<key>
<string>
display_maxwidth
</string>
</key>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsBookDialog/override_document_short_title.xml
View file @
30532f1c
...
...
@@ -205,7 +205,7 @@
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
<value>
<string>
Custom subtitle to be used.
</string>
</value>
</item>
<item>
<key>
<string>
display_maxwidth
</string>
</key>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsBookDialog/override_document_title.xml
View file @
30532f1c
...
...
@@ -205,7 +205,7 @@
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
<value>
<string>
Custom title to be used.
</string>
</value>
</item>
<item>
<key>
<string>
display_maxwidth
</string>
</key>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsBookDialog/override_document_version.xml
View file @
30532f1c
...
...
@@ -205,7 +205,7 @@
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
<value>
<string>
Custom version to be used.
</string>
</value>
</item>
<item>
<key>
<string>
display_maxwidth
</string>
</key>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsBookDialog/override_logo_reference.xml
View file @
30532f1c
...
...
@@ -205,7 +205,7 @@
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
<value>
<string>
Logo to use with publisher.
</string>
</value>
</item>
<item>
<key>
<string>
display_maxwidth
</string>
</key>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsBookDialog/override_source_organisation_title.xml
View file @
30532f1c
...
...
@@ -205,7 +205,7 @@
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
<value>
<string>
Organisation to set as publisher.
</string>
</value>
</item>
<item>
<key>
<string>
display_maxwidth
</string>
</key>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsBookDialog/override_source_person_title.xml
View file @
30532f1c
...
...
@@ -205,7 +205,7 @@
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
<value>
<string>
Person to set as publisher.
</string>
</value>
</item>
<item>
<key>
<string>
display_maxwidth
</string>
</key>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsBookDialog/portal_skin.xml
View file @
30532f1c
...
...
@@ -12,6 +12,7 @@
<list>
<string>
css_class
</string>
<string>
default
</string>
<string>
description
</string>
<string>
title
</string>
</list>
</value>
...
...
@@ -85,6 +86,10 @@
<key>
<string>
default
</string>
</key>
<value>
<string>
Book
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
Portal skin to be used.
</string>
</value>
</item>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
your_portal_skin
</string>
</value>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsLeafletDialog/content.xml
View file @
30532f1c
...
...
@@ -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=Leaflet&override_source_person_title=%s&override_source_organisation_title=%s&display_side=%s&override_leaflet_header_title=%s&display_svg=%s
&document_save=%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_side", 1), context.REQUEST.get("override_leaflet_header_title", ""), context.REQUEST.get("display_svg", "png"), context.REQUEST.get("document_save", "
"))
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&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("display_side", 1), context.REQUEST.get("override_leaflet_header_title", ""), context.REQUEST.get("display_svg", "png
"))
]]>
</string>
</value>
</item>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsLeafletDialog/display_side.xml
View file @
30532f1c
...
...
@@ -11,6 +11,7 @@
<value>
<list>
<string>
default
</string>
<string>
description
</string>
<string>
title
</string>
</list>
</value>
...
...
@@ -76,6 +77,10 @@
<key>
<string>
default
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
Display leaflet side column.
</string>
</value>
</item>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
my_checkbox
</string>
</value>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsLeafletDialog/display_svg.xml
View file @
30532f1c
...
...
@@ -11,6 +11,7 @@
<value>
<list>
<string>
default
</string>
<string>
description
</string>
<string>
items
</string>
<string>
orientation
</string>
<string>
title
</string>
...
...
@@ -86,6 +87,10 @@
<key>
<string>
default
</string>
</key>
<value>
<string>
png
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
Format to display SVG images in.
</string>
</value>
</item>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
my_radio_field
</string>
</value>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsLeafletDialog/document_save.xml
View file @
30532f1c
...
...
@@ -11,6 +11,7 @@
<value>
<list>
<string>
default
</string>
<string>
description
</string>
<string>
title
</string>
</list>
</value>
...
...
@@ -76,6 +77,10 @@
<key>
<string>
default
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
Save generated document in Document module.
</string>
</value>
</item>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
my_checkbox
</string>
</value>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsLeafletDialog/override_source_organisation_title.xml
View file @
30532f1c
...
...
@@ -205,7 +205,7 @@
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
<value>
<string>
Organisation to set as publisher.
</string>
</value>
</item>
<item>
<key>
<string>
display_maxwidth
</string>
</key>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsLeafletDialog/override_source_person_title.xml
View file @
30532f1c
...
...
@@ -205,7 +205,7 @@
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
<value>
<string>
Person to set as publisher.
</string>
</value>
</item>
<item>
<key>
<string>
display_maxwidth
</string>
</key>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsLeafletDialog/portal_skin.xml
View file @
30532f1c
...
...
@@ -12,6 +12,7 @@
<list>
<string>
css_class
</string>
<string>
default
</string>
<string>
description
</string>
<string>
title
</string>
</list>
</value>
...
...
@@ -85,6 +86,10 @@
<key>
<string>
default
</string>
</key>
<value>
<string>
Leaflet
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
Portal skin to be used.
</string>
</value>
</item>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
your_portal_skin
</string>
</value>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsLetterDialog/content.xml
View file @
30532f1c
...
...
@@ -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=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_source_address=%s&display_svg=%s&document_save=%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_source_address",
""), context.REQUEST.get("display_svg", "png"), context.REQUEST.get("document_save", "
"))
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_source_address=%s&display_svg=%s&document_save=%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_source_address",
0), context.REQUEST.get("display_svg", "png
"))
]]>
</string>
</value>
</item>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsLetterDialog/display_head.xml
View file @
30532f1c
...
...
@@ -11,6 +11,7 @@
<value>
<list>
<string>
default
</string>
<string>
description
</string>
<string>
title
</string>
</list>
</value>
...
...
@@ -76,6 +77,10 @@
<key>
<string>
default
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
Display email header.
</string>
</value>
</item>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
my_checkbox
</string>
</value>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsLetterDialog/display_source_address.xml
View file @
30532f1c
...
...
@@ -11,6 +11,7 @@
<value>
<list>
<string>
default
</string>
<string>
description
</string>
<string>
title
</string>
</list>
</value>
...
...
@@ -76,6 +77,10 @@
<key>
<string>
default
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
Display sender address in address window.
</string>
</value>
</item>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
my_checkbox
</string>
</value>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsLetterDialog/display_svg.xml
View file @
30532f1c
...
...
@@ -11,6 +11,7 @@
<value>
<list>
<string>
default
</string>
<string>
description
</string>
<string>
items
</string>
<string>
orientation
</string>
<string>
title
</string>
...
...
@@ -86,6 +87,10 @@
<key>
<string>
default
</string>
</key>
<value>
<string>
png
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
Format to display SVG images in.
</string>
</value>
</item>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
my_radio_field
</string>
</value>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsLetterDialog/document_save.xml
View file @
30532f1c
...
...
@@ -11,6 +11,7 @@
<value>
<list>
<string>
default
</string>
<string>
description
</string>
<string>
title
</string>
</list>
</value>
...
...
@@ -76,6 +77,10 @@
<key>
<string>
default
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
Save generated document in Document module.
</string>
</value>
</item>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
my_checkbox
</string>
</value>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsLetterDialog/override_date.xml
View file @
30532f1c
...
...
@@ -12,6 +12,7 @@
<list>
<string>
default
</string>
<string>
default_now
</string>
<string>
description
</string>
<string>
required
</string>
<string>
title
</string>
</list>
...
...
@@ -88,6 +89,10 @@
<key>
<string>
default_now
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
Custom date to set on letter.
</string>
</value>
</item>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
my_date
</string>
</value>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsLetterDialog/override_destination_organisation_title.xml
View file @
30532f1c
...
...
@@ -205,7 +205,7 @@
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
<value>
<string>
Organisation to set as recipient.
</string>
</value>
</item>
<item>
<key>
<string>
display_maxwidth
</string>
</key>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsLetterDialog/override_destination_person_title.xml
View file @
30532f1c
...
...
@@ -205,7 +205,7 @@
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
<value>
<string>
Person to set as recipient.
</string>
</value>
</item>
<item>
<key>
<string>
display_maxwidth
</string>
</key>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsLetterDialog/override_source_organisation_title.xml
View file @
30532f1c
...
...
@@ -205,7 +205,7 @@
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
<value>
<string>
Organisation to set as sender.
</string>
</value>
</item>
<item>
<key>
<string>
display_maxwidth
</string>
</key>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsLetterDialog/override_source_person_title.xml
View file @
30532f1c
...
...
@@ -205,7 +205,7 @@
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
<value>
<string>
Person to set as publisher.
</string>
</value>
</item>
<item>
<key>
<string>
display_maxwidth
</string>
</key>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsLetterDialog/portal_skin.xml
View file @
30532f1c
...
...
@@ -12,6 +12,7 @@
<list>
<string>
css_class
</string>
<string>
default
</string>
<string>
description
</string>
<string>
title
</string>
</list>
</value>
...
...
@@ -85,6 +86,10 @@
<key>
<string>
default
</string>
</key>
<value>
<string>
Letter
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
Portal skin to be used.
</string>
</value>
</item>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
your_portal_skin
</string>
</value>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsReleaseDialog/content.xml
View file @
30532f1c
...
...
@@ -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=Release&override_source_person_title=%s&override_source_organisation_title=%s&display_svg=%s&d
ocument_save=%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("document_save", ""), context.REQUEST.get("display_about", ""
))
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&d
isplay_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>
</item>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsReleaseDialog/display_about.xml
View file @
30532f1c
...
...
@@ -11,6 +11,7 @@
<value>
<list>
<string>
default
</string>
<string>
description
</string>
<string>
title
</string>
</list>
</value>
...
...
@@ -76,6 +77,10 @@
<key>
<string>
default
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
Show auto generated about section.
</string>
</value>
</item>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
my_checkbox
</string>
</value>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsReleaseDialog/display_svg.xml
View file @
30532f1c
...
...
@@ -11,6 +11,7 @@
<value>
<list>
<string>
default
</string>
<string>
description
</string>
<string>
items
</string>
<string>
orientation
</string>
<string>
title
</string>
...
...
@@ -86,6 +87,10 @@
<key>
<string>
default
</string>
</key>
<value>
<string>
png
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
Format to display SVG images in.
</string>
</value>
</item>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
my_radio_field
</string>
</value>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsReleaseDialog/document_save.xml
View file @
30532f1c
...
...
@@ -11,6 +11,7 @@
<value>
<list>
<string>
default
</string>
<string>
description
</string>
<string>
title
</string>
</list>
</value>
...
...
@@ -76,6 +77,10 @@
<key>
<string>
default
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
Save generated document in Document module.
</string>
</value>
</item>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
my_checkbox
</string>
</value>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsReleaseDialog/override_source_organisation_title.xml
View file @
30532f1c
...
...
@@ -205,7 +205,7 @@
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
<value>
<string>
Organisation to set as publisher.
</string>
</value>
</item>
<item>
<key>
<string>
display_maxwidth
</string>
</key>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsReleaseDialog/override_source_person_title.xml
View file @
30532f1c
...
...
@@ -205,7 +205,7 @@
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
<value>
<string>
Person to set as publisher.
</string>
</value>
</item>
<item>
<key>
<string>
display_maxwidth
</string>
</key>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsReleaseDialog/portal_skin.xml
View file @
30532f1c
...
...
@@ -12,6 +12,7 @@
<list>
<string>
css_class
</string>
<string>
default
</string>
<string>
description
</string>
<string>
title
</string>
</list>
</value>
...
...
@@ -85,6 +86,10 @@
<key>
<string>
default
</string>
</key>
<value>
<string>
Release
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
Portal skin to be used.
</string>
</value>
</item>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
your_portal_skin
</string>
</value>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsSlideshowDialog/content.xml
View file @
30532f1c
...
...
@@ -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_source_organisation_title=%s&override_logo_reference=%s&display_svg=%s
&document_save=%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"), context.REQUEST.get("document_save
"))
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/WebPage_viewPrintAsSlideshowDialog/display_note.xml
View file @
30532f1c
...
...
@@ -10,6 +10,7 @@
<key>
<string>
delegated_list
</string>
</key>
<value>
<list>
<string>
description
</string>
<string>
title
</string>
</list>
</value>
...
...
@@ -67,6 +68,10 @@
<key>
<string>
values
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
Display slideshow notes (pdf only)
</string>
</value>
</item>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
my_checkbox
</string>
</value>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsSlideshowDialog/display_svg.xml
View file @
30532f1c
...
...
@@ -11,6 +11,7 @@
<value>
<list>
<string>
default
</string>
<string>
description
</string>
<string>
items
</string>
<string>
orientation
</string>
<string>
title
</string>
...
...
@@ -82,6 +83,10 @@
<key>
<string>
default
</string>
</key>
<value>
<string>
png
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
Format to display SVG images in.
</string>
</value>
</item>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
my_radio_field
</string>
</value>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsSlideshowDialog/document_save.xml
View file @
30532f1c
...
...
@@ -11,6 +11,7 @@
<value>
<list>
<string>
default
</string>
<string>
description
</string>
<string>
title
</string>
</list>
</value>
...
...
@@ -76,6 +77,10 @@
<key>
<string>
default
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
Save generated document in Document module.
</string>
</value>
</item>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
my_checkbox
</string>
</value>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsSlideshowDialog/override_logo_reference.xml
View file @
30532f1c
...
...
@@ -205,7 +205,7 @@
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
<value>
<string>
Logo to use with publisher.
</string>
</value>
</item>
<item>
<key>
<string>
display_maxwidth
</string>
</key>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsSlideshowDialog/override_source_organisation_title.xml
View file @
30532f1c
...
...
@@ -205,7 +205,7 @@
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
<value>
<string>
Organisation to set as publisher.
</string>
</value>
</item>
<item>
<key>
<string>
display_maxwidth
</string>
</key>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/WebPage_viewPrintAsSlideshowDialog/portal_skin.xml
View file @
30532f1c
...
...
@@ -12,6 +12,7 @@
<list>
<string>
css_class
</string>
<string>
default
</string>
<string>
description
</string>
<string>
title
</string>
</list>
</value>
...
...
@@ -85,6 +86,10 @@
<key>
<string>
default
</string>
</key>
<value>
<string>
Slide
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
Portal skin to be used.
</string>
</value>
</item>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
your_portal_skin
</string>
</value>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/template_css/highlight.css.css
0 → 100644
View file @
30532f1c
/* highlightjs */
.hljs
{
display
:
block
;
overflow-x
:
auto
;
background
:
#F0F0F0
}
.hljs
,
.hljs-subst
{
color
:
#444
}
.hljs-comment
{
color
:
#888888
}
.hljs-keyword
,
.hljs-attribute
,
.hljs-selector-tag
,
.hljs-meta-keyword
,
.hljs-doctag
,
.hljs-name
{
font-weight
:
bold
}
.hljs-type
,
.hljs-string
,
.hljs-number
,
.hljs-selector-id
,
.hljs-selector-class
,
.hljs-quote
,
.hljs-template-tag
,
.hljs-deletion
{
color
:
#880000
}
.hljs-title
,
.hljs-section
{
color
:
#880000
;
font-weight
:
bold
}
.hljs-regexp
,
.hljs-symbol
,
.hljs-variable
,
.hljs-template-variable
,
.hljs-link
,
.hljs-selector-attr
,
.hljs-selector-pseudo
{
color
:
#BC6060
}
.hljs-literal
{
color
:
#78A960
}
.hljs-built_in
,
.hljs-bullet
,
.hljs-code
,
.hljs-addition
{
color
:
#397300
}
.hljs-meta
{
color
:
#1f7199
}
.hljs-meta-string
{
color
:
#4d99bf
}
.hljs-emphasis
{
font-style
:
italic
}
.hljs-strong
{
font-weight
:
bold
}
/* line numbers from experimental branch: https://github.com/isagalaev/highlight.js/compare/line-numbers */
/* line numbers */
pre
{
counter-reset
:
lines
;
}
pre
.line
{
counter-increment
:
lines
;
}
pre
.line
::before
{
-webkit-user-select
:
none
;
-moz-user-select
:
none
;
-ms-user-select
:
none
;
-o-user-select
:
none
;
user-select
:
none
;
content
:
counter
(
lines
);
text-align
:
right
;
display
:
inline-block
;
width
:
2em
;
padding-right
:
0.5em
;
margin-right
:
0.5em
;
color
:
#BBB
;
border-right
:
solid
1px
;
}
/* hanging indent, removed per request of Vincent *//*
pre .line {
padding-left: 1.5em;
text-indent: -2em;
display: block;
}
pre {
white-space: pre-wrap;
white-space: -moz-pre-wrap;
white-space: -pre-wrap;
white-space: -o-pre-wrap;
word-wrap: break-word;
}
*/
/* customized colors */
/* coloring from prismjs */
.hljs-comment
,
.hljs-doctag
,
.hljs-meta
,
.hljs-meta-string
{
color
:
slategray
;
}
.hljs-keyword
{
color
:
#07a
;
}
.hljs-attribute
,
.hljs-string
,
.hljs-selector-tag
,
.hljs-selector-id
,
.hljs-selector-class
,
.hljs-selector-attr
,
.hljs-selector-pseudo
{
color
:
#690
;
}
.hljs-number
,
.hljs-deletion
,
.hljs-symbol
,
.hljs-code
{
color
:
#905
;
}
.hljs-regexp
,
.hljs-variable
,
.hljs-template-variable
,
.hljs-strong
{
color
:
#e90
;
}
.hljs-link
{
color
:
#a67f59
;
}
/* don't exist */
.hljs-name
,
.hljs-type
,
.hljs-quote
,
.hljs-template-tag
,
.hljs-title
,
.hljs-section
,
.hljs-literal
,
.hljs-built_in
,
.hljs-addition
,
.hljs-bullet
{
color
:
inherit
;
font-weight
:
normal
;
}
/* overriding of line breaks with scrolling, added per request of Vincent */
.ci-web
.ci-web-page-content
pre
{
overflow-x
:
scroll
;
}
.ci-web
.ci-web-page-content
pre
code
{
white-space
:
pre
;
}
\ No newline at end of file
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/template_css/highlight.css.xml
0 → 100644
View file @
30532f1c
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"File"
module=
"OFS.Image"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
__name__
</string>
</key>
<value>
<string>
highlight.css
</string>
</value>
</item>
<item>
<key>
<string>
content_type
</string>
</key>
<value>
<string>
text/css
</string>
</value>
</item>
<item>
<key>
<string>
precondition
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/template_css/normalize.css.css
0 → 100644
View file @
30532f1c
/*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */
/* Document
========================================================================== */
/**
* 1. Correct the line height in all browsers.
* 2. Prevent adjustments of font size after orientation changes in
* IE on Windows Phone and in iOS.
*/
html
{
line-height
:
1.15
;
/* 1 */
-ms-text-size-adjust
:
100%
;
/* 2 */
-webkit-text-size-adjust
:
100%
;
/* 2 */
}
/* Sections
========================================================================== */
/**
* Remove the margin in all browsers (opinionated).
*/
body
{
margin
:
0
;
}
/**
* Add the correct display in IE 9-.
*/
article
,
aside
,
footer
,
header
,
nav
,
section
{
display
:
block
;
}
/**
* Correct the font size and margin on `h1` elements within `section` and
* `article` contexts in Chrome, Firefox, and Safari.
*/
h1
{
font-size
:
2em
;
margin
:
0.67em
0
;
}
/* Grouping content
========================================================================== */
/**
* Add the correct display in IE 9-.
* 1. Add the correct display in IE.
*/
figcaption
,
figure
,
main
{
/* 1 */
display
:
block
;
}
/**
* Add the correct margin in IE 8.
*/
figure
{
margin
:
1em
40px
;
}
/**
* 1. Add the correct box sizing in Firefox.
* 2. Show the overflow in Edge and IE.
*/
hr
{
box-sizing
:
content-box
;
/* 1 */
height
:
0
;
/* 1 */
overflow
:
visible
;
/* 2 */
}
/**
* 1. Correct the inheritance and scaling of font size in all browsers.
* 2. Correct the odd `em` font sizing in all browsers.
*/
pre
{
font-family
:
monospace
,
monospace
;
/* 1 */
font-size
:
1em
;
/* 2 */
}
/* Text-level semantics
========================================================================== */
/**
* 1. Remove the gray background on active links in IE 10.
* 2. Remove gaps in links underline in iOS 8+ and Safari 8+.
*/
a
{
background-color
:
transparent
;
/* 1 */
-webkit-text-decoration-skip
:
objects
;
/* 2 */
}
/**
* 1. Remove the bottom border in Chrome 57- and Firefox 39-.
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
*/
abbr
[
title
]
{
border-bottom
:
none
;
/* 1 */
text-decoration
:
underline
;
/* 2 */
text-decoration
:
underline
dotted
;
/* 2 */
}
/**
* Prevent the duplicate application of `bolder` by the next rule in Safari 6.
*/
b
,
strong
{
font-weight
:
inherit
;
}
/**
* Add the correct font weight in Chrome, Edge, and Safari.
*/
b
,
strong
{
font-weight
:
bolder
;
}
/**
* 1. Correct the inheritance and scaling of font size in all browsers.
* 2. Correct the odd `em` font sizing in all browsers.
*/
code
,
kbd
,
samp
{
font-family
:
monospace
,
monospace
;
/* 1 */
font-size
:
1em
;
/* 2 */
}
/**
* Add the correct font style in Android 4.3-.
*/
dfn
{
font-style
:
italic
;
}
/**
* Add the correct background and color in IE 9-.
*/
mark
{
background-color
:
#ff0
;
color
:
#000
;
}
/**
* Add the correct font size in all browsers.
*/
small
{
font-size
:
80%
;
}
/**
* Prevent `sub` and `sup` elements from affecting the line height in
* all browsers.
*/
sub
,
sup
{
font-size
:
75%
;
line-height
:
0
;
position
:
relative
;
vertical-align
:
baseline
;
}
sub
{
bottom
:
-0.25em
;
}
sup
{
top
:
-0.5em
;
}
/* Embedded content
========================================================================== */
/**
* Add the correct display in IE 9-.
*/
audio
,
video
{
display
:
inline-block
;
}
/**
* Add the correct display in iOS 4-7.
*/
audio
:not
([
controls
])
{
display
:
none
;
height
:
0
;
}
/**
* Remove the border on images inside links in IE 10-.
*/
img
{
border-style
:
none
;
}
/**
* Hide the overflow in IE.
*/
svg
:not
(
:root
)
{
overflow
:
hidden
;
}
/* Forms
========================================================================== */
/**
* 1. Change the font styles in all browsers (opinionated).
* 2. Remove the margin in Firefox and Safari.
*/
button
,
input
,
optgroup
,
select
,
textarea
{
font-family
:
sans-serif
;
/* 1 */
font-size
:
100%
;
/* 1 */
line-height
:
1.15
;
/* 1 */
margin
:
0
;
/* 2 */
}
/**
* Show the overflow in IE.
* 1. Show the overflow in Edge.
*/
button
,
input
{
/* 1 */
overflow
:
visible
;
}
/**
* Remove the inheritance of text transform in Edge, Firefox, and IE.
* 1. Remove the inheritance of text transform in Firefox.
*/
button
,
select
{
/* 1 */
text-transform
:
none
;
}
/**
* 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
* controls in Android 4.
* 2. Correct the inability to style clickable types in iOS and Safari.
*/
button
,
html
[
type
=
"button"
],
/* 1 */
[
type
=
"reset"
],
[
type
=
"submit"
]
{
-webkit-appearance
:
button
;
/* 2 */
}
/**
* Remove the inner border and padding in Firefox.
*/
button
::-moz-focus-inner
,
[
type
=
"button"
]
::-moz-focus-inner
,
[
type
=
"reset"
]
::-moz-focus-inner
,
[
type
=
"submit"
]
::-moz-focus-inner
{
border-style
:
none
;
padding
:
0
;
}
/**
* Restore the focus styles unset by the previous rule.
*/
button
:-moz-focusring
,
[
type
=
"button"
]
:-moz-focusring
,
[
type
=
"reset"
]
:-moz-focusring
,
[
type
=
"submit"
]
:-moz-focusring
{
outline
:
1px
dotted
ButtonText
;
}
/**
* Correct the padding in Firefox.
*/
fieldset
{
padding
:
0.35em
0.75em
0.625em
;
}
/**
* 1. Correct the text wrapping in Edge and IE.
* 2. Correct the color inheritance from `fieldset` elements in IE.
* 3. Remove the padding so developers are not caught out when they zero out
* `fieldset` elements in all browsers.
*/
legend
{
box-sizing
:
border-box
;
/* 1 */
color
:
inherit
;
/* 2 */
display
:
table
;
/* 1 */
max-width
:
100%
;
/* 1 */
padding
:
0
;
/* 3 */
white-space
:
normal
;
/* 1 */
}
/**
* 1. Add the correct display in IE 9-.
* 2. Add the correct vertical alignment in Chrome, Firefox, and Opera.
*/
progress
{
display
:
inline-block
;
/* 1 */
vertical-align
:
baseline
;
/* 2 */
}
/**
* Remove the default vertical scrollbar in IE.
*/
textarea
{
overflow
:
auto
;
}
/**
* 1. Add the correct box sizing in IE 10-.
* 2. Remove the padding in IE 10-.
*/
[
type
=
"checkbox"
],
[
type
=
"radio"
]
{
box-sizing
:
border-box
;
/* 1 */
padding
:
0
;
/* 2 */
}
/**
* Correct the cursor style of increment and decrement buttons in Chrome.
*/
[
type
=
"number"
]
::-webkit-inner-spin-button
,
[
type
=
"number"
]
::-webkit-outer-spin-button
{
height
:
auto
;
}
/**
* 1. Correct the odd appearance in Chrome and Safari.
* 2. Correct the outline style in Safari.
*/
[
type
=
"search"
]
{
-webkit-appearance
:
textfield
;
/* 1 */
outline-offset
:
-2px
;
/* 2 */
}
/**
* Remove the inner padding and cancel buttons in Chrome and Safari on macOS.
*/
[
type
=
"search"
]
::-webkit-search-cancel-button
,
[
type
=
"search"
]
::-webkit-search-decoration
{
-webkit-appearance
:
none
;
}
/**
* 1. Correct the inability to style clickable types in iOS and Safari.
* 2. Change font properties to `inherit` in Safari.
*/
::-webkit-file-upload-button
{
-webkit-appearance
:
button
;
/* 1 */
font
:
inherit
;
/* 2 */
}
/* Interactive
========================================================================== */
/*
* Add the correct display in IE 9-.
* 1. Add the correct display in Edge, IE, and Firefox.
*/
details
,
/* 1 */
menu
{
display
:
block
;
}
/*
* Add the correct display in all browsers.
*/
summary
{
display
:
list-item
;
}
/* Scripting
========================================================================== */
/**
* Add the correct display in IE 9-.
*/
canvas
{
display
:
inline-block
;
}
/**
* Add the correct display in IE.
*/
template
{
display
:
none
;
}
/* Hidden
========================================================================== */
/**
* Add the correct display in IE 10-.
*/
[
hidden
]
{
display
:
none
;
}
\ No newline at end of file
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/template_css/normalize.css.xml
0 → 100644
View file @
30532f1c
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"File"
module=
"OFS.Image"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
__name__
</string>
</key>
<value>
<string>
normalize.css
</string>
</value>
</item>
<item>
<key>
<string>
content_type
</string>
</key>
<value>
<string>
text/css
</string>
</value>
</item>
<item>
<key>
<string>
precondition
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/template_css/web.css.css
0 → 100644
View file @
30532f1c
/* === Browser Overrides === */
fieldset
{
border
:
0
none
;
padding
:
0
;
margin
:
0
;
}
/* === font-size === */
.ci-web
.ci-web-page-content
code
span
,
.ci-web
.ci-web-page-footer
.ci-web-copyright
{
font-size
:
.9em
;
}
.ci-web
.ci-web-page-content
p
,
.ci-web
.ci-web-page-content
span
,
.ci-web
.ci-web-page-content
li
,
.ci-web
.ci-web-page-content
b
,
.ci-web
.ci-web-page-content
a
{
font-size
:
1.1em
;
}
/* === main section dimensions === */
.ci-web
.ci-web-page-header
,
.ci-web
.ci-web-page-footer
{
width
:
100%
;
}
.ci-web
.ci-web-page-header-logo-bar
,
.ci-web
.ci-web-page-content
{
width
:
80%
;
max-width
:
64em
;
margin
:
0
auto
;
}
@media
(
max-width
:
64em
)
{
.ci-web
.ci-web-page-header-logo-bar
,
.ci-web
.ci-web-page-content
{
width
:
auto
;
max-width
:
none
;
padding
:
0
1em
;
-webkit-box-sizing
:
border-box
;
-moz-box-sizing
:
border-box
;
box-sizing
:
border-box
;
}
}
/* === site header === */
.ci-web
.ci-web-page-header
{
margin-bottom
:
1em
;
padding-bottom
:
5em
;
-webkit-box-shadow
:
0
2px
5px
0
rgba
(
0
,
0
,
0
,
0.24
);
-moz-box-shadow
:
0
2px
5px
0
rgba
(
0
,
0
,
0
,
0.24
);
box-shadow
:
0
2px
5px
0
rgba
(
0
,
0
,
0
,
0.24
);
}
.ci-web-header-bar-navigation-left
img
{
width
:
2em
;
vertical-align
:
middle
;
padding-right
:
.5em
;
padding-left
:
.5em
;
-webkit-box-sizing
:
border-box
;
-moz-box-sizing
:
border-box
;
box-sizing
:
border-box
;
}
.ci-web
.ci-web-page-header-bar-navigation-title
{
vertical-align
:
middle
;
padding
:
.25em
0
;
}
.ci-web
.ci-web-header-bar-logo-left
a
,
.ci-web-header-bar-navigation-left
a
{
text-decoration
:
none
;
}
.ci-web
.ci-web-header-bar-logo-left
img
{
max-width
:
10em
;
height
:
auto
;
border
:
0
none
;
vertical-align
:
middle
;
}
.ci-web
.ci-web-header-bar-logo-left
span
{
vertical-align
:
middle
;
text-transform
:
uppercase
;
letter-spacing
:
2px
;
font-weight
:
bold
;
}
@media
(
max-width
:
45em
)
{
.ci-web
.ci-web-header-bar-logo-left
span
{
display
:
block
;
width
:
auto
;
}
.ci-web
.ci-web-header-bar-logo-left
img
{
text-align
:
center
;
margin-bottom
:
1em
;
}
}
.ci-web
.ci-web-header-bar-logo
{
margin-top
:
4em
;
text-align
:
center
;
}
.ci-web
.ci-web
.ci-web-header-bar-logo-left
,
.ci-web
.ci-web
.ci-web-header-bar-logo-center
,
.ci-web
.ci-web
.ci-web-header-bar-logo-right
{
display
:
inline-block
;
width
:
0
;
}
.ci-web
.ci-web
.ci-web-header-bar-logo-left
{
width
:
50%
;
}
@media
(
max-width
:
64em
)
{
.ci-web
.ci-web
.ci-web-header-bar-logo-left
{
width
:
auto
;
}
}
.ci-web
.ci-web-header-bar-navigation
{
padding
:
.25em
0
;
-webkit-box-shadow
:
0
2px
5px
0
rgba
(
0
,
0
,
0
,
0.24
);
-moz-box-shadow
:
0
2px
5px
0
rgba
(
0
,
0
,
0
,
0.24
);
box-shadow
:
0
2px
5px
0
rgba
(
0
,
0
,
0
,
0.24
);
}
/* === site content === */
.ci-web
.ci-web-page-content
h1
:not
(
:first-of-type
)
{
margin-top
:
1.5em
;
}
.ci-web
.ci-web-page-content
h2
{
margin-top
:
1em
;
}
.ci-web
.ci-web-page-content
h3
{
margin-top
:
.5em
;
}
.ci-web
.ci-web-page-content
table
{
border-collapse
:
collapse
;
border
:
1px
solid
#808080
;
}
.ci-web
.ci-web-page-content
table
thead
{
background
:
#F0F0F0
;
}
.ci-web
.ci-web-page-content
table
thead
th
,
.ci-web
.ci-web-page-content
table
thead
td
{
padding
:
1em
.25em
;
}
.ci-web
.ci-web-page-content
table
tbody
th
,
.ci-web
.ci-web-page-content
table
tbody
td
{
padding
:
0
.25em
;
}
.ci-web
.ci-web-page-content
img
{
width
:
100%
;
}
/* prevent inline code elements to break page width */
.ci-web
.ci-web-page-content
code
{
word-break
:
break-all
;
word-wrap
:
break-word
;
}
.ci-web
.ci-web-page-content
pre
code
{
word-break
:
normal
;
word-wrap
:
normal
;
}
.ci-web
.ci-web-page-content
p
,
.ci-web
.ci-web-page-content
li
,
.ci-web
.ci-web-page-content
span
{
line-height
:
1.3em
;
}
/* === site content responsive tables === */
@media
(
max-width
:
64em
)
{
.ci-web
.ci-web-page-content
table
,
.ci-web
.ci-web-page-content
thead
,
.ci-web
.ci-web-page-content
tbody
,
.ci-web
.ci-web-page-content
th
,
.ci-web
.ci-web-page-content
td
,
.ci-web
.ci-web-page-content
tr
{
display
:
block
;
}
.ci-web
.ci-web-page-content
thead
tr
{
position
:
absolute
!important
;
height
:
1px
;
width
:
1px
;
overflow
:
hidden
;
clip
:
rect
(
1px
,
1px
,
1px
,
1px
);
}
.ci-web
.ci-web-page-content
table
tbody
tr
td
:first-child
{
font-weight
:
700
;
}
.ci-web
.ci-web-page-content
tr
{
border-bottom
:
1px
solid
#808080
;
padding
:
1em
0.5em
;
}
/* new row */
.ci-web
.ci-web-page-content
td
{
border
:
none
;
}
/* new row header */
.ci-web
.ci-web-page-content
td
:before
{
padding-right
:
10px
;
white-space
:
nowrap
;
}
}
/* === Login Menu === */
.ci-web
.ci-web-header-menu-user
{
display
:
none
;
}
/* === site footer === */
.ci-web
.ci-web-page-footer
{
text-align
:
center
;
margin-top
:
2em
;
padding
:
1em
0
;
}
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/template_css/web.css.xml
0 → 100644
View file @
30532f1c
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"File"
module=
"OFS.Image"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
__name__
</string>
</key>
<value>
<string>
web.css
</string>
</value>
</item>
<item>
<key>
<string>
content_type
</string>
</key>
<value>
<string>
text/css
</string>
</value>
</item>
<item>
<key>
<string>
precondition
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/template_js/highlight.js.js
View file @
30532f1c
This source diff could not be displayed because it is too large. You can
view the blob
instead.
bt5/erp5_corporate_identity/TestTemplateItem/portal_components/test.erp5.testCorporateIdentityTemplates.py
View file @
30532f1c
...
...
@@ -822,7 +822,6 @@ class TestCorporateIdentityTemplates(ERP5TypeTestCase):
"template_test_leaflet_output_expected_002_en_html"
,
**
dict
(
test_method
=
"WebPage_exportAsLeaflet"
,
display_side
=
0
,
override_source_person_title
=
"Test Recipient"
,
override_source_organisation_title
=
"Test Association"
,
override_leaflet_header_title
=
"Couscous"
,
...
...
@@ -1010,7 +1009,7 @@ class TestCorporateIdentityTemplates(ERP5TypeTestCase):
"template_test_book_input_page_4_001_en_bmp"
,
"template_test_book_input_001_en_pdf"
,
**
dict
(
page_number
=
5
,
page_number
=
4
,
use_skin
=
"Book"
,
test_method
=
"WebPage_exportAsBook"
,
format
=
"pdf"
,
...
...
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