Lines 764-777
Link Here
|
764 |
[% IF ( patron.return_claims.count ) %] |
764 |
[% IF ( patron.return_claims.count ) %] |
765 |
<a href="#return-claims" id="return-claims-tab"> |
765 |
<a href="#return-claims" id="return-claims-tab"> |
766 |
Claim(s) |
766 |
Claim(s) |
767 |
<span title="Resolved claims" class="label label-success" id="return-claims-count-resolved">[% patron.return_claims.resolved.count | html %]</span> |
767 |
[% IF patron.return_claims.resolved.count == 0 %] |
768 |
<span title="Unresolved claims" class="label label-warning" id="return-claims-count-unresolved">[% patron.return_claims.unresolved.count | html %]</span> |
768 |
<span title="Resolved claims" class="label label-default" id="return-claims-count-resolved">[% patron.return_claims.resolved.count | html %]</span> |
|
|
769 |
[% ELSE %] |
770 |
<span title="Resolved claims" class="label label-success" id="return-claims-count-resolved">[% patron.return_claims.resolved.count | html %]</span> |
771 |
[% END %] |
772 |
[% IF patron.return_claims.unresolved.count == 0 %] |
773 |
<span title="Unresolved claims" class="label label-default" id="return-claims-count-unresolved">[% patron.return_claims.unresolved.count | html %]</span> |
774 |
[% ELSE %] |
775 |
<span title="Unresolved claims" class="label label-warning" id="return-claims-count-unresolved">[% patron.return_claims.unresolved.count | html %]</span> |
776 |
[% END %] |
777 |
|
769 |
</a> |
778 |
</a> |
770 |
[% ELSE %] |
779 |
[% ELSE %] |
771 |
<a href="#return-claims" id="return-claims-tab"> |
780 |
<a href="#return-claims" id="return-claims-tab"> |
772 |
Claim(s) |
781 |
Claim(s) |
773 |
<span title="Resolved claims" class="label label-success" id="return-claims-count-resolved">0</span> |
782 |
<span title="Resolved claims" class="label label-default" id="return-claims-count-resolved">0</span> |
774 |
<span title="Unresolved claims" class="label label-success" id="return-claims-count-unresolved">0</span> |
783 |
<span title="Unresolved claims" class="label label-default" id="return-claims-count-unresolved">0</span> |
775 |
</a> |
784 |
</a> |
776 |
[% END %] |
785 |
[% END %] |
777 |
</li> |
786 |
</li> |