|
Line 0
Link Here
|
|
|
1 |
[% USE raw %] |
| 2 |
[% USE KohaDates %] |
| 3 |
[% USE Branches %] |
| 4 |
[% USE AdditionalContents %] |
| 5 |
[% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %] |
| 6 |
[% INCLUDE 'doc-head-open.inc' %] |
| 7 |
<title>ILL requests</title> |
| 8 |
[% INCLUDE 'doc-head-close.inc' %] |
| 9 |
[% BLOCK cssinclude %] |
| 10 |
[% END %] |
| 11 |
[% INCLUDE 'bodytag.inc' bodyid='opac-illrequests' %] |
| 12 |
|
| 13 |
[% INCLUDE 'masthead.inc' %] |
| 14 |
<div class="main"> |
| 15 |
[% WRAPPER breadcrumbs %] |
| 16 |
[% IF op != 'list' %] |
| 17 |
[% WRAPPER breadcrumb_item %] |
| 18 |
<a href="/cgi-bin/koha/opac-illrequests.pl">Interlibrary loan requests</a> |
| 19 |
[% END %] |
| 20 |
[% END %] |
| 21 |
[% END #/ WRAPPER breadcrumbs %] |
| 22 |
|
| 23 |
<div class="container-fluid"> |
| 24 |
<div class="row"> |
| 25 |
<div class="col-lg-2"> |
| 26 |
[% IF op == 'list' %] |
| 27 |
<h1>Interlibrary loan requests</h1> |
| 28 |
[% ELSIF op == 'view' %] |
| 29 |
<h1>View interlibrary loan request</h1> |
| 30 |
[% ELSIF op == 'unauth_view' %] |
| 31 |
<h1>View interlibrary loan request</h1> |
| 32 |
[% ELSIF op == 'availability' %] |
| 33 |
<h1>Interlibrary loan item availability</h1> |
| 34 |
[% ELSIF op == 'typedisclaimer' %] |
| 35 |
<h1>ILL request disclaimer</h1> |
| 36 |
[% ELSIF op == 'confirmautoill' %] |
| 37 |
<h1>Confirming request</h1> |
| 38 |
[% END %] |
| 39 |
</div> |
| 40 |
[% SET column_class = "col order-first order-md-first order-lg-2" %] |
| 41 |
[% IF ( OpacNav||loggedinusername ) %] |
| 42 |
[% column_class = "col-lg-10 order-first order-md-first order-lg-2" %] |
| 43 |
[% END %] |
| 44 |
<div class="[% column_class | html %]"> |
| 45 |
<div class="maincontent"> |
| 46 |
<div class="alert alert-success" role="alert">Your request has been placed. We'll contact you shortly.</div> |
| 47 |
<h1>View interlibrary loan request</h1> |
| 48 |
[% status = request.status %] |
| 49 |
<fieldset class="rows"> |
| 50 |
<legend id="library_legend">Details from library</legend> |
| 51 |
<ol> |
| 52 |
[% type = request.get_type %] |
| 53 |
<li> |
| 54 |
<label for="request_id">Request ID:</label> |
| 55 |
[% request.illrequest_id | html %] |
| 56 |
</li> |
| 57 |
<li> |
| 58 |
<label for="backend">Requested from:</label> |
| 59 |
[% request.backend | html %] |
| 60 |
</li> |
| 61 |
<li> |
| 62 |
<label for="branchcode">Collection library:</label> |
| 63 |
[% Branches.GetName(request.branchcode) | html %] |
| 64 |
</li> |
| 65 |
<li> |
| 66 |
<label for="status">Status:</label> |
| 67 |
[% request.status | html %] |
| 68 |
</li> |
| 69 |
<li> |
| 70 |
<label for="medium">Request type:</label> |
| 71 |
[% IF type %][% type | html %][% ELSE %]<span>N/A</span>[% END %] |
| 72 |
</li> |
| 73 |
<li> |
| 74 |
<label for="placed">Request placed:</label> |
| 75 |
[% request.placed | $KohaDates %] |
| 76 |
</li> |
| 77 |
<li> |
| 78 |
<label for="updated">Last updated:</label> |
| 79 |
[% request.updated | $KohaDates %] |
| 80 |
</li> |
| 81 |
<li> |
| 82 |
<label for="unauthenticated_first_name">Unauthenticated first name:</label> |
| 83 |
[% request.unauthenticated_first_name | html %] |
| 84 |
</li> |
| 85 |
<li> |
| 86 |
<label for="unauthenticated_last_name">Unauthenticated last name:</label> |
| 87 |
[% request.unauthenticated_last_name | html %] |
| 88 |
</li> |
| 89 |
<li> |
| 90 |
<label for="unauthenticated_email">Unauthenticated email:</label> |
| 91 |
[% request.unauthenticated_email| html %] |
| 92 |
</li> |
| 93 |
</ol> |
| 94 |
</fieldset> |
| 95 |
<div id="ill-supplier-metadata" class="rows"> |
| 96 |
<legend id="backend_legend">Request details</legend> |
| 97 |
[% FOREACH meta IN request.metadata %] |
| 98 |
[% IF meta.value %] |
| 99 |
<div class="requestattr-[% meta.key | replace(' ', '_') | html %]"> |
| 100 |
<span class="label">[% meta.key | html %]:</span> |
| 101 |
<span class="value">[% meta.value | html %]</span> |
| 102 |
</div> |
| 103 |
[% END %] |
| 104 |
[% END %] |
| 105 |
</div> |
| 106 |
</div> |
| 107 |
</div> |
| 108 |
</div> |
| 109 |
</div> |
| 110 |
</div> |
| 111 |
|
| 112 |
[% INCLUDE 'opac-bottom.inc' %] |
| 113 |
|
| 114 |
[% BLOCK jsinclude %] |
| 115 |
[% END %] |