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: oleon...@myacpl.org
          Reporter: oleon...@myacpl.org
        QA Contact: testo...@bugs.koha-community.org
                CC: testo...@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.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
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