View | Details | Raw Unified | Return to bug 26979
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt (-33 / +18 lines)
Lines 8-13 Link Here
8
[% USE ItemTypes %]
8
[% USE ItemTypes %]
9
[% USE Price %]
9
[% USE Price %]
10
[% USE AuthorisedValues %]
10
[% USE AuthorisedValues %]
11
[% PROCESS 'i18n.inc' %]
11
[% SET footerjs = 1 %]
12
[% SET footerjs = 1 %]
12
[% INCLUDE 'doc-head-open.inc' %]
13
[% INCLUDE 'doc-head-open.inc' %]
13
[% Asset.css("lib/jquery/plugins/rowGroup/stylesheets/rowGroup.dataTables.min.css") | $raw %]
14
[% Asset.css("lib/jquery/plugins/rowGroup/stylesheets/rowGroup.dataTables.min.css") | $raw %]
Lines 761-825 Link Here
761
                    <div id="patronlists" class="toptabs">
762
                    <div id="patronlists" class="toptabs">
762
                        <ul>
763
                        <ul>
763
                            <li>
764
                            <li>
764
                                [% IF ( issuecount ) %]
765
                                <a href="#checkouts">[% issuecount | html %] [% tn('Checkout', 'Checkouts', issuecount) | $raw %]</a>
765
                                    <a href="#checkouts">[% issuecount | html %] Checkout(s)</a>
766
                                [% ELSE %]
767
                                    <a href="#checkouts">0 Checkouts</a>
768
                                [% END %]
769
                            </li>
766
                            </li>
770
767
771
                            [% IF relatives_issues_count %]
768
                            [% IF relatives_issues_count %]
772
                                <li><a id="relatives-issues-tab" href="#relatives-issues">[% relatives_issues_count | html %] Relatives' checkouts</a></li>
769
                                <li>
770
                                    <a id="relatives-issues-tab" href="#relatives-issues">[% relatives_issues_count | html %] [% tn("Relatives' checkout", "Relatives' checkouts", relatives_issues_count) | $raw %]</a>
771
                                </li>
773
                            [% END %]
772
                            [% END %]
774
773
775
                            <li>
774
                            <li>
776
                                [% IF ( holds_count ) %]
775
                                <a href="#reserves" id="holds-tab">[% holds_count | html %] [% tn('Hold', 'Holds', holds_count) | $raw %]</a>
777
                                    <a href="#reserves" id="holds-tab">[% holds_count | html %] Hold(s)</a>
778
                                [% ELSE %]
779
                                    <a href="#reserves" id="holds-tab">0 Holds</a>
780
                                [% END %]
781
                            </li>
776
                            </li>
782
777
783
                            [% IF Koha.Preference('ArticleRequests') %]
778
                            [% IF Koha.Preference('ArticleRequests') %]
784
                                <li>
779
                                <li>
785
                                    <a href="#article-requests" id="article-requests-tab"> [% patron.article_requests_current.count | html %] Article requests</a>
780
                                    <a href="#article-requests" id="article-requests-tab"> [% patron.article_requests_current.count | html %] [% tn('Article request', 'Article requests', patron.article_requests_current.count) | $raw %]</a>
786
                                </li>
781
                                </li>
787
                            [% END %]
782
                            [% END %]
788
783
789
                            [% IF Koha.Preference('ClaimReturnedLostValue') %]
784
                            [% IF Koha.Preference('ClaimReturnedLostValue') %]
790
                                <li>
785
                                <li>
791
                                    [% IF ( patron.return_claims.count ) %]
792
                                        <a href="#return-claims" id="return-claims-tab">
793
                                            Claim(s)
794
                                            [% IF patron.return_claims.resolved.count == 0 %]
795
                                                <span title="Resolved claims" class="label label-default" id="return-claims-count-resolved">[% patron.return_claims.resolved.count | html %]</span>
796
                                            [% ELSE %]
797
                                                <span title="Resolved claims" class="label label-success" id="return-claims-count-resolved">[% patron.return_claims.resolved.count | html %]</span>
798
                                            [% END %]
799
                                            [% IF patron.return_claims.unresolved.count == 0 %]
800
                                                <span title="Unresolved claims" class="label label-default" id="return-claims-count-unresolved">[% patron.return_claims.unresolved.count | html %]</span>
801
                                            [% ELSE %]
802
                                                <span title="Unresolved claims" class="label label-warning" id="return-claims-count-unresolved">[% patron.return_claims.unresolved.count | html %]</span>
803
                                            [% END %]
804
                                        </a>
805
                                    [% ELSE %]
806
                                        <a href="#return-claims" id="return-claims-tab">
