Bugzilla – Attachment 65452 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: [16.11.x] followup - hide advanced filters in header, move hidding to css file
Bug-18551-1611x-followup---hide-advanced-filters-i.patch (text/plain), 3.44 KB, created by
Fridolin Somers
on 2017-08-03 08:21:58 UTC
(
hide
)
Description:
Bug 18551: [16.11.x] followup - hide advanced filters in header, move hidding to css file
Filename:
MIME Type:
Creator:
Fridolin Somers
Created:
2017-08-03 08:21:58 UTC
Size:
3.44 KB
patch
obsolete
>From 0d9b3202bb9759dc26ecd0994259a0b6852e019b 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: [16.11.x] 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> > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > 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 900cf48..512ac4a 100644 >--- a/koha-tmpl/intranet-tmpl/prog/css/staff-global.css >+++ b/koha-tmpl/intranet-tmpl/prog/css/staff-global.css >@@ -2808,3 +2808,9 @@ div[class$="_table_controls"] { > #borrower_message { > margin-top: 10px; > } >+ >+#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 337f550..ad82db3 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 1d4acf8..694975d 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt >@@ -327,7 +327,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 %] >@@ -354,7 +354,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.7.4
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