[Koha-bugs] [Bug 32507] New: Use template wrapper to build breadcrumb navigation

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Dec 20 17:19:43 CET 2022


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

            Bug ID: 32507
           Summary: Use template wrapper to build breadcrumb navigation
 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

In preparation for an upgrade to Bootstrap 5 I propose that we try to abstract
the way we build some components. This will help reduce the number of template
changes required during the update.

Using Template::Toolkit WRAPPER we can create the main structure for
breadcrumbs, currently:

    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
        <ol class="breadcrumb">
            ...
        </ol>
    </nav>

And also a structure for each navigation item:

    <li class="breadcrumb-item">
        ...
    </li>

This can be done gradually before the Bootstrap upgrade without causing any
disruption.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list