786
                                        <a href="#return-claims" id="return-claims-tab">
807
                                            Claim(s)
787
                                            [% patron.return_claims.unresolved.count | html %] [% tn('Claim', 'Claims', patron.return_claims.unresolved.count) | $raw %]
808
                                            <span title="Resolved claims" class="label label-default" id="return-claims-count-resolved">0</span>
809
                                            <span title="Unresolved claims" class="label label-default" id="return-claims-count-unresolved">0</span>
810
                                        </a>
788
                                        </a>
811
                                    [% END %]
812
                                </li>
789
                                </li>
813
                            [% END %]
790
                            [% END %]
814
791
815
                            <li><a id="debarments-tab-link" href="#reldebarments">[% debarments.count | html %] Restrictions</a></li>
792
                            <li>
793
                                <a id="debarments-tab-link" href="#reldebarments">
794
                                    [% IF ( debarments.size > 0 ) %]
795
                                        [% debarments.size | html %] [% tn('Restriction', 'Restrictions', debarments.size) | $raw %]
796
                                    [% ELSE %]
797
                                        0 Restrictions
798
                                    [% END %]
799
                                </a>
800
                            </li>
816
801
817
                            [% SET enrollments = patron.get_club_enrollments(1) %]
802
                            [% SET enrollments = patron.get_club_enrollments(1) %]
818
                            [% SET enrollable  = patron.get_enrollable_clubs(0,1) %]
803
                            [% SET enrollable  = patron.get_enrollable_clubs(0,1) %]
819
                            [% IF CAN_user_clubs && ( enrollable.count || enrollments.count ) %]
804
                            [% IF CAN_user_clubs && ( enrollable.count || enrollments.count ) %]
820
                                <li>
805
                                <li>
821
                                    <a id="clubs-tab-link" href="#clubs-tab">
806
                                    <a id="clubs-tab-link" href="#clubs-tab">
822
                                        Clubs ([% enrollments.count | html %]/[% enrollable.count | html %])
807
                                        [% enrollments.count | html %] [% tn('Club', 'Clubs', enrollments.count) | $raw %]
823
                                    </a>
808
                                    </a>
824
                                </li>
809
                                </li>
825
                            [% END %]
