From 6229a5211c3c5a9ef3521ced354a1563f1ebf73b Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Thu, 10 Nov 2016 10:47:25 +0000 Subject: [PATCH] Bug 17601 - Regression: Incomplete CSS update introduced by Bug 14610 Bug 14610 revised staff-global.css so that the "holdcount" class was renamed "number_box." That's good. It's good to have something more generic since the class is used in multiple places. The problem is that there are still several instances of the "holdcount" class in the templates which should have been updated at the same time to say "number_box." Those instances are now unstyled. Test Plan: 1) Apply this patch 2) Check that the holds count on catalogue/detail.pl is styled 3) Check that the patron modifications count on members/member.pl is styled 4) Check that the pending comments count on tools/tools-home.pl is styled 5) Check that the pending tags count on tools/tools-home.pl is styled Signed-off-by: Chris Kirby Signed-off-by: Katrin Fischer Signed-off-by: Kyle M Hall --- koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt | 2 +- koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt | 2 +- koha-tmpl/intranet-tmpl/prog/en/modules/tools/tools-home.tt | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt index 2b6583bb2e..c0151e9c95 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt @@ -583,7 +583,7 @@ function verify_images() { [% END %] [% END %] - [% IF ( holdcount ) %]
  • Holds: [% holdcount %]
  • [% ELSE %][% END %] + [% IF ( holdcount ) %]
  • Holds: [% holdcount %]
  • [% ELSE %][% END %] [% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt index 09e9f9d44b..6938f57a18 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt @@ -346,7 +346,7 @@ function filterByFirstLetterSurname(letter) { [% IF ( CAN_user_borrowers && pending_borrower_modifications ) %] [% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/tools-home.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/tools-home.tt index 09bc4b647e..3220aad4f2 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/tools-home.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/tools-home.tt @@ -21,7 +21,7 @@ [% END %] [% IF ( CAN_user_tools_moderate_comments ) %] -
    Comments [% IF ( pendingcomments ) %][% pendingcomments %][% END %]
    +
    Comments [% IF ( pendingcomments ) %][% pendingcomments %][% END %]
    Moderate patron comments.
    [% END %] @@ -56,7 +56,7 @@ [% END %] [% IF ( CAN_user_tools_moderate_tags ) %] -
    Tags [% IF ( pendingtags ) %][% pendingtags %][% END %]
    +
    Tags [% IF ( pendingtags ) %][% pendingtags %][% END %]
    Moderate patron tags
    [% END %] -- 2.39.5