Browse Source

Bug 23852: Merge biblio-title.inc and biblio-default-view.inc

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>
20.11.x
Owen Leonard 3 years ago
committed by Jonathan Druart
parent
commit
157d329083
  1. 3
      koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss
  2. 1
      koha-tmpl/intranet-tmpl/prog/en/includes/biblio-default-view.inc
  3. 16
      koha-tmpl/intranet-tmpl/prog/en/includes/biblio-title.inc
  4. 5
      koha-tmpl/intranet-tmpl/prog/en/includes/waiting_holds.inc
  5. 4
      koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt
  6. 2
      koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/ISBDdetail.tt
  7. 2
      koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/MARCdetail.tt
  8. 4
      koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt
  9. 2
      koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/imageviewer.tt
  10. 2
      koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/issuehistory.tt
  11. 2
      koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/moredetail.tt
  12. 2
      koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/stockrotation.tt
  13. 2
      koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbooks.tt
  14. 6
      koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/moveitem.tt
  15. 6
      koha-tmpl/intranet-tmpl/prog/en/modules/circ/article-requests.tt
  16. 2
      koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchoverdues.tt
  17. 2
      koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation_batch_checkouts.tt
  18. 2
      koha-tmpl/intranet-tmpl/prog/en/modules/circ/overdue.tt
  19. 5
      koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt
  20. 18
      koha-tmpl/intranet-tmpl/prog/en/modules/circ/renew.tt
  21. 4
      koha-tmpl/intranet-tmpl/prog/en/modules/circ/request-article.tt
  22. 3
      koha-tmpl/intranet-tmpl/prog/en/modules/circ/reserveratios.tt
  23. 2
      koha-tmpl/intranet-tmpl/prog/en/modules/circ/transferstoreceive.tt
  24. 4
      koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt
  25. 2
      koha-tmpl/intranet-tmpl/prog/en/modules/members/holdshistory.tt
  26. 4
      koha-tmpl/intranet-tmpl/prog/en/modules/members/readingrec.tt
  27. 6
      koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt
  28. 2
      koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/addItems.tt
  29. 2
      koha-tmpl/intranet-tmpl/prog/en/modules/tags/list.tt
  30. 2
      koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_delete_records.tt
  31. 3
      koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt
  32. 2
      koha-tmpl/intranet-tmpl/prog/js/cart.js

3
koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss

@ -999,7 +999,6 @@ details[open] {
position: relative;
.title {
font-size: unset;
font-weight: normal;
}
}
@ -1939,7 +1938,7 @@ li {
}
.title {
font-size: 105%;
font-style: italic;
font-weight: bold;
}

1
koha-tmpl/intranet-tmpl/prog/en/includes/biblio-default-view.inc

@ -1 +0,0 @@
[% IF ( BiblioDefaultViewmarc ) %]<a class="title" href="/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=[% biblionumber |url %]">[% ELSIF ( BiblioDefaultViewlabeled_marc ) %]<a class="title" href="/cgi-bin/koha/catalogue/labeledMARCdetail.pl?biblionumber=[% biblionumber |url %]">[% ELSIF ( BiblioDefaultViewisbd ) %]<a class="title" href="/cgi-bin/koha/catalogue/ISBDdetail.pl?biblionumber=[% biblionumber |url %]">[% ELSE %]<a class="title" href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber |url %]">[% END %]

16
koha-tmpl/intranet-tmpl/prog/en/includes/biblio-title.inc

@ -1,3 +1,15 @@
[% IF ( link ) %]
[% IF ( BiblioDefaultViewmarc ) %]
<a class="title" href="/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=[% biblio.biblionumber |url %]">
[% ELSIF ( BiblioDefaultViewlabeled_marc ) %]
<a class="title" href="/cgi-bin/koha/catalogue/labeledMARCdetail.pl?biblionumber=[% biblio.biblionumber |url %]">
[% ELSIF ( BiblioDefaultViewisbd ) %]
<a class="title" href="/cgi-bin/koha/catalogue/ISBDdetail.pl?biblionumber=[% biblio.biblionumber |url %]">
[% ELSE %]
<a class="title" href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblio.biblionumber |url %]">
[% END %]
[% END %]
[% IF ( biblio.title ) %]
<span class="biblio-title">[% biblio.title | html %]</span>
[% ELSE %]
@ -21,3 +33,7 @@
[% END %]
[% i = i + 1 %]
[% END %]
[% IF ( link ) %]
</a>
[% END %]

