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