[Koha-bugs] [Bug 33294] Use template wrapper for tabs: Checkout history

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Mar 27 13:46:03 CEST 2023


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

Paul Derscheid <paul.derscheid at lmscloud.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #148485|0                           |1
        is obsolete|                            |

--- Comment #2 from Paul Derscheid <paul.derscheid at lmscloud.de> ---
Created attachment 148754
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=148754&action=edit
Bug 33294: Use template wrapper for tabs: Checkout history

This patch updates the checkout history template so that it uses the new
WRAPPER directive to build tabbed navigation.

In order to make the template logic a little easier to parse I moved the
table of checkouts into its own BLOCK to be used when on-site checkouts
are enabled or disabled.

To test, apply the patch and locate a patron who has a checkout history.

- If you have on-site checkouts enabled you will see three tabs: All,
  Checkouts, and On-site checkouts.
- Each tab should work correctly: The checkouts tab showing only regular
  checkouts, the on-site checkouts tab showing only on-site checkouts.
- If you have on-site checkouts disabled there should be no tabs, the
  table of checkouts should be displayed inside a "page-section" div
  instead.

Works as advertised.

Signed-off-by: Paul Derscheid <paul.derscheid at lmscloud.de>

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


More information about the Koha-bugs mailing list