5
koha-tmpl/intranet-tmpl/prog/en/includes/waiting_holds.inc

@ -21,9 +21,8 @@
<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-default-view.inc' biblionumber = reserveloo.biblionumber %]
[% INCLUDE 'biblio-title.inc' biblio=reserveloo.biblio %]
</a>
<td>
[% INCLUDE 'biblio-title.inc' biblio=reserveloo.biblio link = 1 %]
[% UNLESS ( item_level_itypes ) %]
[% IF ( ItemTypes.GetDescription(reserveloo.item.effective_itemtype) ) %]&nbsp; (<strong>[% ItemTypes.GetDescription(reserveloo.item.effective_itemtype) | html %]</strong>)
[% END %]

4
koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt

@ -262,9 +262,7 @@
<input type="checkbox" class="select_record" value="[% BIBLIO_RESULT.biblionumber | html %]" name="bib[% BIBLIO_RESULT.biblionumber | html %]" id="bib[% BIBLIO_RESULT.biblionumber | html %]" />
</td>
<td>
<a href="[% BIBLIO_RESULT.dest | url %]?biblionumber=[% BIBLIO_RESULT.biblionumber | uri %]" class="open_title">
[% INCLUDE 'biblio-title.inc' biblio=BIBLIO_RESULT %]
</a>
[% INCLUDE 'biblio-title.inc' biblio=BIBLIO_RESULT link = 1 %]</a>
[% BIBLIO_RESULT.author | html %]
<p>
[% IF ( BIBLIO_RESULT.publishercode ) %]

2
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/ISBDdetail.tt

@ -20,7 +20,7 @@
[% IF ( unknownbiblionumber ) %]
Unknown record
[% ELSE %]
ISBD details for [% INCLUDE 'biblio-title.inc' %]
[% INCLUDE 'biblio-title.inc' link = 1 %] &rsaquo; ISBD details
[% END %]
</div>

2
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/MARCdetail.tt

@ -21,7 +21,7 @@
[% IF ( unknownbiblionumber ) %]
Unknown record
[% ELSE %]
MARC details for <em>[% INCLUDE 'biblio-title.inc' %]</em>
[% INCLUDE 'biblio-title.inc' link = 1 %] &rsaquo; MARC details
[% END %]
</div>

4
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt

@ -48,9 +48,9 @@
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a> &rsaquo;
[% IF ( unknownbiblionumber ) %]
<span class="unknownrecord">Unknown record</span>
Unknown record
[% ELSE %]
<span class="titledetails">Details for <em>[% INCLUDE 'biblio-title.inc' %]</em></span>
[% INCLUDE 'biblio-title.inc' link = 1 %] &rsaquo; Details
[% END %]
</div>

2
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/imageviewer.tt

@ -27,7 +27,7 @@
[% INCLUDE 'header.inc' %]
[% INCLUDE 'cat-search.inc' %]
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a> &rsaquo; <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber | uri %]"><em>[% INCLUDE 'biblio-title.inc' %]</em></a> &rsaquo; Images</div>
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a> &rsaquo; [% INCLUDE 'biblio-title.inc' link = 1 %] &rsaquo; Images</div>
<div class="main container-fluid">
<div class="row">

2
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/issuehistory.tt

@ -15,7 +15,7 @@
[% INCLUDE 'header.inc' %]
[% INCLUDE 'cat-search.inc' %]
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a> &rsaquo; Checkout history for <em>[% INCLUDE 'biblio-title.inc' %]</em></div>
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a> &rsaquo; [% INCLUDE 'biblio-title.inc' link = 1 %] &rsaquo; Checkout history</div>
<div class="main container-fluid">
<div class="row">

