Bug 25879: (follow-up) Update overlooked guarantor markup

This patch updates another section of guarantor markup which should have
been updated with the others.

To test, apply the patch and locate an adult patron.

 - Click "Add guarantee"
 - Confirm that the part of the form for adding a guarantee looks
   correct.
 - Confirm that the new patron information is saved correctly.

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Owen Leonard 2020-08-08 13:30:35 +00:00 committed by Jonathan Druart
parent ec630b4b6c
commit 4de06b1711

View file

@ -443,11 +443,11 @@ legend:hover {
</fieldset>
[% END # END relationships foreach %]
[% IF guarantor && (!relationships) %]
<fieldset class="rows">
<fieldset class="guarantor">
<ol>
<li class="guarantor-details" data-borrowernumber="0">
<span class="label">Patron card number:</span>
<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% guarantor.borrowernumber | uri %]" target="blank">[% guarantor.cardnumber | html %]</a>
<span class="label">Guarantor:</span>
<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% guarantor.borrowernumber | uri %]" target="blank">[% guarantor.firstname | html %] [% guarantor.surname | html %] ([% guarantor.cardnumber | html %])</a>
<input type="hidden" class="new_guarantor_id" name="new_guarantor_id" value="[% guarantor.borrowernumber | html %]"/>
</li>
@ -473,7 +473,7 @@ legend:hover {
<li>
<label for="guarantor_cancel">&nbsp;</label>
<span><a href="#" class="guarantor_cancel">Remove</a></span>
<span><a href="#" class="guarantor_cancel"><i class="fa fa-trash" aria-hidden="true"></i> Remove</a></span>
</li>
</ol>
</fieldset>