Bugzilla – Attachment 153888 Details for
Bug 31667
Merge 'tip' and 'hint' classes
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 31667: Merge 'tip' and 'hint' classes
Bug-31667-Merge-tip-and-hint-classes.patch (text/plain), 5.39 KB, created by
Owen Leonard
on 2023-07-25 15:51:09 UTC
(
hide
)
Description:
Bug 31667: Merge 'tip' and 'hint' classes
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2023-07-25 15:51:09 UTC
Size:
5.39 KB
patch
obsolete
>From 5ed2ab05373103434f5f68fc1f46d83350354d9c Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >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. >--- > koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss | 4 ---- > koha-tmpl/intranet-tmpl/prog/en/modules/installer/step2.tt | 4 ++-- > .../intranet-tmpl/prog/en/modules/members/routing-lists.tt | 2 +- > koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemtypes.tt | 2 +- > 4 files changed, 4 insertions(+), 8 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 abbc4a82b75..323f3513b30 100644 >--- a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss >+++ b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss >@@ -1177,10 +1177,6 @@ div { > display: none; > } > >-.tip { >- color: #808080; >-} >- > .single-line { > white-space: nowrap; > } >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 d9e528cb1c0..b5af87bf641 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 %] > </ul> > <p class="error">User [% user | $HtmlTags tag=>'code' %] doesn't have enough privilege on database [% dbname | $HtmlTags tag=>'code' %].</p> >- <p class="tip">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' %].</p> >+ <p class="hint">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' %].</p> > <p>Need help? For help with granting permissions, please search online for "[% dbms | $HtmlTags tag=>'code' %] manual grant permissions" > </p> > [% END %] >@@ -64,7 +64,7 @@ > [% END %] > [% ELSE %] > <div class="alert alert-warning" role="alert">[% error | html %] : [% message | html %]</div> >- <div class="tip"> >+ <div class="hint"> > <ul> > <li>Check that your database is running.</li> > <li>Check your database settings in [% 'koha-conf.xml' | $HtmlTags Tag=>'code' %].</li> >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 bc41221adf0..efb0a1a117c 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 @@ > > <h1>Subscription routing lists for [% INCLUDE 'patron-title.inc' %]</h1> > <!-- Search Bar --> >-<p class="tip">Search subscriptions:</p> >+<p class="hint">Search subscriptions:</p> > <form action="/cgi-bin/koha/serials/serials-search.pl" method="get">[% IF ( routing ) %]<input type="hidden" name="routing" value="[% routing | html %]" />[% END %]<input type="hidden" name="searched" value="1" /> <label for="ISSN_filter">ISSN:</label> <input type="text" size="10" maxlength="11" name="ISSN_filter" id="ISSN_filter" value="[% ISSN_filter | html %]" /> <label for="title_filter">Title:</label> <input type="text" size="20" maxlength="40" name="title_filter" id="title_filter" value="[% title_filter | html %]" /><input type="submit" class="btn btn-primary" value="Search" /> > </form> > <!-- Search Bar 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 e24cff8ff7e..4cbcac58ec3 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 @@ > <option value=""></option> > [% PROCESS options_for_libraries libraries => Branches.all() %] > </select> >- <span class="tip">Select none to see all libraries</span> >+ <div class="hint">Select none to see all libraries</div> > </li> > </ol> > </fieldset> >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 31667
:
153888
|
154233
|
154236
|
154261