2
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/moredetail.tt

@ -15,7 +15,7 @@
[% INCLUDE 'header.inc' %]
[% INCLUDE 'cat-search.inc' %]
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a> &rsaquo; [% INCLUDE 'biblio-default-view.inc' %]<em>[% INCLUDE 'biblio-title.inc' %]</em></a> &rsaquo; Item details</div>
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a> &rsaquo; [% INCLUDE 'biblio-title.inc' link = 1 %] &rsaquo; Item details</div>
<div class="main container-fluid">
<div class="row">

2
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/stockrotation.tt

@ -12,7 +12,7 @@
[% INCLUDE 'header.inc' %]
[% INCLUDE 'cat-search.inc' %]
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a> &rsaquo; Stock rotation details for <em>[% INCLUDE 'biblio-title.inc' %]</em></div>
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a> &rsaquo; [% INCLUDE 'biblio-title.inc' link = 1 %] &rsaquo; Stock rotation details</div>
<div class="main container-fluid">
<div class="row">

2
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbooks.tt

@ -75,7 +75,7 @@
<td><input type="checkbox" class="selection" id="bib[% resultsloo.biblionumber | html %]" name="biblionumber" value="[% resultsloo.biblionumber | html %]" /></td>
<td>
<p>
<a href="/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=[% resultsloo.biblionumber | uri %]">[% INCLUDE 'biblio-title.inc' biblio=resultsloo %]</a>
[% INCLUDE 'biblio-title.inc' biblio=resultsloo link = 1 %]
</p>
[% IF ( resultsloo.summary ) %]
<p>[% resultsloo.summary | html %]</p>

6
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/moveitem.tt

@ -6,7 +6,7 @@
<body id="catalog_moveitem" class="catalog">
[% INCLUDE 'header.inc' %]
[% INCLUDE 'cat-search.inc' %]
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/cataloguing/addbooks.pl">Cataloging</a> &rsaquo; Attach an item to <em>[% INCLUDE 'biblio-title.inc' %]</em></div>
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a> &rsaquo; [% INCLUDE 'biblio-title.inc' link = 1 %] &rsaquo; Attach an item</div>
<div class="main container-fluid">
<div class="row">
@ -66,7 +66,7 @@
</div>
[% END %]
<div class="dialog message">The item has successfully been attached to [% INCLUDE 'biblio-default-view.inc' %]<em>[% bibliotitle | html %]</em></a>.
<div class="dialog message">The item has successfully been attached to [% INCLUDE 'biblio-title.inc' link = 1 %].
<p>
[% INCLUDE actions %]
<button type="submit" class="approve"><i class="fa fa-fw fa-check"></i> OK</button>
@ -94,7 +94,7 @@
[% END %]
[% IF ( missingbarcode ) %]
<h3>Attach an item[% IF ( bibliotitle ) %] to <em>[% bibliotitle | html %]</em>[% END %]</h3>
<h3>Attach an item [% IF ( biblio.title ) %] to [% INCLUDE 'biblio-title.inc' %][% END %]</h3>
<fieldset id="barcode_fieldset">
<label for="barcode">Enter the barcode of the item to attach:</label>
<p class="hint">The item you select will be moved to the target record.</p>

6
koha-tmpl/intranet-tmpl/prog/en/modules/circ/article-requests.tt

@ -132,7 +132,7 @@
<td><input type="checkbox" reqid="[% ar.id | html %]"/></td>
<td class="ar-title">
<p>
<a href="/cgi-bin/koha/circ/request-article.pl?biblionumber=[% ar.biblionumber | uri %]">
<a class="title" href="/cgi-bin/koha/circ/request-article.pl?biblionumber=[% ar.biblionumber | uri %]">
[% INCLUDE 'biblio-title.inc' biblio=ar.biblio %]
</a>
</p>
@ -233,9 +233,7 @@
<td><input type="checkbox" reqid="[% ar.id | html %]"/></td>
<td class="ar-title">
<p>
<a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% ar.biblionumber | uri %]">
[% INCLUDE 'biblio-title.inc' biblio=ar.biblio %]
</a>
[% INCLUDE 'biblio-title.inc' biblio=ar.biblio link = 1%]
</p>
<p>

