Bug 34531: Fix template logic to not hide patron restrictions
To test: 1. From BorrowerUnwantedFields Hide Gone no address flag (gonenoaddress) and Lost card flag (lost). 2. Got to memberentrygen.tt and see that Patron restrictions is now hidden 3. Apply patch, now the Patron restrictions field should not be hidden. Signed-off-by: Barbara Johnson <barbara.johnson@bedfordtx.gov> Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> (cherry picked from commit7e23abcccb) Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com> (cherry picked from commit40a45f6d75) Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
This commit is contained in:
parent
d32d035c0e
commit
831684ea2d
|
|
@ -1392,7 +1392,7 @@ legend:hover {
|
|||
[% END # /UNLESS nogonenoaddress %]
|
||||
</ol>
|
||||
</fieldset> <!-- /#memberentry_account_flags -->
|
||||
|
||||
[% END %]
|
||||
<fieldset class="rows" id="memberentry_restrictions">
|
||||
<legend id="restrictions_lgd">Patron restrictions</legend>
|
||||
[% IF ( patron.restrictions.count ) %]
|
||||
|
|
@ -1478,7 +1478,6 @@ legend:hover {
|
|||
</fieldset> <!-- /#manual_restriction_form -->
|
||||
[% END # /IF CAN_user_borrowers_edit_borrowers %]
|
||||
</fieldset> <!-- /#memberentry_restrictions -->
|
||||
[% END # /UNLESS ( opadd || opduplicate ) %]
|
||||
[% END # /IF ( step_3 ) %]
|
||||
|
||||
[% IF ( step_7 ) %]
|
||||
|
|
|
|||
Loading…
Reference in New Issue