Bugzilla – Attachment 2139 Details for
Bug 4523
aqbudgets.pl - possibility to show / hide the filters menu
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
possibility to show / hide the filters menu
0001-bug-4523-possibility-to-show-hide-the-filters-menu.patch (text/plain), 2.27 KB, created by
Chris Cormack
on 2010-05-18 11:54:00 UTC
(
hide
)
Description:
possibility to show / hide the filters menu
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2010-05-18 11:54:00 UTC
Size:
2.27 KB
patch
obsolete
>From 181d464adfa3aacf32c0422f736aad9c5d863067 Mon Sep 17 00:00:00 2001 >From: Alex Arnaud <alex.arnaud@biblibre.com> >Date: Tue, 18 May 2010 13:52:23 +0200 >Subject: [PATCH] (bug #4523) possibility to show / hide the filters menu > >--- > .../prog/en/modules/admin/aqbudgets.tmpl | 24 +++++++++++++++---- > 1 files changed, 19 insertions(+), 5 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tmpl >index fdb7410..0017e5e 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tmpl >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tmpl >@@ -130,6 +130,17 @@ > $("#budgeth").treeTable(); > <!-- /TMPL_IF --> > }); >+ function showHideFilters() { >+ var menuFilters = document.getElementById("fundfilters"); >+ var content = document.getElementById("content"); >+ if (menuFilters.style.display == "none") { >+ menuFilters.style.display = "block"; >+ content.style.marginLeft = "15em"; >+ } else { >+ menuFilters.style.display = "none"; >+ content.style.marginLeft = "4em"; >+ } >+ } > //]]> > </script> > <!-- /TMPL_IF --> >@@ -147,7 +158,7 @@ > <div id="doc3" class="yui-t2"> > <div id="bd"> > <div id="yui-main"> >-<div class="yui-b"> >+<div class="yui-b" id="content"> > > <!-- TMPL_UNLESS name="delete_confirm" --><!-- TMPL_INCLUDE NAME="budgets-admin-toolbar.inc" --><!-- /TMPL_UNLESS --> > <!-- TMPL_IF name="else" --> >@@ -385,8 +396,12 @@ > </div> > </div> > <div class="yui-b"> >-<!-- TMPL_IF NAME="else" --><form action="/cgi-bin/koha/admin/aqbudgets.pl" method="get"> >- <fieldset class="brief"> >+<!-- TMPL_IF NAME="else" --> >+ >+ >+ <form action="/cgi-bin/koha/admin/aqbudgets.pl" method="get" > >+ <a href="#" onclick="showHideFilters()">Filters</a> >+ <fieldset class="brief" id="fundfilters"> > <h4>Fund filters</h4> > <ol> > <li> >@@ -413,8 +428,7 @@ > <input type="hidden" name="budget_period_id" value="<!-- TMPL_VAR NAME="budget_period_id" -->" /> > <input type="submit" class="submit" name="filter" value="Go" /> > </fieldset> >-</form><!-- /TMPL_IF --> >- >+ </form><!-- /TMPL_IF --> > </div> > </div> > <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" --> >-- >1.6.3.3 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 4523
:
2139
|
2140