Owen Leonard
157d329083
This patch moves the functionality contained in biblio-default-view.inc into biblio-title.inc. biblio-title.inc can now be called with a "link = 1" parameter in order for the title to be displayed as a link which is controlled by the IntranetBiblioDefaultView preference. To test, apply the patch and test the affected pages, especially titles linked to in breadcrumbs menus Acquisitions: - Add to basket -> From existing record -> Search - Title in search results Catalog: - Search for a record - Add record to cart - Open cart - Title in brief display - Check that link opens the correct page in the main window - View bibliographic record - ISBD view - MARC view - Normal view - Local cover image detail page - Checkout history - Request article - Item details - From the "Edit" menu -> Attach item - Stock rotation rota - Place hold Cataloging: - Cataloging search -> Search results Circulation: - Article requests - Overdues with fines - Overdues - Holds queue - Holds to pull - Hold ratios - Holds awaiting pickup - Transfers to recevie - Renew - Batch checkout Lists: - View list contents Patrons: - View patron details - Holds history - Checkout history Tools: - Rotating collections - View collection - Add item - Tags - Click term to see titles tagged with that term - Batch record deletion - Submit batch Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
62 lines
3.9 KiB
HTML
62 lines
3.9 KiB
HTML
[% USE ItemTypes %]
|
|
[% USE AuthorisedValues %]
|
|
<table id="[% table_name | html %]">
|
|
<thead>
|
|
<tr>
|
|
<th class="title-string">Waiting since</th>
|
|
<th class="title-string">Date hold placed</th>
|
|
<th class="anti-the">Title</th>
|
|
<th>Patron</th>
|
|
<th>Home library</th>
|
|
<th>Current library</th>
|
|
<th>Shelving location</th>
|
|
<th>Call number</th>
|
|
<th>Copy number</th>
|
|
<th>Enumeration</th>
|
|
<th class="NoSort noExport">Actions</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
[% FOREACH reserveloo IN reserveloop %]
|
|
<tr>
|
|
<td><span title="[% reserveloo.waitingdate | html %]">[% reserveloo.waitingdate | $KohaDates %]</span></td>
|
|
<td><span title="[% reserveloo.reservedate | html %]">[% reserveloo.reservedate | $KohaDates %]</span></td>
|
|
<td>
|
|
[% INCLUDE 'biblio-title.inc' biblio=reserveloo.biblio link = 1 %]
|
|
[% UNLESS ( item_level_itypes ) %]
|
|
[% IF ( ItemTypes.GetDescription(reserveloo.item.effective_itemtype) ) %] (<strong>[% ItemTypes.GetDescription(reserveloo.item.effective_itemtype) | html %]</strong>)
|
|
[% END %]
|
|
[% END %]
|
|
<br />Barcode: [% reserveloo.item.barcode | html %]
|
|
</td>
|
|
<td><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% reserveloo.borrower.borrowernumber | uri %]">[% INCLUDE 'patron-title.inc' patron=reserveloo.borrower invert_name=1 no_title=1 %]</a>
|
|
[% IF ( reserveloo.borrower.phone ) %]<br /><span class="patron_phone">[% reserveloo.borrower.phone | html %]</span>[% END %]
|
|
[% IF ( reserveloo.borrower.first_valid_email_address ) %]
|
|
<span class="patron_email"><br /><a href="mailto:[% reserveloo.borrower.first_valid_email_address | uri %]?subject=[% "Hold waiting: " | uri %][% reserveloo.biblio.title | uri %]">
|
|
[% reserveloo.borrower.first_valid_email_address | html %]</a></span>
|
|
[% END %]
|
|
</td>
|
|
<td>[% Branches.GetName( reserveloo.item.homebranch ) | html %]</td>
|
|
<td>[% Branches.GetName( reserveloo.item.holdingbranch ) | html %]</td>
|
|
<td>[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => reserveloo.item.location) | html %]</td>
|
|
<td>[% reserveloo.item.itemcallnumber | html %]</td>
|
|
<td>[% reserveloo.item.copynumber | html %]</td>
|
|
<td>[% reserveloo.item.enumchron | html %]</td>
|
|
<td>
|
|
<form name="cancelReserve" action="waitingreserves.pl" method="post">
|
|
<input type="hidden" name="borrowernumber" value="[% reserveloo.borrower.borrowernumber | html %]" />
|
|
<input type="hidden" name="itemnumber" value="[% reserveloo.item.itemnumber | html %]" />
|
|
<input type="hidden" name="fbr" value="[% reserveloo.item.holdingbranch | html %]" />
|
|
<input type="hidden" name="tbr" value="[% reserveloo.item.homebranch | html %]" />
|
|
<input type="hidden" name="tab" value="[% tab | html %]">
|
|
[% IF ( reserveloo.item.homebranch != reserveloo.item.holdingbranch ) %]
|
|
<button type="submit" class="btn btn-default btn-xs"><i class="fa fa-remove"></i> Cancel hold and return to: [% Branches.GetName( reserveloo.item.homebranch ) | html %]</button>
|
|
[% ELSE %]
|
|
<button type="submit" class="btn btn-default btn-xs"><i class="fa fa-remove"></i> Cancel hold</button>
|
|
[% END %]
|
|
</form>
|
|
</td>
|
|
</tr>
|
|
[% END %]
|
|
</tbody>
|
|
</table>
|