From 183896df7eaa991c547a2c4563a2adfe7f883e54 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Fri, 13 Jan 2023 15:34:42 +0000 Subject: [PATCH] Bug 32632: Add 'page-section' to some tools pages This patch adds a "page-section" container div around the main section of some tools pages which lack it. This patch contains indentation changes, so please ignore whitespace when looking at the diff. Apply the patch and view the following pages to confirm that the main content is contained in a white box: - From the cataloging home page: Item modifications by age. If necessary, add at least one rule to see the table listing all rules. - Go to Tools -> Batch extend due dates, and submit values which will return one or more results, keeping the "Preview results" checkbox checked. Confirm that the page previewing the results looks correct. - Go to Tools -> Quote editor. If necessary, add at least one quote in order to see the table of quotes. --- .../automatic_item_modification_by_age.tt | 3 ++ .../modules/tools/batch_extend_due_dates.tt | 46 ++++++++++--------- .../prog/en/modules/tools/quotes.tt | 24 +++++----- 3 files changed, 40 insertions(+), 33 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/automatic_item_modification_by_age.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/automatic_item_modification_by_age.tt index 0a5cc46d36..fd48c89394 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/automatic_item_modification_by_age.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/automatic_item_modification_by_age.tt @@ -216,6 +216,8 @@ [% ELSIF rules %]

List of rules

+ +
@@ -265,6 +267,7 @@ [% END %]
+
[% ELSE %]
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_extend_due_dates.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_extend_due_dates.tt index 7ac9809307..e46fbd88c0 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_extend_due_dates.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_extend_due_dates.tt @@ -182,30 +182,32 @@ Due dates have been modified!
- - - - - - - - - - - - - [% FOR checkout IN checkouts %] +
+
Due dateTitleItem typeHome libraryChecked out onChecked out from
+ - - - - - - + + + + + + - [% END %] - -
[% checkout.date_due | $KohaDates as_due_date => 1 %][% checkout.item.biblio.title | html %][% ItemTypes.GetDescription( checkout.item.effective_itemtype ) | html %][% checkout.item.home_branch.branchname | html %][% checkout.issuedate | $KohaDates %][% Branches.GetName( checkout.branchcode ) | html %]Due dateTitleItem typeHome libraryChecked out onChecked out from
+ + + [% FOR checkout IN checkouts %] + + [% checkout.date_due | $KohaDates as_due_date => 1 %] + [% checkout.item.biblio.title | html %] + [% ItemTypes.GetDescription( checkout.item.effective_itemtype ) | html %] + [% checkout.item.home_branch.branchname | html %] + [% checkout.issuedate | $KohaDates %] + [% Branches.GetName( checkout.branchcode ) | html %] + + [% END %] + + + [% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/quotes.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/quotes.tt index e88d6978e0..d0d9783ab2 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/quotes.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/quotes.tt @@ -106,17 +106,19 @@ [% IF op == 'list' %]

Quotes

[% IF quotes_count > 0 %] - - - - - - - - - - -
IDSourceTextLast displayActions
+
+ + + + + + + + + + +
IDSourceTextLast displayActions
+
[% ELSE %]
There are no quotes defined. Start defining quotes.
[% END %] -- 2.20.1