From 6af6e3712a1e7b18cb65ec7271ada8430a12cc12 Mon Sep 17 00:00:00 2001 From: Andrew Isherwood Date: Mon, 17 Feb 2020 12:29:19 +0000 Subject: [PATCH] Bug 23173: (follow-up) Allow for customisable display name We now allow for the service to return a name that can be specified in the plugin config. This patch switches to using that, rather than just the plugin name defined in the plugin's metadata hashref --- koha-tmpl/intranet-tmpl/prog/en/includes/ill-availability-table.inc | 1 - koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt | 4 ++-- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-illrequests.tt | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/ill-availability-table.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/ill-availability-table.inc index 3cd00e709d..69e6679edc 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/ill-availability-table.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/ill-availability-table.inc @@ -1,5 +1,4 @@
-
[% service.name %]
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt index 27ccaf5ad9..c9fe65bcb5 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt @@ -181,7 +181,7 @@ [% FOR service IN services %] -

[% service.plugin %]

+

[% service.name %]

[% INCLUDE 'ill-availability-table.inc' service=service %] [% END %] diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-illrequests.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-illrequests.tt index a2b0571329..77fa2aaa22 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-illrequests.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-illrequests.tt @@ -251,7 +251,7 @@ [% FOR service IN services %] -

[% service.plugin %]

+

[% service.name %]

[% INCLUDE 'ill-availability-table.inc' service=service %] [% END %] -- 2.11.0