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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt (-64 / +65 lines)
Lines 591-597 Using this account is not recommended because some parts of Koha will not functi Link Here
591
                                            <th class="anti-the">Title</th>
591
                                            <th class="anti-the">Title</th>
592
                                            <th class="psort title-string">Placed on</th>
592
                                            <th class="psort title-string">Placed on</th>
593
                                            <th class="title-string">Expires on</th>
593
                                            <th class="title-string">Expires on</th>
594
                                            <th>Pick up location</th>
594
                                            <th>Pickup location</th>
595
                                            [% IF ( showpriority ) %]
595
                                            [% IF ( showpriority ) %]
596
                                                <th>Priority</th>
596
                                                <th>Priority</th>
597
                                            [% END %]
597
                                            [% END %]
Lines 787-864 Using this account is not recommended because some parts of Koha will not functi Link Here
787
                                            <th class="anti-the">Title</th>
787
                                            <th class="anti-the">Title</th>
788
                                            <th class="psort title-string">Placed on</th>
788
                                            <th class="psort title-string">Placed on</th>
789
                                            <th class="title-string">Expires on</th>
789
                                            <th class="title-string">Expires on</th>
790
                                            <th>Pick up location</th>
790
                                            <th>Pickup location</th>
791
                                            <th>Status</th>
791
                                            <th>Status</th>
792
                                            <th>Cancel</th>
792
                                            <th>Cancel</th>
793
                                        </tr>
793
                                        </tr>
794
                                    </thead>
794
                                    </thead>
795
                                    <tbody>
795
                                    <tbody>
796
                                        [% FOREACH RECALL IN RECALLS %]
796
                                        [% FOREACH RECALL IN RECALLS %]
797
                                            <td class="title">
797
                                            <tr>
798
                                                <a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% RECALL.biblionumber %]">
798
                                                <td class="title">
799
                                                    [% RECALL.biblio.title %]
799
                                                    <a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% RECALL.biblionumber %]">
800
                                                    [% FOREACH s IN RECALL.biblio.subtitles %]
800
                                                        [% RECALL.biblio.title %]
801
                                                        [% s %]
801
                                                        [% FOREACH s IN RECALL.biblio.subtitles %]
802
                                                    [% END %]
802
                                                            [% s %]
803
                                                    [% RECALL.item.enumchron %]
803
                                                        [% END %]
804
                                                </a>
804
                                                        [% RECALL.item.enumchron %]
805
                                                [% RECALL.biblio.author %]
805
                                                    </a>
806
                                            </td>
806
                                                    [% RECALL.biblio.author %]
807
                                            <td class="recalldate">
807
                                                </td>
808
                                                <span title="[% RECALL.recalldate %]">
808
                                                <td class="recalldate">
809
                                                    <span class="tdlabel">Recall date:</span>
809
                                                    <span title="[% RECALL.recalldate %]">
810
                                                    [% RECALL.recalldate | $KohaDates %]
810
                                                        <span class="tdlabel">Recall date:</span>
811
                                                </span>
811
                                                        [% RECALL.recalldate | $KohaDates %]
812
                                            </td>
812
                                                    </span>
813
                                            <td class="expirationdate">
813
                                                </td>
814
                                                [% IF ( RECALL.is_waiting ) %]
814
                                                <td class="expirationdate">
815
                                                    [% IF ( RECALL.expirationdate ) %]
815
                                                    [% IF ( RECALL.is_waiting ) %]
816
                                                        <span title="[% RECALL.expirationdate %]">
816
                                                        [% IF ( RECALL.expirationdate ) %]
817
                                                            <span title="[% RECALL.expirationdate %]">
818
                                                                <span class="tdlabel">Expiration:</span>
819
                                                                    [% RECALL.expirationdate | $KohaDates %]
820
                                                            </span>
821
                                                        [% ELSE %]
822
                                                            <span title="0000-00-00">
823
                                                                <span class="tdlabel">Expiration:</span>
824
                                                                Never expires
825
                                                            </span>
826
                                                        [% END %]
827
                                                    [% ELSIF ( RECALL.has_expired && RECALL.expirationdate ) %]
828
                                                        <span title="[% RECALL.expirationdate %]" class="overdue">
