From 9043aeee2d5b00bf492ca5014768b29019bf43bd Mon Sep 17 00:00:00 2001 From: Romain Courteaud <romain@nexedi.com> Date: Thu, 1 Feb 2007 16:41:37 +0000 Subject: [PATCH] Add a small hack, in order not to display in PDF rendering. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@12505 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../SkinTemplateItem/portal_skins/erp5_pdf_style/form_view.xml | 2 +- bt5/erp5_pdf_style/bt/provision_list | 0 bt5/erp5_pdf_style/bt/revision | 2 +- bt5/erp5_pdf_style/bt/short_title | 1 + bt5/erp5_pdf_style/bt/template_preference_list | 0 5 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 bt5/erp5_pdf_style/bt/provision_list create mode 100644 bt5/erp5_pdf_style/bt/short_title create mode 100644 bt5/erp5_pdf_style/bt/template_preference_list diff --git a/bt5/erp5_pdf_style/SkinTemplateItem/portal_skins/erp5_pdf_style/form_view.xml b/bt5/erp5_pdf_style/SkinTemplateItem/portal_skins/erp5_pdf_style/form_view.xml index c1b3272a7a..e73c4bf9ac 100644 --- a/bt5/erp5_pdf_style/SkinTemplateItem/portal_skins/erp5_pdf_style/form_view.xml +++ b/bt5/erp5_pdf_style/SkinTemplateItem/portal_skins/erp5_pdf_style/form_view.xml @@ -98,7 +98,7 @@ tal:content="python: str(value)"\n tal:condition="not:item_list" />\n <para style="TableStandard"\n - tal:content="python: [i[0] for i in item_list if i[1] == value][0]"\n + tal:content="python: [i[0].replace(\' \', \'\') for i in item_list if i[1] == value][0]"\n tal:condition="item_list" />\n </tal:block>\n <tal:block tal:condition="python: value == None">\n diff --git a/bt5/erp5_pdf_style/bt/provision_list b/bt5/erp5_pdf_style/bt/provision_list new file mode 100644 index 0000000000..e69de29bb2 diff --git a/bt5/erp5_pdf_style/bt/revision b/bt5/erp5_pdf_style/bt/revision index 19c7bdba7b..25bf17fc5a 100644 --- a/bt5/erp5_pdf_style/bt/revision +++ b/bt5/erp5_pdf_style/bt/revision @@ -1 +1 @@ -16 \ No newline at end of file +18 \ No newline at end of file diff --git a/bt5/erp5_pdf_style/bt/short_title b/bt5/erp5_pdf_style/bt/short_title new file mode 100644 index 0000000000..4af18322e3 --- /dev/null +++ b/bt5/erp5_pdf_style/bt/short_title @@ -0,0 +1 @@ +None \ No newline at end of file diff --git a/bt5/erp5_pdf_style/bt/template_preference_list b/bt5/erp5_pdf_style/bt/template_preference_list new file mode 100644 index 0000000000..e69de29bb2 -- 2.30.9