Bug 41363: Don't hide patron category limitation warning behind icon
This patch takes the warning text hidden behind an icon and puts it into a "hint" <div> in order to make the information more accessible. To test, apply the patch and go to Administration -> Patron categories. - Edit a patron category to lmit it to a single library. - Switch to that library and locate a patron in that category. Copy the card number. - Switch to different library and search for the patron by card number. - Edit the patron. - Scroll down to the "Library management" section. Under the category dropdown you should see a "hint" style div with the library limitation warning. Sponsored-by: Athens County Public Libraries Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
af756eb19d
commit
096cc9088e
|
|
@ -959,8 +959,12 @@
|
|||
</optgroup>
|
||||
[% END %]
|
||||
</select>
|
||||
<span class="required">Required</span>
|
||||
[% IF limited_category %]
|
||||
<span title="The patron's current category ([% patron_category.description | html %]) is limited to other libraries"><i class="fa fa-exclamation-triangle" aria-hidden="true"></i></span>
|
||||
<div class="hint">
|
||||
<i class="fa fa-exclamation-triangle" aria-hidden="true"></i>
|
||||
The patron's current category ([% patron_category.description | html %]) is limited to other libraries
|
||||
</div>
|
||||
[% END %]
|
||||
</li>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue