@@ -, +, @@ --- .../prog/en/modules/catalogue/detail.tt | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt @@ -404,12 +404,16 @@ Note that permanent location is a code, and location may be an authval. [% item.dateaccessioned | $KohaDates %] [% item.barcode | html %] [% IF ( itemdata_uri ) %] - [% IF Koha.Preference('URLLinkText') %] - [% Koha.Preference('URLLinkText') | html %] - [% ELSIF item.uri %] - Link to resource + [% IF item.uri.split(' \| ').size > 1 %] + + [% FOREACH uri IN item.uri.split(' \| ') %][% uri | html %]
[% END %] + [% ELSE %] - + + [% IF item.uri %] + [% IF Koha.Preference('URLLinkText') %][% Koha.Preference('URLLinkText') | html %][% ELSE %]Link to resource[% END %] + [% END %] + [% END %] [% END %] [% IF ( itemdata_copynumber ) %] --