Bugzilla – Attachment 66592 Details for
Bug 3137
Allow to collapse areas of the patron add form by default
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Bug 3137: [FOLLOW-UP] Remove checkboxes, add collapsing sections
SIGNED-OFF-Bug-3137-FOLLOW-UP-Remove-checkboxes-ad.patch (text/plain), 22.25 KB, created by
Owen Leonard
on 2017-08-29 16:15:54 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 3137: [FOLLOW-UP] Remove checkboxes, add collapsing sections
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2017-08-29 16:15:54 UTC
Size:
22.25 KB
patch
obsolete
>From 22fcbec4931a5a6d71cbd25937002b0786e91afc Mon Sep 17 00:00:00 2001 >From: Aleisha Amohia <aleishaamohia@hotmail.com> >Date: Wed, 7 Jun 2017 23:47:47 +0000 >Subject: [PATCH] [SIGNED-OFF] Bug 3137: [FOLLOW-UP] Remove checkboxes, add > collapsing sections > >This patch removes the checkboxes from my previous patch and adds >collapsing/uncollapsing sections. > >Follow the above test plan until step 6. The fields selected in >HideFieldsAddPatronForm will still be hidden, but can now be shown and >collapsed again (as well as all other sections) much more easily and >without scrolling. > >Sponsored-by: Catalyst IT > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >--- > .../prog/en/includes/.members-menu.inc.swp | Bin 0 -> 12288 bytes > .../en/includes/member-alt-address-style-us.inc | 9 +- > .../en/includes/member-alt-contact-style-us.inc | 9 +- > .../en/includes/member-main-address-style-us.inc | 9 +- > .../prog/en/modules/members/memberentrygen.tt | 218 ++++++++++----------- > 5 files changed, 127 insertions(+), 118 deletions(-) > create mode 100644 koha-tmpl/intranet-tmpl/prog/en/includes/.members-menu.inc.swp > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/.members-menu.inc.swp b/koha-tmpl/intranet-tmpl/prog/en/includes/.members-menu.inc.swp >new file mode 100644 >index 0000000000000000000000000000000000000000..1c8e6212696306510bf60500b9bb7289f664faff >GIT binary patch >literal 12288 >zcmeI2zi$&U6vthJfC8lm7LXWBs<vThu7yerBtf)EL<I?mieIWw<lH%l>E#^xd}&$e >zQkam~7#I-DAei|R7})p|_y-tS5YKm)q@`)OAq>E?^m?(+_x!$}XZsS>wb?sMWqL6) >zPoNwpWa8WWy-(x&$>~#sbXY?%Pn$b?mQ~qg4)4_D`kvj$<Jh5P9<W{M@$l1(Zna%Y >zcp3)dI;ypmY*^fbR@)66?prP1s&VDdw73^!pmpz&@GcTS0y_zekqhVNW=;D<>MT8Z >z;`Yui*n$L*01`j~NB{{S0VIF~kib7nK(|N82B_N?D?AflM}E1+RlFbpB!C2v01`j~ >zNB{{S0VIF~kN^@u0)HU^<`DAz03lBfLh$ha|L*Vquj7P#0s9O#4YqNNkh@^-#|U{1 >zwhs33C?Rjbo`QWiLdYAiABPF4fX#qyj=~uNuoBqILxem7TLF6qW4!`<0rnisjJ*kl >z1qmPlB!C2vz<)(xWs(*v1v>eFWGzQ@@`Tc?6}aX~Y5%6FnF1|KCEApM&ucR9oQ~jY >z@Nm`@)OMNg=TgkpqQg^p^X&EIVstaCg~MbSZ7N>Rr7XK4W@^F<&*62?*jatgnYMem >zCY6$FTzP>xftLf9+greSDu1;XOx9xgtmTSc@DS=XIPaIa2_tgFJ)5Ve``ydZ30yvX >z&WMk-#VAb8lt`^3e7nh1gAZG5&v9a{g>EQ=q%K~mR3R^_+J)rPsVNFAy{CSsG~MG{ >ztqYg?)UX*^ZbO%erIt(pgJc#xR&)76JT<~@TXaFn)0Fy}Y2j;O`(e(8Dx>c^v6kgt >zIDJ8*(d0@~pL^Pq5bLmc$4(PRS&4$^hZrw`fr}zdUD+5OTrH*RTgD%_H4!_qDs*mc >zinZF8TH!+VbLC=rp?GUKY%|-8^m64Jg{9K{utnA$a$E1RNx)hcbz#G-ke-Qrhsbc= >z^j1)tDc0f|PW^^Ufb2~|apnlGp|~wov?C66!u8!JPUWIdcHl;8o3Ie1dNf#Z_vmvx >zM%*`v=(_OuA6Q+mcQM<BSBp+8wqzn1EU%Z)pzSctqiuY9PQ%1ITr=SgZ#u_E#;ulA >zJo=niO(6_r7d<xQb$C%4Z<hHJPnE<mE;hNnN@bw8QqP)i4O#dOL4}h`nZxp_Jn3$7 >M-B(idCXeRVPqek}lmGw# > >literal 0 >HcmV?d00001 > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/member-alt-address-style-us.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/member-alt-address-style-us.inc >index 9ae71c1..78cc37f 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/member-alt-address-style-us.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/member-alt-address-style-us.inc >@@ -1,5 +1,12 @@ > <fieldset class="rows" id="memberentry_address"> >- <legend id="alt_address_lgd">Alternate address</legend><ol> >+ <legend id="alt_address_lgd">Alternate address</legend> >+ [% IF fields_to_hide.search('alt_address') %] >+ <ol><li><a class="clicktoshow">Click to show</a><a class="clicktohide" style="display:none;">Click to collapse</a></li></ol> >+ <ol class="hidefield"> >+ [% ELSE %] >+ <ol><li><a class="clicktoshow" style="display:none;">Click to show</a><a class="clicktohide">Click to collapse</a></li></ol> >+ <ol> >+ [% END %] > [% UNLESS noB_streetnumber %] > <li> > [% IF ( mandatoryB_streetnumber ) %] >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/member-alt-contact-style-us.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/member-alt-contact-style-us.inc >index 25fd731..e9e8d60 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/member-alt-contact-style-us.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/member-alt-contact-style-us.inc >@@ -1,5 +1,12 @@ > <fieldset class="rows" id="memberentry_altaddress"> >- <legend id="alt_contact_lgd">Alternate contact</legend><ol> >+ <legend id="alt_contact_lgd">Alternate contact</legend> >+ [% IF fields_to_hide.search('alt_contact') %] >+ <ol><li><a class="clicktoshow">Click to show</a><a class="clicktohide" style="display:none;">Click to collapse</a></li></ol> >+ <ol class="hidefield"> >+ [% ELSE %] >+ <ol><li><a class="clicktoshow" style="display:none;">Click to show</a><a class="clicktohide">Click to collapse</a></li></ol> >+ <ol> >+ [% END %] > [% UNLESS noaltcontactsurname %] > <li> > [% IF ( mandatoryaltcontactsurname ) %] >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/member-main-address-style-us.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/member-main-address-style-us.inc >index b7115c6..78d7a08 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/member-main-address-style-us.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/member-main-address-style-us.inc >@@ -1,5 +1,12 @@ > <fieldset class="rows" id="memberentry_mainaddress"> >- <legend id="main_address_lgd">Main address</legend><ol> >+ <legend id="main_address_lgd">Main address</legend> >+ [% IF fields_to_hide.search('primary_address') %] >+ <ol><li><a class="clicktoshow">Click to show</a><a class="clicktohide" style="display:none;">Click to collapse</a></li></ol> >+ <ol class="hidefield"> >+ [% ELSE %] >+ <ol><li><a class="clicktoshow" style="display:none;">Click to show</a><a class="clicktohide">Click to collapse</a></li></ol> >+ <ol> >+ [% END %] > [% UNLESS nostreetnumber %] > <li> > [% IF ( mandatorystreetnumber ) %] >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >index be84dc4..3186bd0 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >@@ -9,16 +9,17 @@ > <script type="text/javascript"> > //<![CDATA[ > $(document).ready(function() { >- > $(".hidefield").hide(); >- $("#toggle_hidden_fields").prop("checked", false); >+ $("#menu").show(); > >- $("#toggle_hidden_fields").on("change",function(e){ >- if ($("#toggle_hidden_fields").prop("checked") == true){ >- $(".hidefield").show(); >- } else { >- $(".hidefield").hide(); >- } >+ $(".clicktoshow").on("click", function(){ >+ $(this).hide().parents().parents().nextUntil("fieldset").show( 'slow' ); >+ $(this).siblings(".clicktohide").show(); >+ }); >+ >+ $(".clicktohide").on("click", function(){ >+ $(this).hide().parents().parents().nextUntil("fieldset").hide( 'slow' ); >+ $(this).siblings(".clicktoshow").show(); > }); > > $("#saverecord").css({ 'margin-left': 0 }); >@@ -36,17 +37,14 @@ $(document).ready(function() { > $('#toolbar').fixFloat({ 'originalOffset': original_offset }); > }) > >- [% IF categorycode %] >- update_category_code( "[% categorycode %]" ); >- [% ELSE %] >- if ( $("#categorycode_entry").length > 0 ){ >- var category_code = $("#categorycode_entry").find("option:selected").val(); >- update_category_code( category_code ); >- } >- [% END %] >-}); >- >-$(document).ready(function() { >+ [% IF categorycode %] >+ update_category_code( "[% categorycode %]" ); >+ [% ELSE %] >+ if ( $("#categorycode_entry").length > 0 ){ >+ var category_code = $("#categorycode_entry").find("option:selected").val(); >+ update_category_code( category_code ); >+ } >+ [% END %] > > var toggle_quick_add = $(".toggle_quick_add"); > $(toggle_quick_add).click(function(e){ >@@ -218,30 +216,6 @@ $(document).ready(function() { > > [% SET fields_to_hide = Koha.Preference('HideFieldsAddPatronForm') %] > >-[% IF Koha.Preference('HideFieldsAddPatronForm') %] >-<p id="selections"> >- <input type="checkbox" id="toggle_hidden_fields" checked="checked" title="These fields are hidden by default by the HideFieldsAddPatronForm system preference"><strong>Show hidden fields:</strong> >- [% FOREACH field IN fields_to_hide.split(',') %] >- [% SWITCH field %] >- [% CASE 'identity' %] Organization/Patron identity | >- [% CASE 'guarantor' %] Guarantor information | >- [% CASE 'primary_address' %] Main address | >- [% CASE 'primary_contact' %] Contact | >- [% CASE 'alt_address' %] Alternate address | >- [% CASE 'alt_contact' %] Alternate contact | >- [% CASE 'lib_mgmt' %] Library management | >- [% CASE 'lib_setup' %] Library set-up | >- [% CASE 'login' %] OPAC/Staff login | >- [% CASE 'flags' %] Patron account flags | >- [% CASE 'debarments' %] Patron restrictions | >- [% CASE 'housebound' %] Housebound roles | >- [% CASE 'additional' %] Additional attributes and identifiers | >- [% CASE 'messaging' %] Patron messaging preferences | >- [% END %] >- [% END %] >-</p> >-[% END %] >- > <div id="toolbar" class="btn-toolbar"> > [% UNLESS ( check_member ) %] > [% IF quickadd && opadd %] >@@ -285,14 +259,16 @@ $(document).ready(function() { > > [% IF ( step_1 ) %] > [%UNLESS notitle && nosurname && nofirstname && nodateofbirth && noinitials && noothernames &&nosex %] >-[% IF fields_to_hide.search('identity') %] >- <fieldset class="rows hidefield" id="memberentry_identity"> >-[% ELSE %] > <fieldset class="rows" id="memberentry_identity"> >-[% END %] >- <legend id="identity_lgd">[% IF ( I ) %]Organization [% ELSE %]Patron [% END %]identity</legend> >- <ol> >- [% UNLESS ( I ) %] >+ <legend id="identity_lgd">[% IF ( I ) %]Organization [% ELSE %]Patron [% END %]identity</legend> >+ [% IF fields_to_hide.search('identity') %] >+ <ol><li><a class="clicktoshow">Click to show</a><a class="clicktohide" style="display:none;">Click to collapse</a></li></ol> >+ <ol class="hidefield"> >+ [% ELSE %] >+ <ol><li><a class="clicktoshow" style="display:none;">Click to show</a><a class="clicktohide">Click to collapse</a></li></ol> >+ <ol> >+ [% END %] >+ [% UNLESS ( I ) %] > [% UNLESS notitle %] > [% IF Koha.Preference('BorrowersTitles') %] > <li> >@@ -314,11 +290,11 @@ $(document).ready(function() { > </select> > [% IF ( mandatorytitle ) %]<span class="required">Required</span>[% END %] > </li> >- [% END %] > [% END %] >- [% END %] >- [% UNLESS nosurname %] >- <li> >+ [% END %] >+ [% END %] >+ [% UNLESS nosurname %] >+ <li> > [% IF ( mandatorysurname ) %] > <label for="surname" class="required"> > [% ELSE %] >@@ -417,8 +393,8 @@ $(document).ready(function() { > </li> > [% END %] > [% END %] >- </ol> >- </fieldset> >+ </ol> >+</fieldset> > [% END # hide fieldset %] > > [% IF ( showguarantor ) %] >@@ -526,25 +502,23 @@ $(document).ready(function() { > > [% END %] > [% UNLESS noaddress && noaddress2 && nocity && nostate && nozipcode && nocountry %] >-[% IF fields_to_hide.search('primary_address') %] >- <fieldset class="hidefield"> >-[% ELSE %] > [% IF Koha.Preference( 'AddressFormat' ) %] > [% INCLUDE "member-main-address-style-${ Koha.Preference( 'AddressFormat' ) }.inc" %] > [% ELSE %] > [% INCLUDE 'member-main-address-style-us.inc' %] > [% END %] >-[% END %] >-[% IF fields_to_hide.search('primary_address') %]</fieldset>[% END %] > [% END # nostreet && nocity etc group%] > > [% UNLESS nophone && nophonepro && nomobile && noemail && noemailpro && nofax %] >-[% IF fields_to_hide.search('primary_contact') %] >- <fieldset class="rows hidefield" id="memberentry_contact"> >-[% ELSE %] > <fieldset class="rows" id="memberentry_contact"> >-[% END %] >- <legend id="contact_lgd">Contact</legend><ol> >+ <legend id="contact_lgd">Contact</legend> >+ [% IF fields_to_hide.search('primary_contact') %] >+ <ol><li><a class="clicktoshow">Click to show</a><a class="clicktohide" style="display:none;">Click to collapse</a></li></ol> >+ <ol class="hidefield"> >+ [% ELSE %] >+ <ol><li><a class="clicktoshow" style="display:none;">Click to show</a><a class="clicktohide">Click to collapse</a></li></ol> >+ <ol> >+ [% END %] > [% UNLESS nophone %] > <li> > [% IF ( mandatoryphone ) %] >@@ -628,42 +602,35 @@ $(document).ready(function() { > [% IF ( step_6 ) %] > > [% UNLESS noB_address && noB_address2 && noB_city && noB_zipcode && noB_state && noB_country &&nocontactnote && noB_phone && noB_email %] >- [% IF fields_to_hide.search('alt_address') %] >- <fieldset class="hidefield"> >- [% ELSE %] > [% IF Koha.Preference( 'AddressFormat' ) %] > [% INCLUDE "member-alt-address-style-${ Koha.Preference( 'AddressFormat' ) }.inc" %] > [% ELSE %] > [% INCLUDE 'member-alt-address-style-us.inc' %] > [% END %] >- [% END %] >- [% IF fields_to_hide.search('alt_address') %]</fieldset>[% END %] > [% END # UNLESS noB_address && noB_city && noB_state && noB_phone && noB_email %] > [% END %] > [% IF ( step_2 ) %] > [% UNLESS noaltcontactsurname && noaltcontactfirstname && noaltcontactaddress1 && noaltcontactaddress2 && noaltcontactaddress3 && noaltcontactstate && noaltcontactzipcode && noaltcontactcountry && noaltcontactphone %] >- [% IF fields_to_hide.search('alt_contact') %] >- <fieldset class="hidefield"> >- [% ELSE %] > [% IF Koha.Preference( 'AddressFormat' ) %] > [% INCLUDE "member-alt-contact-style-${ Koha.Preference( 'AddressFormat' ) }.inc" %] > [% ELSE %] > [% INCLUDE 'member-alt-contact-style-us.inc' %] > [% END %] >- [% END %] >- [% IF fields_to_hide.search('alt_contact') %]</fieldset>[% END %] > [% END # UNLESS noaltcontactsurname && noaltcontactfirstname etc %] > > [% END %] > [% IF ( step_3 ) %] > > [% SET autoMemberNum = Koha.Preference('autoMemberNum') %] >- [% IF fields_to_hide.search('lib_mgmt') %] >- <fieldset class="rows hidefield" id="memberentry_library_management"> >- [% ELSE %] > <fieldset class="rows" id="memberentry_library_management"> >- [% END %] >- <legend id="library_management_lgd">Library management</legend><ol> >+ <legend id="library_management_lgd">Library management</legend> >+ [% IF fields_to_hide.search('lib_mgmt') %] >+ <ol><li><a class="clicktoshow">Click to show</a><a class="clicktohide" style="display:none;">Click to collapse</a></li></ol> >+ <ol class="hidefield"> >+ [% ELSE %] >+ <ol><li><a class="clicktoshow" style="display:none;">Click to show</a><a class="clicktohide">Click to collapse</a></li></ol> >+ <ol> >+ [% END %] > [% UNLESS nocardnumber %] > <li> > [% IF mandatorycardnumber and not autoMemberNum %] >@@ -813,12 +780,15 @@ $(document).ready(function() { > </ol> > </fieldset> > [% UNLESS nodateenrolled && noopacnote && noborrowernotes %] >- [% IF fields_to_hide.search('lib_setup') %] >- <fieldset class="rows hidefield" id="memberentry_subscription"> >- [% ELSE %] > <fieldset class="rows" id="memberentry_subscription"> >- [% END %] >- <legend id="library_setup_lgd">Library set-up</legend><ol> >+ <legend id="library_setup_lgd">Library set-up</legend> >+ [% IF fields_to_hide.search('lib_setup') %] >+ <ol><li><a class="clicktoshow">Click to show</a><a class="clicktohide" style="display:none;">Click to collapse</a></li></ol> >+ <ol class="hidefield"> >+ [% ELSE %] >+ <ol><li><a class="clicktoshow" style="display:none;">Click to show</a><a class="clicktohide">Click to collapse</a></li></ol> >+ <ol> >+ [% END %] > [% UNLESS nodateenrolled %] > <li> > [% IF ( mandatorydateenrolled ) %] >@@ -896,12 +866,15 @@ $(document).ready(function() { > [% END # hide fieldset %] > > [% UNLESS nouserid && nopassword %] >- [% IF fields_to_hide.search('login') %] >- <fieldset class="rows hidefield" id="memberentry_userid"> >- [% ELSE %] >- <fieldset class="rows" id="memberentry_userid"> >- [% END %] >- <legend id="opac_staff_login_lgd">OPAC/Staff login</legend><ol> >+ <fieldset class="rows" id="memberentry_userid"> >+ <legend id="opac_staff_login_lgd">OPAC/Staff login</legend> >+ [% IF fields_to_hide.search('login') %] >+ <ol><li><a class="clicktoshow">Click to show</a><a class="clicktohide" style="display:none;">Click to collapse</a></li></ol> >+ <ol class="hidefield"> >+ [% ELSE %] >+ <ol><li><a class="clicktoshow" style="display:none;">Click to show</a><a class="clicktohide">Click to collapse</a></li></ol> >+ <ol> >+ [% END %] > [% UNLESS nouserid %] > <li> > [% IF ( mandatoryuserid ) %] >@@ -1022,13 +995,15 @@ $(document).ready(function() { > [% END # hide fieldset %][% END %] > <!--this zones are not necessary in modif mode --> > [% UNLESS ( opadd || opduplicate ) %] >- [% IF fields_to_hide.search('flags') %] >- <fieldset class="rows hidefield" id="memberentry_account_flags"> >- [% ELSE %] > <fieldset class="rows" id="memberentry_account_flags"> >- [% END %] > <legend id="account_flags_lgd">Patron account flags</legend> >- <ol class="radio"> >+ [% IF fields_to_hide.search('flags') %] >+ <ol><li><a class="clicktoshow">Click to show</a><a class="clicktohide" style="display:none;">Click to collapse</a></li></ol> >+ <ol class="hidefield radio"> >+ [% ELSE %] >+ <ol><li><a class="clicktoshow" style="display:none;">Click to show</a><a class="clicktohide">Click to collapse</a></li></ol> >+ <ol class="radio"> >+ [% END %] > [% FOREACH flagloo IN flagloop %] > <li><label class="radio" for="yes[% flagloo.name %]"> > [% IF ( flagloo.key == 'gonenoaddress' ) %]Gone no address:[% END %] >@@ -1059,12 +1034,15 @@ $(document).ready(function() { > </ol> > </fieldset> > >- [% IF fields_to_hide.search('restrictions') %] >- <fieldset class="rows hidefield" id="memberentry_restrictions"> >- [% ELSE %] > <fieldset class="rows" id="memberentry_restrictions"> >- [% END %] > <legend id="restrictions_lgd">Patron restrictions</legend> >+ [% IF fields_to_hide.search('restrictions') %] >+ <ol><li><a class="clicktoshow">Click to show</a><a class="clicktohide" style="display:none;">Click to collapse</a></li></ol> >+ <div class="hidefield"> >+ [% ELSE %] >+ <ol><li><a class="clicktoshow" style="display:none;">Click to show</a><a class="clicktohide">Click to collapse</a></li></ol> >+ <div> >+ [% END %] > > [% IF ( debarments ) %] > <table> >@@ -1120,6 +1098,7 @@ $(document).ready(function() { > </p> > </fieldset> > [% END %] >+ </div> > </fieldset> > [% END %] > >@@ -1127,13 +1106,15 @@ $(document).ready(function() { > > [% IF ( step_4 ) %] > [% IF Koha.Preference('HouseboundModule') %] >-[% IF fields_to_hide.search('housebound') %] >- <fieldset class="rows hidefield" id="memberentry_housebound_roles"> >-[% ELSE %] > <fieldset class="rows" id="memberentry_housebound_roles"> >-[% END %] > <legend id="housebound_roles">Housebound roles</legend> >- <ol class="radio"> >+ [% IF fields_to_hide.search('housebound') %] >+ <ol><li><a class="clicktoshow">Click to show</a><a class="clicktohide" style="display:none;">Click to collapse</a></li></ol> >+ <ol class="hidefield radio"> >+ [% ELSE %] >+ <ol><li><a class="clicktoshow" style="display:none;">Click to show</a><a class="clicktohide">Click to collapse</a></li></ol> >+ <ol class="radio"> >+ [% END %] > <li> > <label class="radio" for="housebound_chooser"> > Chooser: >@@ -1180,12 +1161,15 @@ $(document).ready(function() { > </fieldset> > [% END # hide fieldset %] > [% IF ( ExtendedPatronAttributes ) %][% UNLESS ( no_patron_attribute_types ) %] >-[% IF fields_to_hide.search('additional') %] >- <fieldset class="rows hidefield" id="memberentry_patron_attributes"> >-[% ELSE %] > <fieldset class="rows" id="memberentry_patron_attributes"> >-[% END %] > <legend id="patron_attributes_lgd">Additional attributes and identifiers</legend> >+ [% IF fields_to_hide.search('additional') %] >+ <ol><li><a class="clicktoshow">Click to show</a><a class="clicktohide" style="display:none;">Click to collapse</a></li></ol> >+ <div class="hidefield"> >+ [% ELSE %] >+ <ol><li><a class="clicktoshow" style="display:none;">Click to show</a><a class="clicktohide">Click to collapse</a></li></ol> >+ <div> >+ [% END %] > <input type="hidden" name="setting_extended_patron_attributes" value="1" /> > [% FOREACH pa_loo IN patron_attributes %] > [% IF pa_loo.class %] >@@ -1224,16 +1208,20 @@ $(document).ready(function() { > </ol> > [% IF pa_loo.class %]</fieldset>[% END %] > [% END %] >+ </div> > </fieldset> > [% END %][% END %][% END %] > > [% IF ( step_5 ) %][% IF ( EnhancedMessagingPreferences ) %] >-[% IF fields_to_hide.search('messaging') %] >- <fieldset class="rows hidefield" id="memberentry_messaging_prefs"> >-[% ELSE %] > <fieldset class="rows" id="memberentry_messaging_prefs"> >-[% END %] > <legend id="patron_messaging_prefs_lgd">Patron messaging preferences</legend> >+ [% IF fields_to_hide.search('messaging') %] >+ <ol><li><a class="clicktoshow">Click to show</a><a class="clicktohide" style="display:none;">Click to collapse</a></li></ol> >+ <div class="hidefield"> >+ [% ELSE %] >+ <ol><li><a class="clicktoshow" style="display:none;">Click to show</a><a class="clicktohide">Click to collapse</a></li></ol> >+ <div> >+ [% END %] > [% IF ( opadd ) %] > <!-- handle changing prefs if creating new patron and changing > the patron category >@@ -1300,6 +1288,7 @@ $(document).ready(function() { > </select> > </p> > [% END %] >+ </div> > </fieldset> > [% END %] [% END %] > >@@ -1354,4 +1343,3 @@ $(document).ready(function() { > [% END %] > </div> > [% INCLUDE 'intranet-bottom.inc' %] >- >-- >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 3137
:
61861
|
61863
|
62920
|
64094
|
66590
|
66591
|
66592
|
98623
|
98626
|
98682
|
98683
|
99606
|
100503
|
100598
|
100599
|
100706
|
100707
|
100708