Lines 727-826
Using this account is not recommended because some parts of Koha will not functi
Link Here
|
727 |
</div> <!-- / #opac-user-holds --> |
727 |
</div> <!-- / #opac-user-holds --> |
728 |
[% END # / #RESERVES.count %] |
728 |
[% END # / #RESERVES.count %] |
729 |
|
729 |
|
730 |
[% IF Koha.Preference('ArticleRequests') && borrower.article_requests_current.count %] |
730 |
[% IF Koha.Preference('ArticleRequests') %] |
731 |
<div id="opac-user-article-requests"> |
731 |
<div id="opac-user-article-requests"> |
732 |
<table id="article-requests-table" class="table table-bordered table-striped"> |
732 |
[% IF borrower.article_requests_current.count %] |
733 |
<caption>Article requests <span class="count">([% borrower.article_requests_current.count %] total)</span></caption> |
733 |
<table id="article-requests-table" class="table table-bordered table-striped"> |
734 |
<thead> |
734 |
<caption>Article requests <span class="count">([% borrower.article_requests_current.count %] total)</span></caption> |
735 |
<tr> |
735 |
<thead> |
736 |
<th class="anti-the article-request-record-title">Record title</th> |
736 |
<tr> |
737 |
<th class="psort article-request-created-on">Placed on</th> |
737 |
<th class="anti-the article-request-record-title">Record title</th> |
738 |
<th class="anti-the article-request-title">Title</th> |
738 |
<th class="psort article-request-created-on">Placed on</th> |
739 |
<th class="article-request-author">Author</th> |
739 |
<th class="anti-the article-request-title">Title</th> |
740 |
<th class="article-request-volume">Volume</th> |
740 |
<th class="article-request-author">Author</th> |
741 |
<th class="article-request-issue">Issue</th> |
741 |
<th class="article-request-volume">Volume</th> |
742 |
<th class="article-request-date">Date</th> |
742 |
<th class="article-request-issue">Issue</th> |
743 |
<th class="article-request-pages">Pages</th> |
743 |
<th class="article-request-date">Date</th> |
744 |
<th class="article-request-chapters">Chapters</th> |
744 |
<th class="article-request-pages">Pages</th> |
745 |
<th class="article-request-patron-notes">Notes</th> |
745 |
<th class="article-request-chapters">Chapters</th> |
746 |
<th class="article-request-status">Status</th> |
746 |
<th class="article-request-patron-notes">Notes</th> |
747 |
<th class="article-request-branchcode">Pickup library</th> |
747 |
<th class="article-request-status">Status</th> |
748 |
<th class="nosort article-request-cancel"> </th> |
748 |
<th class="article-request-branchcode">Pickup library</th> |
749 |
</tr> |
749 |
<th class="nosort article-request-cancel"> </th> |
750 |
</thead> |
750 |
</tr> |
|
|
751 |
</thead> |
751 |
|
752 |
|
752 |
<tbody> |
753 |
<tbody> |
753 |
[% FOREACH ar IN borrower.article_requests_current %] |
754 |
[% FOREACH ar IN borrower.article_requests_current %] |
754 |
<td class="article-request-record-title"> |
755 |
<td class="article-request-record-title"> |
755 |
<a class="article-request-title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% ar.biblionumber %]"> |
756 |
<a class="article-request-title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% ar.biblionumber %]"> |
756 |
[% ar.biblio.title %] |
757 |
[% ar.biblio.title %] |
757 |
[% ar.item.enumchron %] |
758 |
[% ar.item.enumchron %] |
758 |
</a> |
759 |
</a> |
759 |
[% ar.biblio.author %] |
760 |
[% ar.biblio.author %] |
760 |
[% IF ar.itemnumber %] <i>(only [% ar.item.barcode %])</i>[% END %] |
761 |
[% IF ar.itemnumber %] <i>(only [% ar.item.barcode %])</i>[% END %] |
761 |
</td> |
762 |
</td> |
762 |
|
763 |
|
763 |
<td class="article-request-created_on"> |
764 |
<td class="article-request-created_on"> |
764 |
[% ar.created_on | $KohaDates %] |
765 |
[% ar.created_on | $KohaDates %] |
765 |
</td> |
766 |
</td> |
766 |
|
767 |
|
767 |
<td class="article-request-title"> |
768 |
<td class="article-request-title"> |
768 |
[% ar.title %] |
769 |
[% ar.title %] |
769 |
</td> |
770 |
</td> |
770 |
|
771 |
|
771 |
<td class="article-request-author"> |
772 |
<td class="article-request-author"> |
772 |
[% ar.author %] |
773 |
[% ar.author %] |
773 |
</td> |
774 |
</td> |
774 |
|
775 |
|
775 |
<td class="article-request-volume"> |
776 |
<td class="article-request-volume"> |
776 |
[% ar.volume %] |
777 |
[% ar.volume %] |
777 |
</td> |
778 |
</td> |
778 |
|
779 |
|
779 |
<td class="article-request-issue"> |
780 |
<td class="article-request-issue"> |
780 |
[% ar.issue %] |
781 |
[% ar.issue %] |
781 |
</td> |
782 |
</td> |
782 |
|
783 |
|
783 |
<td class="article-request-date"> |
784 |
<td class="article-request-date"> |
784 |
[% ar.date %] |
785 |
[% ar.date %] |
785 |
</td> |
786 |
</td> |
786 |
|
787 |
|
787 |
<td class="article-request-pages"> |
788 |
<td class="article-request-pages"> |
788 |
[% ar.pages %] |
789 |
[% ar.pages %] |
789 |
</td> |
790 |
</td> |
790 |
|
791 |
|
791 |
<td class="article-request-chapters"> |
792 |
<td class="article-request-chapters"> |
792 |
[% ar.chapters %] |
793 |
[% ar.chapters %] |
793 |
</td> |
794 |
</td> |
794 |
|
795 |
|
795 |
<td class="article-request-patron-notes"> |
796 |
<td class="article-request-patron-notes"> |
796 |
[% ar.patron_notes %] |
797 |
[% ar.patron_notes %] |
797 |
</td> |
798 |
</td> |
798 |
|
799 |
|
799 |
<td class="article-request-status"> |
800 |
<td class="article-request-status"> |
800 |
[% IF ar.status == 'PENDING' %] |
801 |
[% IF ar.status == 'PENDING' %] |
801 |
Pending |
802 |
Pending |
802 |
[% ELSIF ar.status == 'PROCESSING' %] |
803 |
[% ELSIF ar.status == 'PROCESSING' %] |
803 |
Processing |
804 |
Processing |
804 |
[% ELSIF ar.status == 'COMPLETED' %] |
805 |
[% ELSIF ar.status == 'COMPLETED' %] |
805 |
Completed |
806 |
Completed |
806 |
[% ELSIF ar.status == 'CANCELED' %] |
807 |
[% ELSIF ar.status == 'CANCELED' %] |
807 |
Canceled |
808 |
Canceled |
808 |
[% END %] |
809 |
[% END %] |
809 |
</td> |
810 |
</td> |
810 |
|
811 |
|
811 |
<td class="article-request-branchcode"> |
812 |
<td class="article-request-branchcode"> |
812 |
[% ar.branch.branchname %] |
813 |
[% ar.branch.branchname %] |
813 |
</td> |
814 |
</td> |
814 |
|
815 |
|
815 |
<td class="article-request-cancel"> |
816 |
<td class="article-request-cancel"> |
816 |
<span class="tdlabel">Cancel:</span> |
817 |
<span class="tdlabel">Cancel:</span> |
817 |
<a class="btn btn-mini btn-danger" href="opac-article-request-cancel.pl?id=[% ar.id %]" onclick="return confirmDelete(MSG_CONFIRM_DELETE_HOLD);"><i class="icon-remove icon-white"></i> Cancel</a> |
818 |
<a class="btn btn-mini btn-danger" href="opac-article-request-cancel.pl?id=[% ar.id %]" onclick="return confirmDelete(MSG_CONFIRM_DELETE_HOLD);"><i class="icon-remove icon-white"></i> Cancel</a> |
818 |
<!-- TODO: replace MSG_CONFIRM_DELETE_HOLD with correct message --> |
819 |
<!-- TODO: replace MSG_CONFIRM_DELETE_HOLD with correct message --> |
819 |
</td> |
820 |
</td> |
820 |
</tr> |
821 |
</tr> |
821 |
[% END %] |
822 |
[% END %] |
822 |
</tbody> |
823 |
</tbody> |
823 |
</table> |
824 |
</table> |
|
|
825 |
[% ELSE %] |
826 |
<table class="table table-bordered table-striped"> |
827 |
<tr><td>You have no article requests currently.</td></tr> |
828 |
</table> |
829 |
[% END # IF article_requests_current.count %] |
824 |
</div> <!-- / #opac-user-article-requests --> |
830 |
</div> <!-- / #opac-user-article-requests --> |
825 |
[% END %] |
831 |
[% END %] |
826 |
|
832 |
|
827 |
- |
|
|