[Koha-bugs] [Bug 30489] New: Convert MARC and authority subfield edit tabs to Bootstrap
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Apr 7 16:20:59 CEST 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30489
Bug ID: 30489
Summary: Convert MARC and authority subfield edit tabs to
Bootstrap
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: ASSIGNED
Severity: enhancement
Priority: P5 - low
Component: Templates
Assignee: oleonard at myacpl.org
Reporter: oleonard at myacpl.org
QA Contact: testopia at bugs.koha-community.org
CC: testopia at bugs.koha-community.org
Blocks: 29226
Continuing the process of phasing out jQueryUI, this patch will replace
jQueryUI tabs in two places:
- admin/auth_subfields_structure.tt
- admin/marc_subfields_structure
The difficulty with the templates is that in many cases Koha wants to use "@"
as the tab text. jQueryUI didn't have any problem with this, but Bootstrap
doesn't like it.
One idea I had was to handle that specific case and create a variable
specifically for the tab's anchor text:
if( $row_data{tagsubfield} eq "@" ){
$row_data{subfieldanchor} = "AT";
} else {
$row_data{subfieldanchor} = $row_data{tagsubfield};
}
Seems unfortunate to have to check for that one case, so maybe someone else has
a better idea.
Referenced Bugs:
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29226
[Bug 29226] OMNIBUS: Replace the use of jQueryUI tabs
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list