Koha-clms/koha-tmpl/intranet-tmpl/lib
Owen Leonard 8ffe7d9edb
Bug 42564: Upgrade Font Awesome in the staff interface to 7.2
We are using Font Awesome 6.3 in the staff interface. The current
version is 7.2. Upgrading will eliminate the repeated warnings in the
browser console about "Glyph bbox was incorrect."

The patch updates the staff interface CSS so that it pulls Font
Awesome CSS from node_modules. Font assets have been updated in
lib/fontawesome.

The many changed .inc and .tt files are a result of a missed aspect of
our upgrade to Bootstrap 5. The "sr-only" class was removed in BS5 but
the Font Awesome CSS included its own "sr-only" class. This made up for
the fact that we missed the required upgrade to BS5's "visually-hidden."
As soon as Font Awesome's "sr-only" was gone all these mistakes were
made visible.

To test, apply the patch and run 'yarn install.'
- Rebuild the staff interface SCSS.
- Clear your browser cache.
- Test many pages in the staff interface to confirm that no icons are
  missing.
- Check changes to the templates to confirm that "sr-only" has been
  replaced with "visually-hidden."
  - Places where a broken "sr-only" class would be obvious: The h1
    heading "Koha home" on the staff interface main page, the <legend>
    tag on the new currency form in Administration -> Currencies and
    exchange rates.

Sponsored-by: Athens County Public Libraries
Signed-off-by: Laura_Escamilla <laura.escamilla@bywatersolutions.com>
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Pedro Amorim <pedro.amorim@openfifth.co.uk>
2026-06-19 12:00:10 +00:00
..
Chocolat Bug 35633: (follow-up) Custom style updates 2024-03-22 10:35:26 +01:00
bootstrap Bug 35402: Update the OPAC and staff interface to Bootstrap 5 2024-08-23 15:58:41 +02:00
codemirror Bug 32613: Add database tables to autocomplete 2023-03-06 14:45:29 -03:00
d3c3
…
datatables Bug 42003: Remove !important from css files 2026-04-23 09:24:55 -06:00
dayjs Bug 34440: Add isSameOrBefore dayjs plugin 2024-08-30 16:41:28 +02:00
filesaver Bug 35640: Upgrade FileSaver JS library to v2.0.4 2024-03-22 10:35:27 +01:00
flatpickr Bug 30523: Quiet console warning about missing shortcut-buttons map file 2022-06-02 09:51:09 -03:00
fontawesome Bug 42564: Upgrade Font Awesome in the staff interface to 7.2 2026-06-19 12:00:10 +00:00
jquery Bug 41964: Upgrade the Multiple Select plugin in the staff interface to 2.3.1 2026-04-23 09:25:00 -06:00
js-cookie
…
jsdiff Bug 40030: Escape values when displaying action logs comparison 2025-06-30 08:30:52 -06:00
keyboard
…
koha/cateditor Bug 40633: Open fixed-length field helpers from the advanced editor 2026-04-23 16:04:00 -06:00
leaflet Bug 36151: Update leaflet.js 2024-05-07 15:53:50 +02:00
linters
…
maskito Bug 33703: Add Masikto core/kit for date masking 2024-04-26 17:06:08 +02:00
select2
…
shortcut
…
sortable Bug 34114: Replace the use of jQueryUI sortable 2023-09-22 13:00:00 -03:00
tiny_mce Bug 26949: Upgrade TinyMCE in the staff interface from 5.0.16 to 5.9.2 2021-10-05 10:58:13 +02:00
vis-timeline Bug 35584: Add missing licenses to about page 2024-01-11 12:10:41 +01:00
require.js
…