From 2ff790a4135817f241c4a0a51629a021f97e89b5 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Mon, 6 Aug 2018 14:34:12 +0000 Subject: [PATCH] Bug 21163: Basket group detail page layout is broken This fixes a problem with layout of the page when viewing a closed basket group. Changed the grid options for basket information when a basket group is closed. To test, apply the patch and go to Acquisitions -> Vendor -> Basket groups. You should have multiple baskets and basket groups to test with. - Edit an open basket group. The layout should look correct, with basket group information in the form in the left column and ungrouped basket in the right column. Grouping and ungrouping baskets should work correctly. - View a closed basket group. The basket group information should display in a single column that spans the main part of the page. --- koha-tmpl/intranet-tmpl/prog/css/staff-global.css | 1 + koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basketgroup.tt | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/css/staff-global.css b/koha-tmpl/intranet-tmpl/prog/css/staff-global.css index d05c74b..ad9c505 100644 --- a/koha-tmpl/intranet-tmpl/prog/css/staff-global.css +++ b/koha-tmpl/intranet-tmpl/prog/css/staff-global.css @@ -606,6 +606,7 @@ fieldset.brief span.label { display : block; font-weight : bold; padding : .3em 0; + text-align: left; } fieldset.brief ol, fieldset.brief li { diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basketgroup.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basketgroup.tt index 5614d70..a1d6cc3 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basketgroup.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basketgroup.tt @@ -187,7 +187,11 @@ function submitForm(form) { [% END %] -
+ [% IF ( closedbg ) %] +
+ [% ELSE %] +
+ [% END %]
    -- 2.1.4