From 5bfec7b7419393a7bcf395a84e2829f7a2e3fff7 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Tue, 25 Jul 2023 15:32:44 +0000 Subject: [PATCH] Bug 31667: Merge 'tip' and 'hint' classes This patch corrects a few instances of the use of the "tip" class and replaces them with "hint." The patch also removes the class from the staff interface CSS. To test, apply the patch and rebuild the staff interface CSS. - View a patron account and click the "Routing lists" link in the left-hand sidebar. - On the subscription routing lists page the "Search subscriptions" page label should look correct. - Go to Reports -> Catalog by item type. - The "Select none..." hint should be styled correctly. - The third instance, in the installer, is only visible if you try to install Koha using a MySQL user who doesn't have the correct privileges, so may be too much trouble to really test. A check of the patch should be adequate. Signed-off-by: Fridolin Somers Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi (cherry picked from commit d8054e30fcc8ee402e0e7d96f68bc1b35f41ad4f) Signed-off-by: Fridolin Somers (cherry picked from commit c74d7351b59af73b6e3290c5ff8d8c3961aae6ee) Signed-off-by: Pedro Amorim --- koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss | 9 --------- .../intranet-tmpl/prog/en/modules/installer/step2.tt | 4 ++-- .../prog/en/modules/members/routing-lists.tt | 2 +- .../intranet-tmpl/prog/en/modules/reports/itemtypes.tt | 2 +- 4 files changed, 4 insertions(+), 13 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss index 5ab08c8dfc..a369588e1f 100644 --- a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss +++ b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss @@ -1162,10 +1162,6 @@ div { display: none; } -.tip { - color: #808080; -} - .single-line { white-space: nowrap; } @@ -3139,11 +3135,6 @@ label { padding-left: 0; } - &.tip { - display: block; - margin: .5em 0; - } - &.disabled { color: #CCC; cursor: not-allowed; diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/installer/step2.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/installer/step2.tt index d44cc4c2ad..c74bc6b6bd 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/installer/step2.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/installer/step2.tt @@ -45,7 +45,7 @@ [% ELSE %]

User [% user | $HtmlTags tag=>'code' %] doesn't have enough privilege on database [% dbname | $HtmlTags tag=>'code' %].

-

Ask for or make a change in the user's privileges. User [% user | $HtmlTags tag=>'code' %] must have USAGE, INSERT, UPDATE, DELETE, DROP and CREATE privileges on database [% dbname | $HtmlTags tag=>'code' %].

+

Ask for or make a change in the user's privileges. User [% user | $HtmlTags tag=>'code' %] must have USAGE, INSERT, UPDATE, DELETE, DROP and CREATE privileges on database [% dbname | $HtmlTags tag=>'code' %].

Need help? For help with granting permissions, please search online for "[% dbms | $HtmlTags tag=>'code' %] manual grant permissions"

[% END %] @@ -64,7 +64,7 @@ [% END %] [% ELSE %] -
+
  • Check that your database is running.
  • Check your database settings in [% 'koha-conf.xml' | $HtmlTags Tag=>'code' %].
  • diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/routing-lists.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/routing-lists.tt index bc41221adf..efb0a1a117 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/routing-lists.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/routing-lists.tt @@ -37,7 +37,7 @@

    Subscription routing lists for [% INCLUDE 'patron-title.inc' %]

    -

    Search subscriptions:

    +

    Search subscriptions:

    [% IF ( routing ) %][% END %]
    diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemtypes.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemtypes.tt index e24cff8ff7..4cbcac58ec 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemtypes.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemtypes.tt @@ -78,7 +78,7 @@ [% PROCESS options_for_libraries libraries => Branches.all() %] - Select none to see all libraries +
    Select none to see all libraries
    -- 2.39.5