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

Return to bug 19532