diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/mana/mana-subscription-search-result.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/mana/mana-subscription-search-result.inc index 74497ae7df..76fb704b14 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/mana/mana-subscription-search-result.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/mana/mana-subscription-search-result.inc @@ -26,15 +26,19 @@ [% FOREACH subscription IN subscriptions %] [% UNLESS subscription.cannotdisplay %] + [% SET tr_class = '' %] + [% SET tr_warning = '' %] [% IF subscription.nbofcomment > highWarned %] - + [% SET tr_class = 'high-warned-row' %] + [% SET tr_warning = highWarned %] [% ELSIF subscription.nbofcomment > warned %] - + [% SET tr_class = 'warned-row' %] + [% SET tr_warning = warned %] [% ELSIF subscription.nbofcomment > lowWarned %] - - [% ELSE %] - + [% SET tr_class = 'highlighted-row' %] + [% SET tr_warning = lowWarned %] [% END %] + [% IF ( subscription.issn ) %][% subscription.issn | html %][% END %] [% subscription.title | html %]