From b7a5eccc5cace52c140a4f4ec480284baa1e52c0 Mon Sep 17 00:00:00 2001 From: Julian Maurice Date: Fri, 22 Jun 2018 13:12:23 +0200 Subject: [PATCH] Bug 20988: Modify templates so that they can be parsed as HTML This is required for koha-i18n [1] to work correctly [1] https://github.com/jajm/koha-i18n --- .../prog/en/modules/acqui/parcel.tt | 4 +- .../prog/en/modules/acqui/supplier.tt | 4 +- .../prog/en/modules/admin/preferences.tt | 10 ++-- .../prog/en/modules/catalogue/detail.tt | 6 +- .../value_builder/unimarc_field_210c.tt | 5 +- .../en/modules/circ/selectbranchprinter.tt | 4 +- .../prog/en/modules/ill/ill-requests.tt | 2 +- .../en/modules/serials/serials-collection.tt | 3 +- .../prog/en/modules/tools/holidays.tt | 3 +- .../tools/marc_modification_templates.tt | 57 ++++++++++++------- .../bootstrap/en/includes/bodytag.inc | 14 ++--- .../bootstrap/en/modules/opac-detail.tt | 8 +-- .../bootstrap/en/modules/opac-tags.tt | 2 +- .../bootstrap/en/modules/sco/sco-main.tt | 2 +- 14 files changed, 73 insertions(+), 51 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt index 96c2f51ee3..fd234bac5b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt @@ -176,10 +176,10 @@ [% IF ( loop_order.left_holds_on_order ) %] Can't cancel order [% ELSE %] - Cancel order + Cancel order [% END %] [% IF ( loop_order.can_del_bib ) %] - Cancel order and catalog record + Cancel order and catalog record [% ELSE %] Can't cancel order and delete catalog record [% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt index 1d7b033a97..8aa5c13245 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt @@ -232,7 +232,7 @@ [% END %] Discount: - % + % Delivery time: days @@ -279,7 +279,7 @@ Invoice item price includes tax: [% IF ( invoiceincgst ) %]Yes[% ELSE %]No[% END %][% END %] Discount: - [% discount | format("%.1f") %] % + [% discount | format('%.1f') %] %
Invoice item price includes tax: [% IF ( invoiceincgst ) %]Yes[% ELSE %]No[% END %]
Discount: - [% discount | format("%.1f") %] %
Tax rate: [% ( tax_rate || 0 ) * 100 %] %
[% SET ctrl_preload = ' controls preload=none' #translatability %] <[% HTML5MediaParent _ ctrl_preload %] > - <[% HTML5MediaSet.child _ ' src="' _ HTML5MediaSet.srcblock _'"' _ HTML5MediaSet.typeblock %] /> + <[% HTML5MediaSet.child %] src="[% HTML5MediaSet.srcblock %]" [% HTML5MediaSet.typeblock %] /> [[% HTML5MediaParent %] tag not supported by your browser.] [% HTML5MediaParent %]>