810
                            [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt (-37 / +23 lines)
Lines 7-12 Link Here
7
[% USE AuthorisedValues %]
7
[% USE AuthorisedValues %]
8
[% USE TablesSettings %]
8
[% USE TablesSettings %]
9
[% USE Price %]
9
[% USE Price %]
10
[% PROCESS 'i18n.inc' %]
10
[% PROCESS 'member-display-address-style.inc' %]
11
[% PROCESS 'member-display-address-style.inc' %]
11
[% PROCESS 'member-display-alt-address-style.inc' %]
12
[% PROCESS 'member-display-alt-address-style.inc' %]
12
[% SET footerjs = 1 %]
13
[% SET footerjs = 1 %]
Lines 673-741 Link Here
673
                    <div id="finesholdsissues" class="toptabs">
674
                    <div id="finesholdsissues" class="toptabs">
674
                        <ul>
675
                        <ul>
675
                            <li>
676
                            <li>
676
                                <a href="#checkouts">[% issuecount | html %] Checkout(s)</a>
677
                                <a href="#checkouts">[% issuecount | html %] [% tn('Checkout', 'Checkouts', issuecount) | $raw %]</a>
677
                            </li>
678
                            </li>
679
678
                            [% IF relatives_issues_count %]
680
                            [% IF relatives_issues_count %]
679
                                <li>
681
                                <li>
680
                                    <a href="#relatives-issues" id="relatives-issues-tab">[% relatives_issues_count | html %] Relatives' checkouts</a>
682
                                    <a id="relatives-issues-tab" href="#relatives-issues">[% relatives_issues_count | html %] [% tn("Relatives' checkout", "Relatives' checkouts", relatives_issues_count) | $raw %]</a>
681
                                </li>
683
                                </li>
682
                            [% END %]
684
                            [% END %]
685
683
                            [% IF ( fines ) %]
686
                            [% IF ( fines ) %]
684
                                <li id="finestab">
687
                                <li id="finestab">
685
                                    <a href="#finesandcharges">Charges ([% fines | $Price %])</a>
688
                                    <a href="#finesandcharges">Charges ([% fines | $Price %])</a>
686
                                </li>
689
                                </li>
687
                            [% END %]
690
                            [% END %]
688
                            [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
691
689
                                <li>
692
                            <li>
690
                                    [% IF ( holds_count ) %]
693
                                <a href="#reserves" id="holds-tab">[% holds_count | html %] [% tn('Hold', 'Holds', holds_count) | $raw %]</a>
691
                                        <a href="#reserves" id="holds-tab">[% holds_count | html %] Hold(s)</a>
694
                            </li>
692
                                    [% ELSE %]
695
693
                                        <a href="#reserves" id="holds-tab">0 Holds</a>
694
                                    [% END %]
695
                                </li>
696
                            [% END %]
697
                            [% IF Koha.Preference('ArticleRequests') %]
696
                            [% IF Koha.Preference('ArticleRequests') %]
698
                                <li>
697
                                <li>
699
                                    <a href="#article-requests" id="article-requests-tab"> [% patron.article_requests_current.count | html %] Article requests</a>
698
                                    <a href="#article-requests" id="article-requests-tab"> [% patron.article_requests_current.count | html %] [% tn('Article request', 'Article requests', patron.article_requests_current.count) | $raw %]</a>
700
                                </li>
699
                                </li>
701
                            [% END %]
700
                            [% END %]
702
701
703
                            [% IF Koha.Preference('ClaimReturnedLostValue') %]
702
                            [% IF Koha.Preference('ClaimReturnedLostValue') %]
704
                                <li>
703
                                <li>
705
                                    [% IF ( patron.return_claims.count ) %]
704
                                    <a href="#return-claims" id="return-claims-tab">
706
                                        <a href="#return-claims" id="return-claims-tab">
705
                                        [% patron.return_claims.unresolved.count | html %] [% tn('Claim', 'Claims', patron.return_claims.unresolved.count) | $raw %]
707
                                            Claim(s)
706
                                    </a>
708
                                            [% IF patron.return_claims.resolved.count == 0 %]
709
                                                <span title="Resolved claims" class="label label-default" id="return-claims-count-resolved">[% patron.return_claims.resolved.count | html %]</span>
710
                                            [% ELSE %]
711
                                                <span title="Resolved claims" class="label label-success" id="return-claims-count-resolved">[% patron.return_claims.resolved.count | html %]</span>
712
                                            [% END %]
713
                                            [% IF patron.return_claims.unresolved.count == 0 %]
714
                                                <span title="Unresolved claims" class="label label-default" id="return-claims-count-unresolved">[% patron.return_claims.unresolved.count | html %]</span>
715
                                            [% ELSE %]
716
                                                <span title="Unresolved claims" class="label label-warning" id="return-claims-count-unresolved">[% patron.return_claims.unresolved.count | html %]</span>
717
                                            [% END %]
718
719
                                        </a>
720
                                    [% ELSE %]
721
                                        <a href="#return-claims" id="return-claims-tab">
722
                                            Claim(s)
723
                                            <span title="Resolved claims" class="label label-default" id="return-claims-count-resolved">0</span>
724
                                            <span title="Unresolved claims" class="label label-default" id="return-claims-count-unresolved">0</span>
725
                                        </a>
726
                                    [% END %]
727
                                </li>
707
                                </li>
728
                            [% END %]
708
                            [% END %]
729
709
730
                            <li>
710
                            <li>
731
                                <a id="debarments-tab-link" href="#reldebarments">[% debarments.size | html %] Restrictions</a>
711
                                <a id="debarments-tab-link" href="#reldebarments">
712
                                    [% IF ( debarments.size > 0 ) %]
713
                                        [% debarments.size | html %] [% tn('Restriction', 'Restrictions', debarments.size) | $raw %]
714
                                    [% ELSE %]
715
                                        0 Restrictions
716
                                    [% END %]
717
                                </a>
732
                            </li>
718
                            </li>
719
733
                            [% SET enrollments = patron.get_club_enrollments(1) %]
720
                            [% SET enrollments = patron.get_club_enrollments(1) %]
734
                            [% SET enrollable  = patron.get_enrollable_clubs(0,1) %]
721
                            [% SET enrollable  = patron.get_enrollable_clubs(0,1) %]
735
                            [% IF CAN_user_clubs && ( enrollable.count || enrollments.count ) %]
722
                            [% IF CAN_user_clubs && ( enrollable.count || enrollments.count ) %]
736
                                <li>
723
                                <li>
737
                                    <a id="clubs-tab-link" href="#clubs-tab">
724
                                    <a id="clubs-tab-link" href="#clubs-tab">
738
                                        Clubs ([% enrollments.count | html %]/[% enrollable.count | html %])
725
                                        [% enrollments.count | html %] [% tn('Club', 'Clubs', enrollments.count) | $raw %]
739
                                    </a>
726
                                    </a>
740
                                </li>
727
                                </li>
741
                            [% END %]
728
                            [% END %]
742
- 

Return to bug 26979