https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35844

Michał <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
                   |                            |om

--- Comment #1 from Michał <[email protected]> ---
It definitely looks like an omission after some CSS refactor. I'll add to it
that adding said class would also have to be added to the update scripts, to
fix this in all the existing installations!

Maybe replacing `<a href=` with `<a class="dropdown-item" href=`, but such
naive approach is certainly not ideal for obvious reasons.

If Koha has some Perl module for HTML parsing included, and if it's
non-destructive to the layout apart from changing the explicitly changed items,
then the best course of action would be to use that and then add/expand the
`class` attribute, in case someone's links already have `class`...

This definitely seems like pain. The former lazier solution in theory should
fix 99% of cases, while risking the remaining rounded-up 1% to be broken and
having to figure out things manually in worst case scenario. Might be
acceptable, since it's expected that various manual Koha HTML/JS/CSS
customizations might need adjustment after major upgrades. Also the fact that
there's that other bug that proposes moving away from using HTML at all, it
hardly justifies then spending a lot of time on some advanced HTML-parsing
migration script rather than dead simple one.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to