From eb0310cb77e9c0504e5702b7aeb785d654774b89 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Fri, 21 Oct 2022 15:14:56 +0100 Subject: [PATCH] Bug 31911: Improve rotating collections item management This patch renames 'Add/remove items from collection' to just 'Manage items' in the button in the rotating collections list table, the page heading and the breadcrumbs. We also move the heading below the toolbar to be consistent with elsewhere, remove a superflous second level heading and wrap the content table in a page-section too. --- .../prog/en/modules/rotating_collections/addItems.tt | 11 ++++------- .../rotating_collections/rotatingCollections.tt | 2 +- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/addItems.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/addItems.tt index 653077e9d1..7d44604d1f 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/addItems.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/addItems.tt @@ -28,7 +28,7 @@
  • - Add or remove items + Manage items
  • @@ -39,8 +39,6 @@
    -

    Add/remove items from collection

    - [% IF ( ! colId ) %]

    Invalid collection id

    @@ -48,7 +46,7 @@
    [% ELSE %] [% INCLUDE 'rotating-collections-toolbar.inc' %] -

    Collection [% colTitle | html %]

    +

    Manage items for [% colTitle | html %]

    [% IF ( previousActionAdd ) %] [% IF ( addSuccess ) %] @@ -115,10 +113,9 @@
    -
    -

    Items in [% colTitle | html %]

    +
    [% IF ( collectionItemsLoop ) %] -

    Total items: [% collectionItemsLoop.size | html%]

    +

    Total items: [% collectionItemsLoop.size | html%]

    diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/rotatingCollections.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/rotatingCollections.tt index 58d806318a..9bbf4d4a23 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/rotatingCollections.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/rotatingCollections.tt @@ -61,7 +61,7 @@ Actions
    Title