From: Moritz Bunkus Date: Wed, 21 Nov 2007 14:07:55 +0000 (+0000) Subject: Kompatibilitätsfix für ältere Template-Versionen: Das Whitespace-Removal ~ gibt es... X-Git-Tag: release-2.6.0beta1~402 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=f6de0aa979f607520f718b51aa5834b314e674eb;p=kivitendo-erp.git Kompatibilitätsfix für ältere Template-Versionen: Das Whitespace-Removal ~ gibt es in älteren Versionen nicht. --- diff --git a/templates/webpages/generic/multibox.html b/templates/webpages/generic/multibox.html index 5d8e86321..49b733329 100644 --- a/templates/webpages/generic/multibox.html +++ b/templates/webpages/generic/multibox.html @@ -39,20 +39,20 @@ [%- END -%] [%- IF DATA.size and limit < DATA.size %] -[%~ IF select %] +[%- IF select %] -[% END ~%] +[% END %] [%- ELSE %] - [%~ END ~%] + [%- END %] [%- END %] @@ -214,21 +214,21 @@ [%- END %] - [%~ IF is_order ~%] + [%- IF is_order %] Auftragsdatum - [%~ ELSE ~%] + [%- ELSE %] Angebotsdatum - [%~ END ~%] + [%- END %] [% button1 %] - [%~ IF is_sales_quo ~%] + [%- IF is_sales_quo %] gültig bis - [%~ ELSE ~%] + [%- ELSE %] Lieferdatum - [%~ END ~%] + [%- END %] [% button2 %] diff --git a/templates/webpages/oe/orders_header_master.html b/templates/webpages/oe/orders_header_master.html index 682daf566..76c397072 100644 --- a/templates/webpages/oe/orders_header_master.html +++ b/templates/webpages/oe/orders_header_master.html @@ -120,11 +120,11 @@ Exchangerate - [%~ IF forex ~%] + [%- IF forex %] [% LxERP.format_amount(exchangerate, 0) %] - [%~ ELSE ~%] + [%- ELSE %] - [%~ END ~%] + [%- END %] [%- END %] @@ -214,21 +214,21 @@ [%- END %] - [%~ IF is_order ~%] + [%- IF is_order %] Order Date - [%~ ELSE ~%] + [%- ELSE %] Quotation Date - [%~ END ~%] + [%- END %] [% button1 %] - [%~ IF is_sales_quo ~%] + [%- IF is_sales_quo %] Valid until - [%~ ELSE ~%] + [%- ELSE %] Required by - [%~ END ~%] + [%- END %] [% button2 %]