From 74537d7378eede003ed8a264cabd56f5b67b98b7 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Mon, 21 Oct 2019 14:13:01 +0000 Subject: [PATCH] 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 --- koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss | 3 +-- .../prog/en/includes/biblio-default-view.inc | 1 - .../intranet-tmpl/prog/en/includes/biblio-title.inc | 16 ++++++++++++++++ .../intranet-tmpl/prog/en/includes/waiting_holds.inc | 5 ++--- .../prog/en/modules/acqui/neworderbiblio.tt | 2 +- .../intranet-tmpl/prog/en/modules/basket/basket.tt | 4 +--- .../prog/en/modules/catalogue/ISBDdetail.tt | 2 +- .../prog/en/modules/catalogue/MARCdetail.tt | 2 +- .../intranet-tmpl/prog/en/modules/catalogue/detail.tt | 2 +- .../prog/en/modules/catalogue/imageviewer.tt | 2 +- .../prog/en/modules/catalogue/issuehistory.tt | 2 +- .../prog/en/modules/catalogue/moredetail.tt | 2 +- .../prog/en/modules/catalogue/stockrotation.tt | 2 +- .../prog/en/modules/cataloguing/addbooks.tt | 2 +- .../prog/en/modules/cataloguing/moveitem.tt | 6 +++--- .../prog/en/modules/circ/article-requests.tt | 6 ++---- .../prog/en/modules/circ/branchoverdues.tt | 2 +- .../en/modules/circ/circulation_batch_checkouts.tt | 2 +- .../intranet-tmpl/prog/en/modules/circ/overdue.tt | 2 +- .../prog/en/modules/circ/pendingreserves.tt | 5 ++--- koha-tmpl/intranet-tmpl/prog/en/modules/circ/renew.tt | 18 +++++++++--------- .../prog/en/modules/circ/request-article.tt | 4 ++-- .../prog/en/modules/circ/reserveratios.tt | 3 ++- .../prog/en/modules/circ/transferstoreceive.tt | 2 +- .../prog/en/modules/circ/view_holdsqueue.tt | 4 +--- .../prog/en/modules/members/holdshistory.tt | 2 +- .../prog/en/modules/members/readingrec.tt | 4 +++- .../intranet-tmpl/prog/en/modules/reserve/request.tt | 6 +++--- .../prog/en/modules/rotating_collections/addItems.tt | 2 +- koha-tmpl/intranet-tmpl/prog/en/modules/tags/list.tt | 2 +- .../prog/en/modules/tools/batch_delete_records.tt | 2 +- .../prog/en/modules/virtualshelves/shelves.tt | 3 +-- koha-tmpl/intranet-tmpl/prog/js/cart.js | 2 +- 33 files changed, 66 insertions(+), 58 deletions(-) delete mode 100644 koha-tmpl/intranet-tmpl/prog/en/includes/biblio-default-view.inc diff --git a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss index c96fee7fdc5..2078363349e 100644 --- a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss +++ b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss @@ -998,7 +998,6 @@ details[open] { position: relative; .title { - font-size: unset; font-weight: normal; } } @@ -1926,7 +1925,7 @@ li { } .title { - font-size: 105%; + font-style: italic; font-weight: bold; } diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/biblio-default-view.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/biblio-default-view.inc deleted file mode 100644 index a79fab3f5f8..00000000000 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/biblio-default-view.inc +++ /dev/null @@ -1 +0,0 @@ -[% IF ( BiblioDefaultViewmarc ) %][% ELSIF ( BiblioDefaultViewlabeled_marc ) %][% ELSIF ( BiblioDefaultViewisbd ) %][% ELSE %][% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/biblio-title.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/biblio-title.inc index 1f070cffcca..a714f4ca803 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/biblio-title.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/biblio-title.inc @@ -1,3 +1,15 @@ +[% IF ( link ) %] + [% IF ( BiblioDefaultViewmarc ) %] + + [% ELSIF ( BiblioDefaultViewlabeled_marc ) %] + + [% ELSIF ( BiblioDefaultViewisbd ) %] + + [% ELSE %] + + [% END %] +[% END %] + [% IF ( biblio.title ) %] [% biblio.title | html %] [% ELSE %] @@ -21,3 +33,7 @@ [% END %] [% i = i + 1 %] [% END %] + +[% IF ( link ) %] + +[% END %] \ No newline at end of file diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/waiting_holds.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/waiting_holds.inc index 716f1c7bdfe..8e7d6191e96 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/waiting_holds.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/waiting_holds.inc @@ -21,9 +21,8 @@ [% reserveloo.waitingdate | $KohaDates %] [% reserveloo.reservedate | $KohaDates %] - [% INCLUDE 'biblio-default-view.inc' biblionumber = reserveloo.biblionumber %] - [% INCLUDE 'biblio-title.inc' biblio=reserveloo.biblio %] - + + [% INCLUDE 'biblio-title.inc' biblio=reserveloo.biblio link = 1 %] [% UNLESS ( item_level_itypes ) %] [% IF ( ItemTypes.GetDescription(reserveloo.item.effective_itemtype) ) %]  ([% ItemTypes.GetDescription(reserveloo.item.effective_itemtype) | html %]) [% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderbiblio.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderbiblio.tt index 7cd031cdf75..c7769e68e81 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderbiblio.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderbiblio.tt @@ -51,7 +51,7 @@ [% FOREACH biblio IN resultsloop %] -

[% INCLUDE 'biblio-title.inc' %] +

[% INCLUDE 'biblio-title.inc' link = 1 %] [% IF ( biblio.author ) %] by [% biblio.author | html %],[% END %]

[% IF ( biblio.isbn ) %] [% biblio.isbn | html %][% END %] [% IF ( biblio.pages ) %] - [% biblio.pages | html %][% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt index d110dcbe521..bc54698e5c7 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt @@ -262,9 +262,7 @@ - - [% INCLUDE 'biblio-title.inc' biblio=BIBLIO_RESULT %] - + [% INCLUDE 'biblio-title.inc' biblio=BIBLIO_RESULT link = 1 %] [% BIBLIO_RESULT.author | html %]

[% IF ( BIBLIO_RESULT.publishercode ) %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/ISBDdetail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/ISBDdetail.tt index 346b53b7a77..2debb64f755 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/ISBDdetail.tt +++ b/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 %] › ISBD details [% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/MARCdetail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/MARCdetail.tt index 9e357cb2a16..c51ea90e38d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/MARCdetail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/MARCdetail.tt @@ -21,7 +21,7 @@ [% IF ( unknownbiblionumber ) %] Unknown record [% ELSE %] - MARC details for [% INCLUDE 'biblio-title.inc' %] + [% INCLUDE 'biblio-title.inc' link = 1 %] › MARC details [% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt index 4f6f474db63..28fef5f0ad5 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt @@ -49,7 +49,7 @@ [% IF ( unknownbiblionumber ) %] Unknown record [% ELSE %] - Details for [% INCLUDE 'biblio-title.inc' %] + [% INCLUDE 'biblio-title.inc' link = 1 %] › Details [% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/imageviewer.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/imageviewer.tt index 712420d4e17..2c4d81aa09d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/imageviewer.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/imageviewer.tt @@ -27,7 +27,7 @@ [% INCLUDE 'header.inc' %] [% INCLUDE 'cat-search.inc' %] -

+
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/issuehistory.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/issuehistory.tt index 9320d9251a4..c0d57fc3b86 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/issuehistory.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/issuehistory.tt @@ -15,7 +15,7 @@ [% INCLUDE 'header.inc' %] [% INCLUDE 'cat-search.inc' %] - +
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/moredetail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/moredetail.tt index 85327f5e9f1..ce82d9145a8 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/moredetail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/moredetail.tt @@ -15,7 +15,7 @@ [% INCLUDE 'header.inc' %] [% INCLUDE 'cat-search.inc' %] - +
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/stockrotation.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/stockrotation.tt index 92aea46250e..a71587ec765 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/stockrotation.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/stockrotation.tt @@ -12,7 +12,7 @@ [% INCLUDE 'header.inc' %] [% INCLUDE 'cat-search.inc' %] - +
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbooks.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbooks.tt index 90f80bf2351..b8bc89a6037 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbooks.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbooks.tt @@ -75,7 +75,7 @@

- [% INCLUDE 'biblio-title.inc' biblio=resultsloo %] + [% INCLUDE 'biblio-title.inc' biblio=resultsloo link = 1 %]

[% IF ( resultsloo.summary ) %]

[% resultsloo.summary | html %]

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/moveitem.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/moveitem.tt index b53bef41f93..77cc4058add 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/moveitem.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/moveitem.tt @@ -6,7 +6,7 @@ [% INCLUDE 'header.inc' %] [% INCLUDE 'cat-search.inc' %] - +
@@ -66,7 +66,7 @@
[% END %] -
The item has successfully been attached to [% INCLUDE 'biblio-default-view.inc' %][% bibliotitle | html %]. +
The item has successfully been attached to [% INCLUDE 'biblio-title.inc' link = 1 %].

[% INCLUDE actions %] @@ -94,7 +94,7 @@ [% END %] [% IF ( missingbarcode ) %] -

Attach an item[% IF ( bibliotitle ) %] to [% bibliotitle | html %][% END %]

+

Attach an item [% IF ( biblio.title ) %] to [% INCLUDE 'biblio-title.inc' %][% END %]

The item you select will be moved to the target record.

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/article-requests.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/article-requests.tt index 2fbc06d53bc..f78dc511c53 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/article-requests.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/article-requests.tt @@ -128,7 +128,7 @@

- + [% INCLUDE 'biblio-title.inc' biblio=ar.biblio %]

@@ -235,9 +235,7 @@

- - [% INCLUDE 'biblio-title.inc' biblio=ar.biblio %] - + [% INCLUDE 'biblio-title.inc' biblio=ar.biblio link = 1%]

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchoverdues.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchoverdues.tt index 37744f6aa47..ed66feb1455 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchoverdues.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchoverdues.tt @@ -45,7 +45,7 @@ [% overduesloo.date_due | html %] - [% INCLUDE 'biblio-default-view.inc' biblionumber = overduesloo.biblionumber %][% INCLUDE 'biblio-title.inc' biblio=overduesloo %] [% IF ( overduesloo.author ) %] by [% overduesloo.author | html %][% END %] + [% INCLUDE 'biblio-title.inc' biblio=overduesloo link = 1 %] [% IF ( overduesloo.author ) %] by [% overduesloo.author | html %][% END %]
Barcode : [% overduesloo.barcode | html %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation_batch_checkouts.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation_batch_checkouts.tt index 2550819714a..65d3acc08ea 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation_batch_checkouts.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation_batch_checkouts.tt @@ -117,7 +117,7 @@ [% END %] [% checkout_info.barcode | html %] - [% INCLUDE 'biblio-title.inc' biblio=checkout_info.biblio %][% IF checkout_info.biblio.author %], by [% checkout_info.biblio.author | html %][% END %][% IF ( checkout_info.item.itemnotes ) %]- [% checkout_info.item.itemnotes | $raw %][% END %] [% checkout_info.item.barcode | html %] + [% 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 ) %]- [% checkout_info.item.itemnotes | $raw %][% END %] [% checkout_info.item.barcode | html %] [% IF checkout_info.NEEDSCONFIRMATION %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/overdue.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/overdue.tt index 1e29484a700..ae016b54beb 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/overdue.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/overdue.tt @@ -79,7 +79,7 @@ [% END %] [% Categories.GetName( overdueloo.patron.categorycode ) | html %] [% Branches.GetName( overdueloo.homebranchcode ) | html %] - [% INCLUDE 'biblio-default-view.inc' biblionumber = overdueloo.biblionumber %][% INCLUDE 'biblio-title.inc' biblio=overdueloo %] [% IF ( overdueloo.author ) %], by [% overdueloo.author | html %][% END %][% IF ( overdueloo.enumchron ) %], [% overdueloo.enumchron | html %][% END %] + [% INCLUDE 'biblio-title.inc' biblio=overdueloo link = 1 %] [% IF ( overdueloo.author ) %], by [% overdueloo.author | html %][% END %][% IF ( overdueloo.enumchron ) %], [% overdueloo.enumchron | html %][% END %] [% Branches.GetName( overdueloo.holdingbranchcode ) | html %] [% Branches.GetName( overdueloo.patron.branchcode ) | html %] [% overdueloo.barcode | html %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt index 1510f81ed95..e492211d6df 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt @@ -76,9 +76,8 @@ [% reserveloo.firstname | html %] [% reserveloo.surname | html %]

- [% INCLUDE 'biblio-default-view.inc' biblionumber = reserveloo.biblionumber %] - [% INCLUDE 'biblio-title.inc' biblio=reserveloo %] -

+ [% INCLUDE 'biblio-title.inc' biblio=reserveloo link = 1 %] +

[% IF ( reserveloo.author ) %]

by [% reserveloo.author | html %]

[% END %] [% ELSE %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/renew.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/renew.tt index 608ed5c84d7..66b5d329fd0 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/renew.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/renew.tt @@ -38,11 +38,11 @@ [% ELSIF error == "no_checkout" %] -

[% INCLUDE 'biblio-title.inc' biblio=item.biblio %] ( [% item.barcode | html %] ) is not checked out to a patron.

+

[% INCLUDE 'biblio-title.inc' biblio=item.biblio link = 1 %] ( [% item.barcode | html %] ) is not checked out to a patron.

[% ELSIF error == "too_many" %] -

[% 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 %] ( [% borrower.cardnumber | html %] )

+

[% 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 %] ( [% borrower.cardnumber | html %] )

[% IF Koha.Preference('AllowRenewalLimitOverride') %]
@@ -54,7 +54,7 @@ [% ELSIF error == "too_soon" %] -

[% INCLUDE 'biblio-title.inc' biblio=item.biblio %] ( [% item.barcode | html %] ) cannot be renewed before [% soonestrenewdate | $KohaDates %].

+

[% INCLUDE 'biblio-title.inc' biblio=item.biblio link = 1 %] ( [% item.barcode | html %] ) cannot be renewed before [% soonestrenewdate | $KohaDates %].

[% IF Koha.Preference('AllowRenewalLimitOverride') %] @@ -66,7 +66,7 @@ [% ELSIF error == "auto_too_soon" %] -

[% INCLUDE 'biblio-title.inc' biblio=item.biblio %] ( [% item.barcode | html %] ) has been scheduled for automatic renewal and cannot be renewed before [% soonestrenewdate | $KohaDates %].

+

[% 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 %].

[% IF Koha.Preference('AllowRenewalLimitOverride') %] @@ -78,7 +78,7 @@ [% ELSIF error == "auto_too_late" %] -

[% INCLUDE 'biblio-title.inc' biblio=item.biblio %] ( [% item.barcode | html %] ) has been scheduled for automatic renewal and cannot be renewed anymore since [% latestautorenewdate | $KohaDates %].

+

[% 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 %].

[% IF Koha.Preference('AllowRenewalLimitOverride') %] @@ -90,7 +90,7 @@ [% ELSIF error == "auto_account_expired" %] -

[% 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

+

[% 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

[% IF Koha.Preference('AllowRenewalLimitOverride') %] @@ -102,7 +102,7 @@ [% ELSIF error == "auto_renew" or error == "auto_too_much_oweing" %] -

[% INCLUDE 'biblio-title.inc' biblio=item.biblio %] ( [% item.barcode | html %] ) has been scheduled for automatic renewal.

+

[% INCLUDE 'biblio-title.inc' biblio=item.biblio link = 1 %] ( [% item.barcode | html %] ) has been scheduled for automatic renewal.

[% IF Koha.Preference('AllowRenewalLimitOverride') %] @@ -114,7 +114,7 @@ [% ELSIF error == "on_reserve" %] -

[% INCLUDE 'biblio-title.inc' biblio=item.biblio %] ( [% item.barcode | html %] ): This item is on hold for another patron.

+

[% INCLUDE 'biblio-title.inc' biblio=item.biblio link = 1 %] ( [% item.barcode | html %] ): This item is on hold for another patron.

@@ -153,7 +153,7 @@

Item renewed:

- [% INCLUDE 'biblio-title.inc' biblio=item.biblio %] + [% INCLUDE 'biblio-title.inc' biblio=item.biblio link = 1 %] ( [% item.barcode | html %] ) renewed for [% borrower.firstname | html %] [% borrower.surname | html %] ( [% borrower.cardnumber | html %] ) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/request-article.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/request-article.tt index e2257fc8e5e..de929cbc2fa 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/request-article.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/request-article.tt @@ -21,7 +21,7 @@ Catalog [% UNLESS blocking_error %] › - [% INCLUDE 'biblio-title.inc' %] + [% INCLUDE 'biblio-title.inc' link = 1 %] › Request article [% END %] @@ -33,7 +33,7 @@

-

Request article from [% INCLUDE 'biblio-title.inc' %]

+

Request article from [% INCLUDE 'biblio-title.inc' link = 1 %]

[% IF no_patrons_found %]

Patron not found

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/reserveratios.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/reserveratios.tt index 9654062c935..51b7a3866c6 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/reserveratios.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/reserveratios.tt @@ -57,7 +57,8 @@

[% reserveloo.reservecount | html %]

[% reserveloo.itemcount | html %]

[% reserveloo.thisratio | html %] - [% INCLUDE 'biblio-default-view.inc' biblionumber = reserveloo.biblionumber %][% INCLUDE 'biblio-title.inc' biblio=reserveloo %][% IF ( reserveloo.author ) %] by [% reserveloo.author | html %][% END %] + + [% INCLUDE 'biblio-title.inc' biblio=reserveloo link = 1 %][% IF ( reserveloo.author ) %] by [% reserveloo.author | html %][% END %]
    diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/transferstoreceive.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/transferstoreceive.tt index f0c3d4ffdfd..ea65f5259cd 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/transferstoreceive.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/transferstoreceive.tt @@ -52,7 +52,7 @@ [% END %]

    [% reser.datetransfer | $KohaDates %]

    [% IF ( reser.messcompa ) %]Transfer is [% reser.diff | html %] days late[% END %] - [% INCLUDE 'biblio-default-view.inc' biblionumber = reser.biblionumber %][% INCLUDE 'biblio-title.inc' biblio=reser %] [% 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 ) %] ([% reser.itemtype | html %])[% END %]
    Barcode: [% reser.barcode | html %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt index 63bc6263de1..5bc32787986 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt @@ -124,9 +124,7 @@

    - - [% INCLUDE 'biblio-title.inc' biblio=itemsloo %] - + [% INCLUDE 'biblio-title.inc' biblio=itemsloo link = 1 %]

    [% itemsloo.biblionumber | html %]
    diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/holdshistory.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/holdshistory.tt index 9510750cbe8..1f3fe2889ea 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/holdshistory.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/holdshistory.tt @@ -57,7 +57,7 @@ [% FOREACH hold IN holds %] - [% INCLUDE 'biblio-title.inc' biblio=hold.biblio %] + [% INCLUDE 'biblio-title.inc' biblio=hold.biblio link = 1 %] [% hold.biblio.author | html %] [% hold.item.barcode | html %] [% Branches.GetName( hold.branchcode ) | html %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/readingrec.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/readingrec.tt index 6d7ae6b829b..22ec449a935 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/readingrec.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/readingrec.tt @@ -74,7 +74,9 @@ [% issue.issuestimestamp | $KohaDates with_hours => 1 %] - [% INCLUDE 'biblio-title.inc' biblio=issue %] + + [% INCLUDE 'biblio-title.inc' biblio=issue link = 1 %] + [% issue.author | html %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt index 43c0f2aa84f..a5882ab1fe9 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt @@ -25,8 +25,8 @@ [% ELSE %]