@@ -, +, @@ problems for staff client in 6 Files koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc - Review code, verify that line breaks are removed - Run QA tools - Bonus test: Create a "language" aa-AA and verify that no fragments containign %%] are picked for the 6 files --- .../en/includes/authorities-search-results.inc | 28 +++++++--------------- .../intranet-tmpl/prog/en/includes/circ-menu.inc | 3 +-- .../prog/en/includes/search_indexes.inc | 14 +++++------ .../prog/en/modules/catalogue/issuehistory.tt | 6 ++--- .../intranet-tmpl/prog/en/modules/intranet-main.tt | 9 ++----- .../prog/en/modules/members/members-update.tt | 3 +-- 6 files changed, 21 insertions(+), 42 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/includes/authorities-search-results.inc +++ a/koha-tmpl/intranet-tmpl/prog/en/includes/authorities-search-results.inc @@ -1,11 +1,9 @@ [% BLOCK showreference %] -[%# - Parameters: - heading: the heading itself - linkType: currently 'seefrom' or 'seealso', controls the label for the entry - type: - authid: if it is a linked authority, its authid -%] +[%# Parameters: %] +[%# heading: the heading itself %] +[%# linkType: currently 'seefrom' or 'seealso', controls the label for the entry type: %] +[%# authid: if it is a linked authority, its authid %] + [% SET authidurl = '/cgi-bin/koha/authorities/detail.pl?authid=' %] [% SET searchurl = '/cgi-bin/koha/authorities/authorities-home.pl?op=do_search&type=intranet&marclist=any&operator=contains&orderby=HeadingAsc&value=' %] @@ -102,12 +100,8 @@ used for/see from: [% FOREACH seefro IN summary.seefrom %]
- [% PROCESS showreference - heading=seefro.heading - linkType='seefrom' - type=seefro.type - authid=seefro.authid - %] + [%# Following on one line for translatability %] + [% PROCESS showreference heading=seefro.heading linkType='seefrom' type=seefro.type authid=seefro.authid %]
[% END %] @@ -117,12 +111,8 @@ see also: [% FOREACH seeals IN summary.seealso %]
- [% PROCESS showreference - heading=seeals.heading - linkType='seealso' - type=seeals.type - authid=seeals.authid - %] + [%# Following on one line for translatability %] + [% PROCESS showreference heading=seeals.heading linkType='seealso' type=seeals.type authid=seeals.authid %]
[% END %] --- a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc +++ a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc @@ -69,8 +69,7 @@