2
koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchoverdues.tt

@ -45,7 +45,7 @@
[% overduesloo.date_due | html %]
</td>
<td>
[% INCLUDE 'biblio-default-view.inc' biblionumber = overduesloo.biblionumber %][% INCLUDE 'biblio-title.inc' biblio=overduesloo %]</a> [% IF ( overduesloo.author ) %] by [% overduesloo.author | html %][% END %]
[% INCLUDE 'biblio-title.inc' biblio=overduesloo link = 1 %] [% IF ( overduesloo.author ) %] by [% overduesloo.author | html %][% END %]
<br />Barcode : [% overduesloo.barcode | html %]
</td>

2
koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation_batch_checkouts.tt

@ -125,7 +125,7 @@
[% END %]
<td>[% checkout_info.barcode | html %]</td>
<td>
<a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% checkout_info.biblio.biblionumber | uri %]&amp;type=intra"><strong>[% INCLUDE 'biblio-title.inc' biblio=checkout_info.biblio %]</strong></a>[% IF checkout_info.biblio.author %], by [% checkout_info.biblio.author | html %][% END %][% IF ( checkout_info.item.itemnotes ) %]- <span class="circ-hlt">[% checkout_info.item.itemnotes | $raw %]</span>[% END %] <a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% checkout_info.biblio.biblionumber | html %]&amp;itemnumber=[% checkout_info.item.itemnumber | html %]#item[% checkout_info.item.itemnumber | html %]">[% checkout_info.item.barcode | html %]</a>
[% INCLUDE 'biblio-title.inc' biblio=checkout_info.biblio link = 1 %] [% IF checkout_info.biblio.author %], by [% checkout_info.biblio.author | html %][% END %][% IF ( checkout_info.item.itemnotes ) %]- <span class="circ-hlt">[% checkout_info.item.itemnotes | $raw %]</span>[% END %] <a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% checkout_info.biblio.biblionumber | uri %]&amp;itemnumber=[% checkout_info.item.itemnumber | uri %]#item[% checkout_info.item.itemnumber | uri %]">[% checkout_info.item.barcode | html %]</a>
</td>
<td>
[% IF checkout_info.NEEDSCONFIRMATION %]

2
koha-tmpl/intranet-tmpl/prog/en/modules/circ/overdue.tt

@ -79,7 +79,7 @@
[% END %]
<td>[% Categories.GetName( overdueloo.patron.categorycode ) | html %]</td>
<td>[% Branches.GetName( overdueloo.patron.branchcode ) | html %]</td>
<td>[% INCLUDE 'biblio-default-view.inc' biblionumber = overdueloo.biblionumber %][% INCLUDE 'biblio-title.inc' biblio=overdueloo %]</a> [% IF ( overdueloo.author ) %], by [% overdueloo.author | html %][% END %][% IF ( overdueloo.enumchron ) %], [% overdueloo.enumchron | html %][% END %]</td>
<td>[% INCLUDE 'biblio-title.inc' biblio=overdueloo link = 1 %] [% IF ( overdueloo.author ) %], by [% overdueloo.author | html %][% END %][% IF ( overdueloo.enumchron ) %], [% overdueloo.enumchron | html %][% END %]</td>
<td>[% Branches.GetName( overdueloo.homebranchcode ) | html %]</td>
<td>[% Branches.GetName( overdueloo.holdingbranchcode ) | html %]</td>
<td><a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% overdueloo.biblionumber | uri %]&amp;itemnumber=[% overdueloo.itemnum | uri %]#item[% overdueloo.itemnum | uri %]">[% overdueloo.barcode | html %]</a></td>

5
koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt

@ -77,9 +77,8 @@
<td><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% reserveloo.borrowernumber | uri %]">[% reserveloo.firstname | html %] [% reserveloo.surname | html %]</a></td>
<td>
<p>
[% INCLUDE 'biblio-default-view.inc' biblionumber = reserveloo.biblionumber %]
[% INCLUDE 'biblio-title.inc' biblio=reserveloo %]
</a></p>
[% INCLUDE 'biblio-title.inc' biblio=reserveloo link = 1 %]
</p>
[% IF ( reserveloo.author ) %]<p> by [% reserveloo.author | html %]</p>[% END %]
[% IF ( reserveloo.editionstatement ) %]<p>[% reserveloo.editionstatement | html %]</p>[% END %]
[% IF ( reserveloo.publicationyear ) %]<p>[% reserveloo.publicationyear | html %]</p>[% END %]

18
koha-tmpl/intranet-tmpl/prog/en/modules/circ/renew.tt

@ -38,11 +38,11 @@
[% ELSIF error == "no_checkout" %]
<p><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% item.biblio.biblionumber | uri %]">[% INCLUDE 'biblio-title.inc' biblio=item.biblio %]</a> ( <a href="/cgi-bin/koha/catalogue/moredetail.pl?itemnumber=[% item.itemnumber | html %]&amp;biblionumber=[% item.biblio.biblionumber | html %]&amp;bi=[% item.biblioitemnumber.biblioitemnumber | html %]#item[% item.itemnumber | html %]">[% item.barcode | html %]</a> ) is not checked out to a patron.</p>
<p>[% INCLUDE 'biblio-title.inc' biblio=item.biblio link = 1 %] ( <a href="/cgi-bin/koha/catalogue/moredetail.pl?itemnumber=[% item.itemnumber | uri %]&amp;biblionumber=[% item.biblio.biblionumber | uri %]&amp;bi=[% item.biblioitemnumber.biblioitemnumber | uri %]#item[% item.itemnumber | uri %]">[% item.barcode | html %]</a> ) is not checked out to a patron.</p>
[% ELSIF error == "too_many" %]
<p>[% INCLUDE 'biblio-title.inc' biblio=item.biblio %] ( [% item.barcode | html %] ) has been renewed the maximum number of times by [% borrower.firstname | html %] [% borrower.surname | html %] ( <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrower.borrowernumber | uri %]"> [% borrower.cardnumber | html %] </a> )</p>
<p>[% INCLUDE 'biblio-title.inc' biblio=item.biblio link = 1 %] ( [% item.barcode | html %] ) has been renewed the maximum number of times by [% borrower.firstname | html %] [% borrower.surname | html %] ( <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrower.borrowernumber | uri %]"> [% borrower.cardnumber | html %] </a> )</p>
[% IF Koha.Preference('AllowRenewalLimitOverride') %]
<form method="post" action="/cgi-bin/koha/circ/renew.pl">
@ -54,7 +54,7 @@
[% ELSIF error == "too_soon" %]
<p>[% INCLUDE 'biblio-title.inc' biblio=item.biblio %] ( [% item.barcode | html %] ) cannot be renewed before [% soonestrenewdate | $KohaDates %]. </p>
<p>[% INCLUDE 'biblio-title.inc' biblio=item.biblio link = 1 %] ( [% item.barcode | html %] ) cannot be renewed before [% soonestrenewdate | $KohaDates %]. </p>
[% IF Koha.Preference('AllowRenewalLimitOverride') %]
<form method="post" action="/cgi-bin/koha/circ/renew.pl">
@ -66,7 +66,7 @@
[% ELSIF error == "auto_too_soon" %]
<p>[% INCLUDE 'biblio-title.inc' biblio=item.biblio %] ( [% item.barcode | html %] ) has been scheduled for automatic renewal and cannot be renewed before [% soonestrenewdate | $KohaDates %]. </p>
<p>[% INCLUDE 'biblio-title.inc' biblio=item.biblio link = 1 %] ( [% item.barcode | html %] ) has been scheduled for automatic renewal and cannot be renewed before [% soonestrenewdate | $KohaDates %]. </p>
[% IF Koha.Preference('AllowRenewalLimitOverride') %]
<form method="post" action="/cgi-bin/koha/circ/renew.pl">
@ -78,7 +78,7 @@
[% ELSIF error == "auto_too_late" %]
<p>[% INCLUDE 'biblio-title.inc' biblio=item.biblio %] ( [% item.barcode | html %] ) has been scheduled for automatic renewal and cannot be renewed anymore since [% latestautorenewdate | $KohaDates %]. </p>
<p>[% INCLUDE 'biblio-title.inc' biblio=item.biblio link = 1 %] ( [% item.barcode | html %] ) has been scheduled for automatic renewal and cannot be renewed anymore since [% latestautorenewdate | $KohaDates %]. </p>
[% IF Koha.Preference('AllowRenewalLimitOverride') %]
<form method="post" action="/cgi-bin/koha/circ/renew.pl">
@ -90,7 +90,7 @@
[% ELSIF error == "auto_account_expired" %]
<p>[% INCLUDE 'biblio-title.inc' biblio=item.biblio %] ( [% item.barcode | html %] ) has been scheduled for automatic renewal and cannot be renewed because the patron's account is expired</p>
<p>[% INCLUDE 'biblio-title.inc' biblio=item.biblio link = 1 %] ( [% item.barcode | html %] ) has been scheduled for automatic renewal and cannot be renewed because the patron's account is expired</p>
[% IF Koha.Preference('AllowRenewalLimitOverride') %]
<form method="post" action="/cgi-bin/koha/circ/renew.pl">
@ -102,7 +102,7 @@
[% ELSIF error == "auto_renew" or error == "auto_too_much_oweing" %]
<p>[% INCLUDE 'biblio-title.inc' biblio=item.biblio %] ( [% item.barcode | html %] ) has been scheduled for automatic renewal. </p>
<p>[% INCLUDE 'biblio-title.inc' biblio=item.biblio link = 1 %] ( [% item.barcode | html %] ) has been scheduled for automatic renewal. </p>
[% IF Koha.Preference('AllowRenewalLimitOverride') %]
<form method="post" action="/cgi-bin/koha/circ/renew.pl">
@ -114,7 +114,7 @@
[% ELSIF error == "on_reserve" %]
<p>[% INCLUDE 'biblio-title.inc' biblio=item.biblio %] ( [% item.barcode | html %] ): This item is on hold for another patron.</p>
<p>[% INCLUDE 'biblio-title.inc' biblio=item.biblio link = 1 %] ( [% item.barcode | html %] ): This item is on hold for another patron.</p>
<form method="post" action="/cgi-bin/koha/circ/renew.pl">
<input type="hidden" name="barcode" value="[% item.barcode | html %]"/>
@ -154,7 +154,7 @@
<div class="dialog message">
<h3>Item renewed:</h3>
<p>
<a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% item.biblio.biblionumber | uri %]">[% INCLUDE 'biblio-title.inc' biblio=item.biblio %]</a>
[% INCLUDE 'biblio-title.inc' biblio=item.biblio link = 1 %]
( <a href="/cgi-bin/koha/catalogue/moredetail.pl?itemnumber=[% item.itemnumber | uri %]&amp;biblionumber=[% item.biblio.biblionumber | uri %]&amp;bi=[% item.biblioitemnumber.biblioitemnumber | uri %]#item[% item.itemnumber | uri %]">[% item.barcode | html %]</a> )
renewed for
[% borrower.firstname | html %] [% borrower.surname | html %] ( <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrower.borrowernumber | uri %]"> [% borrower.cardnumber | html %] </a> )