817
                                                            <span class="tdlabel">Expiration:</span>
829
                                                            <span class="tdlabel">Expiration:</span>
818
                                                                [% RECALL.expirationdate | $KohaDates %]
830
                                                            [% RECALL.expirationdate | $KohaDates %]
819
                                                        </span>
831
                                                        </span>
820
                                                    [% ELSE %]
832
                                                    [% ELSE %]
821
                                                        <span title="0000-00-00">
833
                                                        <span title="0000-00-00">-</span>
822
                                                            <span class="tdlabel">Expiration:</span>
823
                                                            Never expires
824
                                                        </span>
825
                                                    [% END %]
834
                                                    [% END %]
826
                                                [% ELSIF ( RECALL.has_expired && RECALL.expirationdate ) %]
835
                                                </td>
827
                                                    <span title="[% RECALL.expirationdate %]" class="overdue">
836
                                                <td class="branch">
828
                                                        <span class="tdlabel">Expiration:</span>
837
                                                    <span class="tdlabel">Pick up location:</span>
829
                                                        [% RECALL.expirationdate | $KohaDates %]
838
                                                    [% RECALL.branch.branchname %]
830
                                                    </span>
839
                                                </td>
831
                                                [% ELSE %]
840
                                                <td class="status">
832
                                                    <span title="0000-00-00">-</span>
841
                                                    <span class="tdlabel">Status:</span>
833
                                                [% END %]
842
                                                    [% IF ( RECALL.is_requested ) %]
834
                                            </td>
843
                                                        Requested
835
                                            <td class="branch">
844
                                                    [% ELSIF ( RECALL.is_waiting ) %]
836
                                                <span class="tdlabel">Pick up location:</span>
845
                                                        Ready for pickup
837
                                                [% RECALL.branch.branchname %]
846
                                                    [% ELSIF ( RECALL.has_expired ) %]
838
                                            </td>
847
                                                        Expired
839
                                            <td class="status">
848
                                                    [% END %]
840
                                                <span class="tdlabel">Status:</span>
849
                                                </td>
841
                                                [% IF ( RECALL.is_requested ) %]
850
                                                <td class="cancelrecall">
842
                                                    Requested
851
                                                    [% IF ( !RECALL.cancellationdate ) %]
843
                                                [% ELSIF ( RECALL.is_waiting ) %]
852
                                                        <form action="/cgi-bin/koha/opac-recall.pl" method="post">
844
                                                    Ready for pickup
853
                                                            <input type="hidden" name="op" value="cancel">
845
                                                [% ELSIF ( RECALL.has_expired ) %]
854
                                                            <input type="hidden" name="recall_id" value="[% RECALL.recall_id %]">
846
                                                    Expired
855
                                                            <input type="hidden" name="itemnumber" value="[% RECALL.itemnumber %]">
847
                                                [% END %]
856
                                                            <button type="submit" name="submit" class="btn btn-sm btn-danger" id="cancel_recall"><i class="icon-remove icon-white"></i> Cancel</button>
848
                                            </td>
857
                                                        </form>
849
                                            <td class="cancelrecall">
858
                                                    [% ELSE %]
850
                                                [% IF ( !RECALL.cancellationdate ) %]
859
                                                        Cancelled
851
                                                    <form action="/cgi-bin/koha/opac-recall.pl" method="post">
860
                                                    [% END %]
852
                                                        <input type="hidden" name="op" value="cancel">
861
                                                </td>
853
                                                        <input type="hidden" name="recall_id" value="[% RECALL.recall_id %]">
862
                                            [% END %]
854
                                                        <input type="hidden" name="itemnumber" value="[% RECALL.itemnumber %]">
863
                                        </tr>
855
                                                        <button type="submit" name="submit" class="btn btn-sm btn-danger" id="cancel_recall"><i class="icon-remove icon-white"></i> Cancel</button>
856
                                                    </form>
857
                                                [% ELSE %]
858
                                                    Cancelled
859
                                                [% END %]
860
                                            </td>
861
                                        [% END %]
862
                                    </tbody>
864
                                    </tbody>
863
                                <table>
865
                                <table>
864
                            </div>
866
                            </div>
865
- 

Return to bug 19532