Bugzilla – Attachment 63287 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.08 KB, created by
Josef Moravec
on 2017-05-09 13:28:54 UTC
(
hide
)
Description:
Bug 18551: followup - hide advanced filters in header, move hidding to css file
Filename:
MIME Type:
Creator:
Josef Moravec
Created:
2017-05-09 13:28:54 UTC
Size:
3.08 KB
patch
obsolete
>From bc589a5f1d2f8b2fa34624b4051bbd40d09498a9 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 > >Test plan: >The same as first patch, but also with advanced search form in header hidden >on page load - see comment 4 >--- > 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 175fce8..54fb940 100644 >--- a/koha-tmpl/intranet-tmpl/prog/css/staff-global.css >+++ b/koha-tmpl/intranet-tmpl/prog/css/staff-global.css >@@ -2995,3 +2995,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 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 724a007..0ac4ac2 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt >@@ -324,7 +324,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 %] >@@ -351,7 +351,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.1.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