4
koha-tmpl/intranet-tmpl/prog/en/modules/circ/request-article.tt

@ -21,7 +21,7 @@
<a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a>
[% UNLESS blocking_error %]
&rsaquo;
<a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber | uri %]">[% INCLUDE 'biblio-title.inc' %]</a>
[% INCLUDE 'biblio-title.inc' link = 1 %]
&rsaquo;
Request article
[% END %]
@ -33,7 +33,7 @@
<div class="col-sm-10 col-sm-push-2">
<main>
<h1>Request article from <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblio.id | uri %]">[% INCLUDE 'biblio-title.inc' %]</a></h1>
<h1>Request article from [% INCLUDE 'biblio-title.inc' link = 1 %]</h1>
[% IF no_patrons_found %]
<div class="dialog alert">
<h3>Patron not found</h3>

3
koha-tmpl/intranet-tmpl/prog/en/modules/circ/reserveratios.tt

@ -57,7 +57,8 @@
<td><p>[% reserveloo.reservecount | html %]</p></td>
<td><p>[% reserveloo.itemcount | html %]</p></td>
<td><a href="#" class="ratiolimit">[% reserveloo.thisratio | html %]</a></td>
<td> [% INCLUDE 'biblio-default-view.inc' biblionumber = reserveloo.biblionumber %][% INCLUDE 'biblio-title.inc' biblio=reserveloo %]</a>[% IF ( reserveloo.author ) %] by [% reserveloo.author | html %][% END %]
<td>
[% INCLUDE 'biblio-title.inc' biblio=reserveloo link = 1 %][% IF ( reserveloo.author ) %] by [% reserveloo.author | html %][% END %]
</td>
<td>
<ul>

