From a8ddf6acaee4ce7661d8fd4e9027fca1e56de1ae Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Wed, 30 Nov 2011 16:42:19 +0100 Subject: [PATCH] Bug 7270: Removing double itemtype on shelve contents page when no icon is shown Just adding a check on imageurl in the template. Signed-off-by: Chris Cormack Signed-off-by: Paul Poulain --- .../intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt index d7a34a136d..12a06658d0 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt @@ -194,7 +194,7 @@ function placeHold () { [% END %] [% UNLESS ( item_level_itypes ) %] - [% UNLESS ( noItemTypeImages ) %][% itemsloo.description %][% END %][% itemsloo.description %] + [% UNLESS ( noItemTypeImages || !itemsloo.imageurl ) %][% itemsloo.description %][% END %][% itemsloo.description %] [% END %] [% INCLUDE 'biblio-default-view.inc' biblionumber = itemsloo.biblionumber %] -- 2.39.5