Lines 789-825
Link Here
|
789 |
<div id="patronlists" class="toptabs"> |
789 |
<div id="patronlists" class="toptabs"> |
790 |
<ul> |
790 |
<ul> |
791 |
<li> |
791 |
<li> |
792 |
[% IF ( issuecount ) %] |
792 |
<a href="#checkouts">Checkouts ([% issuecount || 0 | html %])</a> |
793 |
<a href="#checkouts">[% issuecount | html %] Checkout(s)</a> |
|
|
794 |
[% ELSE %] |
795 |
<a href="#checkouts">0 Checkouts</a> |
796 |
[% END %] |
797 |
</li> |
793 |
</li> |
798 |
|
794 |
|
799 |
[% IF relatives_issues_count %] |
795 |
[% IF relatives_issues_count %] |
800 |
<li><a id="relatives-issues-tab" href="#relatives-issues">[% relatives_issues_count | html %] Relatives' checkouts</a></li> |
796 |
<li> |
|
|
797 |
<a id="relatives-issues-tab" href="#relatives-issues">Relatives' checkouts ([% relatives_issues_count | html %])</a> |
798 |
</li> |
801 |
[% END %] |
799 |
[% END %] |
802 |
|
800 |
|
803 |
<li> |
801 |
<li> |
804 |
[% IF ( holds_count ) %] |
802 |
<a href="#reserves" id="holds-tab">Holds ([% holds_count || 0 | html %])</a> |
805 |
<a href="#reserves" id="holds-tab">[% holds_count | html %] Hold(s)</a> |
|
|
806 |
[% ELSE %] |
807 |
<a href="#reserves" id="holds-tab">0 Holds</a> |
808 |
[% END %] |
809 |
</li> |
803 |
</li> |
810 |
|
804 |
|
811 |
[% IF Koha.Preference('UseRecalls') %] |
805 |
[% IF Koha.Preference('UseRecalls') %] |
812 |
<li> |
806 |
<li> |
813 |
<a href="#recalls" id="recalls-tab"> |
807 |
<a href="#recalls" id="recalls-tab">Recalls ([% recalls.count || 0 | html %])</a> |
814 |
[% recalls.count | html %] Recalls |
|
|
815 |
</a> |
816 |
</li> |
808 |
</li> |
817 |
[% END %] |
809 |
[% END %] |
818 |
|
810 |
|
819 |
[% IF Koha.Preference('ArticleRequests') %] |
811 |
[% IF Koha.Preference('ArticleRequests') %] |
820 |
[% SET current_article_requests = Context.Scalar( Context.Scalar( patron, 'article_requests' ), 'filter_by_current' ) %] |
812 |
[% SET current_article_requests = Context.Scalar( Context.Scalar( patron, 'article_requests' ), 'filter_by_current' ) %] |
821 |
<li> |
813 |
<li> |
822 |
<a href="#article-requests" id="article-requests-tab"> [% current_article_requests.count | html %] Article requests</a> |
814 |
<a href="#article-requests" id="article-requests-tab">Article requests ([% current_article_requests.count || 0 | html %])</a> |
823 |
</li> |
815 |
</li> |
824 |
[% END %] |
816 |
[% END %] |
825 |
|
817 |
|
Lines 827-834
Link Here
|
827 |
<li> |
819 |
<li> |
828 |
[% IF ( patron.return_claims.count ) %] |
820 |
[% IF ( patron.return_claims.count ) %] |
829 |
<a href="#return-claims" id="return-claims-tab"> |
821 |
<a href="#return-claims" id="return-claims-tab"> |
830 |
Claim(s) |
822 |
Claims |
831 |
[% IF patron.return_claims.resolved.count == 0 %] |
823 |
([% IF patron.return_claims.resolved.count == 0 %] |
832 |
<span title="Resolved claims" class="label label-default" id="return-claims-count-resolved">[% patron.return_claims.resolved.count | html %]</span> |
824 |
<span title="Resolved claims" class="label label-default" id="return-claims-count-resolved">[% patron.return_claims.resolved.count | html %]</span> |
833 |
[% ELSE %] |
825 |
[% ELSE %] |
834 |
<span title="Resolved claims" class="label label-success" id="return-claims-count-resolved">[% patron.return_claims.resolved.count | html %]</span> |
826 |
<span title="Resolved claims" class="label label-success" id="return-claims-count-resolved">[% patron.return_claims.resolved.count | html %]</span> |
Lines 837-855
Link Here
|
837 |
<span title="Unresolved claims" class="label label-default" id="return-claims-count-unresolved">[% patron.return_claims.unresolved.count | html %]</span> |
829 |
<span title="Unresolved claims" class="label label-default" id="return-claims-count-unresolved">[% patron.return_claims.unresolved.count | html %]</span> |
838 |
[% ELSE %] |
830 |
[% ELSE %] |
839 |
<span title="Unresolved claims" class="label label-warning" id="return-claims-count-unresolved">[% patron.return_claims.unresolved.count | html %]</span> |
831 |
<span title="Unresolved claims" class="label label-warning" id="return-claims-count-unresolved">[% patron.return_claims.unresolved.count | html %]</span> |
840 |
[% END %] |
832 |
[% END %]) |
841 |
</a> |
833 |
</a> |
842 |
[% ELSE %] |
834 |
[% ELSE %] |
843 |
<a href="#return-claims" id="return-claims-tab"> |
835 |
<a href="#return-claims" id="return-claims-tab"> |
844 |
Claim(s) |
836 |
Claims |
845 |
<span title="Resolved claims" class="label label-default" id="return-claims-count-resolved">0</span> |
837 |
(<span title="Resolved claims" class="label label-default" id="return-claims-count-resolved">0</span> |
846 |
<span title="Unresolved claims" class="label label-default" id="return-claims-count-unresolved">0</span> |
838 |
<span title="Unresolved claims" class="label label-default" id="return-claims-count-unresolved">0</span>) |
847 |
</a> |
839 |
</a> |
848 |
[% END %] |
840 |
[% END %] |
849 |
</li> |
841 |
</li> |
850 |
[% END %] |
842 |
[% END %] |
851 |
|
843 |
|
852 |
<li><a id="debarments-tab-link" href="#reldebarments">[% debarments.count | html %] Restrictions</a></li> |
844 |
<li><a id="debarments-tab-link" href="#reldebarments">Restrictions ([% debarments.count || 0 | html %])</a></li> |
853 |
|
845 |
|
854 |
[% SET enrollments = patron.get_club_enrollments %] |
846 |
[% SET enrollments = patron.get_club_enrollments %] |
855 |
[% SET enrollable = patron.get_enrollable_clubs(0) %] <!-- 0 => not OPAC --> |
847 |
[% SET enrollable = patron.get_enrollable_clubs(0) %] <!-- 0 => not OPAC --> |
856 |
- |
|
|