From c0934f112a71d1ce4795b54cdfba32ac26b61c2d Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Fri, 14 Jul 2023 18:11:04 +0000 Subject: [PATCH] Bug 34196: Improve styling of sidebar form on funds admin page This patch makes a few markup changes to the sidebar filter form on the funds administration page in order to make it more usable and more consistent with other similar forms. The patch removes the link for expanding and collapsing the sidebar filter because it looked bad and was inconsistent with all similar forms. To test, apply the patch and go to Administration -> Funds. Confirm that the sidebar form looks correct. Compare to, for example, the sidebar form at Acquisitions -> Invoices. Signed-off-by: Katrin Fischer --- .../prog/en/modules/admin/aqbudgets.tt | 26 ++++++++----------- 1 file changed, 11 insertions(+), 15 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt index 23e84e043e..65385579b6 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt @@ -433,7 +433,6 @@ [% IF op == 'list' %]
- Filters

Fund filters

    @@ -444,15 +443,6 @@ [% PROCESS options_for_libraries libraries => Branches.all( selected => selected_branchcode, unfiltered => 1 ) %] -
  1. - - - [% IF ( show_mine ) %] - - [% ELSE %] - - [% END %] -
  2. [% IF periods %]
  3. @@ -469,8 +459,18 @@
  4. [% END %] -
+
  • + + [% IF ( show_mine ) %] + + [% ELSE %] + + [% END %] +
  • + +
    +
    @@ -717,10 +717,6 @@ oTable.fnAddFilters("filter", 750); [% END %] - $("#filterbutton").click(function() { - $("#fundfilters").slideToggle(0); - }); - $(".deletefund-disabled").tooltip().on("click", function(e){ e.preventDefault(); alert(_("This fund has sub funds. It cannot be deleted.")); -- 2.30.2