Bugzilla – Attachment 63547 Details for
Bug 18551
Hide with CSS dynamic elements in member search
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18551: followup - hide advanced filters in header, move hidding to css file
Bug-18551-followup---hide-advanced-filters-in-head.patch (text/plain), 3.40 KB, created by
Jonathan Druart
on 2017-05-18 19:51:23 UTC
(
hide
)
Description:
Bug 18551: followup - hide advanced filters in header, move hidding to css file
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2017-05-18 19:51:23 UTC
Size:
3.40 KB
patch
obsolete
>From d3e7e0c31b2333fdd741e46a9d07e3e83ef7679d Mon Sep 17 00:00:00 2001 >From: Josef Moravec <josef.moravec@gmail.com> >Date: Tue, 9 May 2017 13:33:52 +0000 >Subject: [PATCH] Bug 18551: followup - hide advanced filters in header, move > hidding to css file >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >Test plan: >The same as first patch, but also with advanced search form in header hidden >on page load - see comment 4 > >Issue with advanced search form is gone. >Signed-off-by: Marc Véron <veron@veron.ch> > >Signed-off-by: Philippe <philippe.audet-fortin@inlibro.com> > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > koha-tmpl/intranet-tmpl/prog/css/staff-global.css | 6 ++++++ > koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc | 9 ++++++--- > koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt | 4 ++-- > 3 files changed, 14 insertions(+), 5 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/css/staff-global.css b/koha-tmpl/intranet-tmpl/prog/css/staff-global.css >index fc5a854d9d..fb09d5131a 100644 >--- a/koha-tmpl/intranet-tmpl/prog/css/staff-global.css >+++ b/koha-tmpl/intranet-tmpl/prog/css/staff-global.css >@@ -3001,3 +3001,9 @@ fieldset.rows + fieldset.action { > .yui-u .rows li p label.widelabel { > width: auto; > } >+ >+#pat_member #patron_list_dialog, >+#pat_member #searchresults, >+#patron_search #filters { >+ display: none; >+} >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc >index 337f550590..ad82db303c 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc >@@ -162,9 +162,12 @@ $(document).ready(function() { > $('#filters').toggle(); > $('.filteraction').toggle(); > }); >- [% IF ( advsearch ) %]$("#filteraction_on").toggle(); >- [% ELSE %]$("#filters").toggle(); >- $("#filteraction_off").toggle();[% END %] >+ [% IF ( advsearch ) %] >+ $("#filteraction_on").toggle(); >+ $("#filters").show(); >+ [% ELSE %] >+ $("#filteraction_off").toggle(); >+ [% END %] > [% SET dateformat = Koha.Preference('dateformat') %] > $("#searchfieldstype").change(function() { > if ( $(this).val() == 'dateofbirth' ) { >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt >index 7c8c9602c9..f8f2471bd7 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt >@@ -328,7 +328,7 @@ function filterByFirstLetterSurname(letter) { > <div class="yui-b"> > <div class="yui-g"> > [% IF CAN_user_tools_manage_patron_lists %] >- <div id="patron_list_dialog" class="dialog alert" style="display:none"> >+ <div id="patron_list_dialog" class="dialog alert"> > Added <span class="patrons-length"></span> patrons to <a></a>. > </div> > [% END %] >@@ -355,7 +355,7 @@ function filterByFirstLetterSurname(letter) { > </div> > [% END %] > >- <div id="searchresults" style="display:none"> >+ <div id="searchresults"> > <div id="searchheader"> > <h3>Patrons found for: <span id="searchpattern">[% IF searchmember %] for '[% searchmember %]'[% END %]</span></h3> > </div> >-- >2.11.0
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 18551
:
63171
|
63287
|
63314
|
63315
|
63489
|
63490
|
63491
|
63492
|
63546
| 63547 |
65452