diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt index 7178dac55a..504981ed58 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt @@ -1295,18 +1295,18 @@ orderable: true, render: function (data, type, row, meta) { let a = ''.format(row.suggestion_id, _("suggestion")); - let node = a + ( row.author ? a + _("%s, by %s").format(row.title.escapeHtml(), row.author.escapeHtml()) : row.title.escapeHtml()); - node += '
'; - if(row.copyright_date) node += ' © %s'.format(row.copyright_date); - if(row.volume_desc) node += '; %s:%s'.format(_("Volume"), row.volume_desc); - if(row.isbn) node += '; %s:%s'.format(_("ISBN"), row.isbn); - if(row.publisher_code) node += '; %s %s'.format(_("Published by"), row.publisher_code); - if(row.publication_year && row.publication_year != 0) node += '; %s'.format(row.publication_year); - if(row.publication_place) node += '; %s'.format(row.publication_place); - if(row.collection_title) node += '; %s'.format(row.collection_title); - if(row.item_type && row._strings.item_type.str) node += '; %s'.format(row._strings.item_type.str); - if(row.note) node += '
%s
'.format(row.note); - if(row.archived) node += '
%s'.format(_("Archived")); + let node = a + (row.author ? a + _("%s, by %s").format(row.title.escapeHtml(), row.author.escapeHtml()) : row.title.escapeHtml()); + node += "
"; + if (row.copyright_date) node += ' © %s'.format(row.copyright_date); + if (row.volume_desc) node += '; %s:%s'.format(_("Volume"), row.volume_desc); + if (row.isbn) node += '; %s:%s'.format(_("ISBN"), row.isbn); + if (row.publisher_code) node += '; %s %s'.format(_("Published by"), row.publisher_code); + if (row.publication_year && row.publication_year != 0) node += '; %s'.format(row.publication_year); + if (row.publication_place) node += '; %s'.format(row.publication_place); + if (row.collection_title) node += '; %s'.format(row.collection_title); + if (row.item_type && row._strings.item_type.str) node += '; %s'.format(row._strings.item_type.str); + if (row.note) node += '
%s
'.format(row.note); + if (row.archived) node += '
%s'.format(_("Archived")); return node; }, },