2
koha-tmpl/intranet-tmpl/prog/en/modules/circ/transferstoreceive.tt

@ -52,7 +52,7 @@
[% END %]
<td><p><span title="[% reser.datetransfer | html %]">[% reser.datetransfer | $KohaDates %]</span></p> [% IF ( reser.messcompa ) %]<span class="error">Transfer is [% reser.diff | html %] days late</span>[% END %]</td>
<td>
[% INCLUDE 'biblio-default-view.inc' biblionumber = reser.biblionumber %][% INCLUDE 'biblio-title.inc' biblio=reser %]</a> [% IF ( reser.author ) %]by [% reser.author | html %][% END %]
[% INCLUDE 'biblio-title.inc' biblio=reser link = 1 %] [% IF ( reser.author ) %]by [% reser.author | html %][% END %]
[% IF ( reser.itemtype ) %] (<strong>[% reser.itemtype | html %]</strong>)[% END %]
<br />Barcode: [% reser.barcode | html %]
</td>

4
koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt

@ -124,9 +124,7 @@
<tr>
<td class="hq-title">
<p>
<a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% itemsloo.biblionumber | uri %]">
[% INCLUDE 'biblio-title.inc' biblio=itemsloo %]
</a>
[% INCLUDE 'biblio-title.inc' biblio=itemsloo link = 1 %]
</p>
<p>
<div class="hq-biblionumber content_hidden">[% itemsloo.biblionumber | html %]</div>

2
koha-tmpl/intranet-tmpl/prog/en/modules/members/holdshistory.tt

@ -57,7 +57,7 @@
<tbody>
[% FOREACH hold IN holds %]
<tr>
<td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% hold.biblio.biblionumber | uri %]">[% INCLUDE 'biblio-title.inc' biblio=hold.biblio %]</a></td>
<td>[% INCLUDE 'biblio-title.inc' biblio=hold.biblio link = 1 %]</td>
<td>[% hold.biblio.author | html %]</td>
<td>[% hold.item.barcode | html %]</td>
<td>[% Branches.GetName( hold.branchcode ) | html %]</td>

4
koha-tmpl/intranet-tmpl/prog/en/modules/members/readingrec.tt

@ -74,7 +74,9 @@
<td>
<span title="[% issue.issuestimestamp | html %]">[% issue.issuestimestamp | $KohaDates with_hours => 1 %]</span>
</td>
<td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% issue.biblionumber | uri %]">[% INCLUDE 'biblio-title.inc' biblio=issue %]</a></td>
<td>
[% INCLUDE 'biblio-title.inc' biblio=issue link = 1 %]
</td>
<td>[% issue.author | html %]</td>

6
koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt

