Bug 40005: Add accessurl to manage ILL request page
Test plan: 1) Enable ILLModule 2) Create a new ILL request, visit: <staff_url>/cgi-bin/koha/ill/ill-requests.pl?method=create&backend=Standard 3) Add 'type', cardnumber '42' and any library. Click 'Create'. 4) You are now on the ILL manage request page. 5) Some backends may use the accessurl to store the URL of a document, run the following SQL: UPDATE illrequests SET accessurl = 'https://koha-community.org/'; 6) Refresh the page from 4) or visit the ILL manage request page for that request. 7) Verify the accessurl is now shown. Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Lisette Scheer <lisette@bywatersolutions.com> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
f6da181636
commit
1eddff89a0
|
|
@ -680,6 +680,12 @@
|
|||
[% type | html %]
|
||||
</li>
|
||||
[% END %]
|
||||
[% IF request.accessurl %]
|
||||
<li class="accessurl">
|
||||
<span class="label accessurl">Access URL:</span>
|
||||
<a href="[% request.accessurl | url %]" target="_blank" title="[% request.accessurl | html %]"><i class="fa-solid fa-arrow-up-right-from-square"></i> View document</a>
|
||||
</li>
|
||||
[% END %]
|
||||
[% historycheck_requests = request.get_history_check_requests %]
|
||||
[% IF historycheck_requests.count %]
|
||||
<li class="historycheck_requests_value">
|
||||
|
|
|
|||
Loading…
Reference in New Issue