@@ -, +, @@ --- .../intranet-tmpl/prog/en/modules/circ/article-requests.tt | 6 +++--- .../intranet-tmpl/prog/en/modules/circ/request-article.tt | 2 +- .../opac-tmpl/bootstrap/en/modules/opac-request-article.tt | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/article-requests.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/article-requests.tt @@ -25,7 +25,7 @@ [% IF id_arg && format=='SCAN' %] - + Edit URLs @@ -219,7 +219,7 @@ [% ar.item.enumchron | html %] [% ar.item.barcode | html %] [% IF ar.format == 'PHOTOCOPY' %]Copy[% ELSIF ar.format == 'SCAN' %]Scan[% END %] - [% IF ar.format == 'SCAN' %][% IF ar.urls %]Yes[% ELSE %]No[% END%][% END %] + [% IF ar.format == 'SCAN' %][% IF ar.urls %]Yes[% ELSE %]No[% END%][% END %]

@@ -322,7 +322,7 @@ [% ar.item.enumchron | html %] [% ar.item.barcode | html %] [% IF ar.format == 'PHOTOCOPY' %]Copy[% ELSIF ar.format == 'SCAN' %]Scan[% END %] - [% IF ar.format == 'SCAN' %][% IF ar.urls %]Yes[% ELSE %]No[% END%][% END %] + [% IF ar.format == 'SCAN' %][% IF ar.urls %]Yes[% ELSE %]No[% END%][% END %]

--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/request-article.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/request-article.tt @@ -420,7 +420,7 @@ }); // Initialize format(s) - var supported_formats = "[% Koha.Preference('ArticleRequestsSupportedFormats') %]"; + var supported_formats = "[% Koha.Preference('ArticleRequestsSupportedFormats') | $raw %]"; if( !supported_formats.match(/PHOTOCOPY/) ) $('#format option[value="PHOTOCOPY"]').remove(); if( !supported_formats.match(/SCAN/) ) --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-request-article.tt +++ a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-request-article.tt @@ -260,7 +260,7 @@ $(document).ready( function() { }); // Initialize format(s) - var supported_formats = "[% Koha.Preference('ArticleRequestsSupportedFormats') %]"; + var supported_formats = "[% Koha.Preference('ArticleRequestsSupportedFormats') | $raw %]"; if( !supported_formats.match(/PHOTOCOPY/) ) $('#format option[value="PHOTOCOPY"]').remove(); if( !supported_formats.match(/SCAN/) ) --