@ -26,8 +26,8 @@
<div id="breadcrumbs">
<a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo;
<a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a> &rsaquo;
<a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber | uri %]">[% biblio.title | html %]</a> &rsaquo;
Place a hold on [% INCLUDE 'biblio-title.inc' %]
[% INCLUDE 'biblio-title.inc' link =1 %] &rsaquo;
Place a hold
</div>
[% ELSE %]
<div id="breadcrumbs">
@ -69,7 +69,7 @@
[% END %]
[% UNLESS ( multi_hold ) %]
<h1>Place a hold on [% INCLUDE 'biblio-default-view.inc' %][% INCLUDE 'biblio-title.inc' %]</a></h1>
<h1>Place a hold on [% INCLUDE 'biblio-title.inc' link = 1 %]</h1>
[% ELSE %]
<h1>Confirm holds</h1>
[% END %]

2
koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/addItems.tt

@ -104,7 +104,7 @@
</tr>
[% FOREACH collectionItemsLoo IN collectionItemsLoop %]
<tr>
<td>[% INCLUDE 'biblio-default-view.inc' biblionumber = collectionItemsLoo.biblionumber %][% collectionItemsLoo.title | html %]</a></td>
<td>[% INCLUDE 'biblio-title.inc' biblio=collectionItemsLoo link = 1 %]</td>
<td>[% collectionItemsLoo.itemcallnumber | html %]</td>
<td>[% collectionItemsLoo.barcode | html %]</td>
<td><a href="/cgi-bin/koha/rotating_collections/addItems.pl?colId=[% colId | uri %]&amp;barcode=[% collectionItemsLoo.barcode | uri %]&amp;removeItem=1&amp;action=addItem">Remove</a></td>

2
koha-tmpl/intranet-tmpl/prog/en/modules/tags/list.tt

@ -31,7 +31,7 @@ tr.selected { background-color : #FFFFCC; } tr.selected td { background-color :
[% FOREACH title IN titles %]
<tr>
<td>[% INCLUDE 'biblio-default-view.inc' biblionumber = title.biblionumber %][% INCLUDE 'biblio-title.inc' biblio=title %]</a>
<td>[% INCLUDE 'biblio-title.inc' biblio=title link = 1 %]
[% title.author | html %]
<p>[% IF ( title.publishercode ) %]- [% title.publishercode | html %]
[% IF ( title.place ) %] [% title.place | html %][% END %][% END %]

2
koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_delete_records.tt

@ -150,7 +150,7 @@
<tr>
<td><input type="checkbox" name="record_id" id="record_id_[% biblio.biblionumber | html %]" value="[% biblio.biblionumber | html %]" data-items="[% biblio.itemnumbers.size | html %]" data-issues="[% biblio.issues_count | html %]" data-reserves="[% biblio.holds_count | html %]" /></td>
<td><label for="record_id_[% biblio.biblionumber | html %]">[% biblio.biblionumber | html %]</label></td>
<td>[% INCLUDE 'biblio-default-view.inc' biblionumber=biblio.biblionumber %][% INCLUDE 'biblio-title.inc' %]</a></td>
<td>[% INCLUDE 'biblio-title.inc' link = 1 %]</td>
<td><a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% biblio.biblionumber | uri %]">[% biblio.itemnumbers.size | html %]</a></td>
<td><a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% biblio.biblionumber | uri %]">[% biblio.holds_count | html %]</a></td>
<td><a href="/cgi-bin/koha/catalogue/issuehistory.pl?biblionumber=[% biblio.biblionumber | uri %]">[% biblio.issues_count | html %]</a></td>

3
koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt

@ -209,8 +209,7 @@
[% IF ( itemsloo.XSLTBloc ) %]
[% itemsloo.XSLTBloc | $raw %]
[% ELSE %]
[% INCLUDE 'biblio-default-view.inc' biblionumber = itemsloo.biblionumber %]
[% INCLUDE 'biblio-title.inc' biblio=itemsloo %]
[% INCLUDE 'biblio-title.inc' biblio=itemsloo link = 1 %]
</a>
[% END %]
<p class="hold">

2
koha-tmpl/intranet-tmpl/prog/js/cart.js

@ -143,7 +143,7 @@ $(document).ready(function(){
e.preventDefault();
delBasket('popup');
});
$(".open_title").on("click",function(e){
$(".title").on("click",function(e){
e.preventDefault();
openBiblio( this.href );
});

Loading…
Cancel
Save