@@ -, +, @@ --- .../prog/en/modules/suggestion/suggestion.tt | 8 ++--- .../bootstrap/en/modules/opac-suggestions.tt | 38 +++++++++++----------- 2 files changed, 23 insertions(+), 23 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt @@ -240,12 +240,12 @@ [% IF ( op_save ) %] [% FOR m IN messages %] -
+
[% SWITCH m.code %] [% CASE 'biblio_exists' %] - A similar document already exists: [% m.title %]. Click on "Confirm your suggestion" to ignore this message. + A similar document already exists: [% m.title | html %]. Click on "Confirm your suggestion" to ignore this message. [% CASE %] - [% m.code %] + [% m.code | html %] [% END %]
[% END %] @@ -457,7 +457,7 @@ [% CASE 'already_exists' %] The suggestion has not been added. A suggestion with this title already exists (suggestion #[% m.id | html %]) [% CASE 'biblio_exists' %] - A similar document already exists: [% m.title %]. Click on "Confirm your suggestion" to ignore this message. + A similar document already exists: [% m.title | html %]. Click on "Confirm your suggestion" to ignore this message. [% CASE %] [% m.code | html %] [% END %] --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt +++ a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt @@ -41,12 +41,12 @@

Only certain fields (marked in red) are required, but the more information you enter the easier it will be for the librarians to find the title you're requesting. The "Notes" field can be used to provide any additional information.

[% FOR m IN messages %] -
+
[% SWITCH m.code %] [% CASE 'biblio_exists' %] - A similar document already exists: [% m.title %]. Click on "Confirm your suggestion" to ignore this message. + A similar document already exists: [% m.title | html %]. Click on "Confirm your suggestion" to ignore this message. [% CASE %] - [% m.code %] + [% m.code | html %] [% END %]
[% END %] @@ -57,73 +57,73 @@
  • [% IF ( title_required ) %] - + Required [% ELSE %] - + [% END %]
  • [% IF ( author_required ) %] - + Required [% ELSE %] - + [% END %]
  • [% IF ( copyrightdate_required ) %] - + Required [% ELSE %] - + [% END %]
  • [% IF ( isbn_required ) %] - + Required [% ELSE %] - + [% END %]
  • [% IF ( publishercode_required ) %] - + Required [% ELSE %] - + [% END %]
  • [% IF ( collectiontitle_required ) %] - + Required [% ELSE %] - + [% END %]
  • [% IF ( place_required ) %] - + Required [% ELSE %] - + [% END %]
  • @@ -187,11 +187,11 @@
  • [% IF ( note_required ) %] - + Required [% ELSE %] - + [% END %]
  • --