Bug 34853: Switch to 'div' as suggested

This patch switches us from '<span class="clearfix">' to '<div>' so
we're just using a block level elemenet instead of manipulating an
inline element to act like a block.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Martin Renvoize 2024-01-16 17:11:23 +00:00 committed by Katrin Fischer
parent 939ad01baf
commit f7d95ab8fb
No known key found for this signature in database
GPG Key ID: 0EF6E2C03357A834
1 changed files with 4 additions and 4 deletions

View File

@ -855,15 +855,15 @@
<td>
[% IF order.invoiceid %]
[% IF CAN_user_acquisition %]
<span class="clearfix"><a href="/cgi-bin/koha/acqui/invoice.pl?invoiceid=[% order.invoiceid | uri %]"
<div><a href="/cgi-bin/koha/acqui/invoice.pl?invoiceid=[% order.invoiceid | uri %]"
title="Invoice detail page">
[% order.invoice.invoicenumber | html %]</a></span>
[% order.invoice.invoicenumber | html %]</a></div>
[% ELSE %]
<span class="clearfix">[% order.invoice.invoicenumber | html %]</span>
<div>[% order.invoice.invoicenumber | html %]</div>
[% END %]
[% IF ( Koha.Preference('EDIFACT') && CAN_user_acquisition_edi_manage && order.invoice.message_id ) %]
<span class="clearfix"><a href="/cgi-bin/koha/acqui/edimsg.pl?id=[% order.invoice.message_id | uri %]" title="EDI INVOICE message">EDI message</a></span>
<div><a href="/cgi-bin/koha/acqui/edimsg.pl?id=[% order.invoice.message_id | uri %]" title="EDI INVOICE message">EDI message</a></div>
[% END %]
[% END %]
</td>