From b9d0270608e693ce9a2a2ea8dcba47841fdb7cc5 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 6 Jan 2025 15:54:15 +0100 Subject: [PATCH] Bug 38714: catalogue/results.tt Please enter the commit message for your changes. Lines starting Signed-off-by: Lucas Gass Signed-off-by: Martin Renvoize Signed-off-by: Katrin Fischer --- .../prog/en/modules/catalogue/results.tt | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt index 5600bc9d8d..6e0294d166 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt @@ -605,12 +605,10 @@
[% IF MaxSearchResultsItemsPerRecordStatusCheck && SEARCH_RESULT.items_count > MaxSearchResultsItemsPerRecordStatusCheck %] - [% END %] - - [% tnx('{count} item', '{count} items', SEARCH_RESULT.items_count, {count = SEARCH_RESULT.items_count}) | html %][% IF ( SEARCH_RESULT.availablecount ) %], [% SEARCH_RESULT.availablecount | html %] available:[% ELSE %], None available[% END %] - - [% IF MaxSearchResultsItemsPerRecordStatusCheck && SEARCH_RESULT.items_count > MaxSearchResultsItemsPerRecordStatusCheck %] + [% tnx('{count} item', '{count} items', SEARCH_RESULT.items_count, {count = SEARCH_RESULT.items_count}) | html %][% IF ( SEARCH_RESULT.availablecount ) %], [% SEARCH_RESULT.availablecount | html %] available:[% ELSE %], None available[% END %] + [% ELSE %] + [% tnx('{count} item', '{count} items', SEARCH_RESULT.items_count, {count = SEARCH_RESULT.items_count}) | html %][% IF ( SEARCH_RESULT.availablecount ) %], [% SEARCH_RESULT.availablecount | html %] available:[% ELSE %], None available[% END %] [% END %]
@@ -628,11 +626,12 @@
    [% FOREACH items_loo IN SEARCH_RESULT.${items_loop} %] [% IF item_level_itypes && !noItemTypeImages && items_loo.imageurl %] -
  • - [% items_loo.description | html %] - [% ELSE %] -
  • + [% SET li_class='result_itype_image'%] [% END %] +
  • + [% IF item_level_itypes && !noItemTypeImages && items_loo.imageurl %] + [% items_loo.description | html %] + [% END %] [% IF ( items_loo.branchname ) %] [% items_loo.branchname | html %] [% END %]