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>
This commit is contained in:
parent
dc9f6f09d8
commit
7e23abcccb
1 changed files with 1 additions and 2 deletions
|
@ -1394,7 +1394,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 ) %]
|
||||
|
@ -1480,7 +1480,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 a new issue