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:
parent
2a2da6c0ea
commit
48e1716a8a
|
|
@ -1,5 +1,4 @@
|
|||
<div>
|
||||
<div>[% service.name %]</div>
|
||||
<table class="ill-availability" id="[% service.id %]">
|
||||
<thead id="[% service.id %]-header">
|
||||
<tr>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue