[Bug 5697] Automatic linking in guided reports
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5697 --- Comment #21 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 117988 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=117988&action=edit Bug 5697: Consolidate nodes construction and fix translation issue The way the buttons were created was not nice as it was a full HTML node built with a JS string, on a single line. I first tried to split the line and then realized but could put in a function and reuse. Then noticed that the button's text was not translatable. I ended up with this patch. I don't know if it's more readable, but at least it seems a bit more robust and maintainable in the long term. -- You are receiving this mail because: You are watching all bug changes. You are the QA Contact for the bug.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org