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

Signed-off-by: Niamh Walker-Headon <Niamh.Walker-Headon@tudublin.ie>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
Andrew Isherwood 2020-02-17 12:29:19 +00:00 committed by Martin Renvoize
parent 2a2da6c0ea
commit 48e1716a8a
No known key found for this signature in database
GPG Key ID: 422B469130441A0F
3 changed files with 3 additions and 4 deletions

View File

@ -1,5 +1,4 @@
<div>
<div>[% service.name %]</div>
<table class="ill-availability" id="[% service.id %]">
<thead id="[% service.id %]-header">
<tr>

View File

@ -329,7 +329,7 @@
</div>
<div class="modal-body">
[% FOR service IN services %]
<h4 class="ill_availability_sourcename">[% service.plugin %]</h4>
<h4 class="ill_availability_sourcename">[% service.name %]</h4>
[% INCLUDE 'ill-availability-table.inc' service=service %]
[% END %]
<span id="service_id_restrict" data-service_id_restrict_plugin="ILL availability - z39.50" data-service_id_restrict_ids=""></span>
@ -744,7 +744,7 @@
</div>
</form>
[% FOR service IN services %]
<h4 class="ill_availability_sourcename">[% service.plugin %]</h4>
<h4 class="ill_availability_sourcename">[% service.name %]</h4>
[% INCLUDE 'ill-availability-table.inc' service=service %]
[% END %]
</div>

View File

@ -251,7 +251,7 @@
</div>
</form>
[% FOR service IN services %]
<h4 class="ill_availability_sourcename">[% service.plugin %]</h4>
<h4 class="ill_availability_sourcename">[% service.name %]</h4>
[% INCLUDE 'ill-availability-table.inc' service=service %]
[% END %]
</div>