Bugzilla – Attachment 116637 Details for
Bug 20502
Record URL broken, when there is more than one 856 on the record
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20502: Replace texts with 'Link to resource'
Bug-20502-Replace-texts-with-Link-to-resource.patch (text/plain), 4.30 KB, created by
Jonathan Druart
on 2021-02-10 07:46:54 UTC
(
hide
)
Description:
Bug 20502: Replace texts with 'Link to resource'
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2021-02-10 07:46:54 UTC
Size:
4.30 KB
patch
obsolete
>From 8d00b431897e20feec07e0a3b9b1c49e70ad7e07 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 10 Feb 2021 08:46:23 +0100 >Subject: [PATCH] Bug 20502: Replace texts with 'Link to resource' > >--- > .../prog/en/modules/course_reserves/course-details.tt | 4 ++-- > .../opac-tmpl/bootstrap/en/modules/opac-course-details.tt | 4 ++-- > 2 files changed, 4 insertions(+), 4 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-details.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-details.tt >index 1505a65afb..128cc949a4 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-details.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-details.tt >@@ -218,13 +218,13 @@ > <td class="uri"> > [% IF (cr.item.uri) %] > [% IF cr.item.uri.split(' \| ').size > 1 %] >- [% FOREACH uri IN cr.item.uri.split(' \| ') %]<a href="[% uri | url %]">[% uri | html %]</a><br>[% END %] >+ [% FOREACH uri IN cr.item.uri.split(' \| ') %]<a href="[% uri | url %]">Link to resource</a><br>[% END %] > [% ELSE %] > <a href="[% cr.item.uri | url %]">[% IF Koha.Preference('URLLinkText') %][% Koha.Preference('URLLinkText') | html %][% ELSE %]Link to resource[% END %]</a> > [% END %] > [% ELSIF (cr.biblioitem.url) %] > [% IF cr.biblioitem.url.split(' \| ').size > 1 %] >- [% FOREACH uri IN cr.biblioitem.url.split(' \| ') %]<a href="[% uri | url %]">[% uri | html %]</a><br>[% END %] >+ [% FOREACH uri IN cr.biblioitem.url.split(' \| ') %]<a href="[% uri | url %]">Link to resource</a><br>[% END %] > [% ELSE %] > <a href="[% cr.biblioitem.url | url %]">[% IF Koha.Preference('URLLinkText') %][% Koha.Preference('URLLinkText') | html %][% ELSE %]Link to resource[% END %]</a> > [% END %] >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-details.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-details.tt >index 1a5e7c0a86..32b9e39116 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-details.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-details.tt >@@ -96,13 +96,13 @@ > <td class="uri"> > [% IF (cr.item.uri) %] > [% IF cr.item.uri.split(' \| ').size > 1 %] >- [% FOREACH uri IN cr.item.uri.split(' \| ') %]<a href="[% uri | url %]">[% uri | html %]</a><br>[% END %] >+ [% FOREACH uri IN cr.item.uri.split(' \| ') %]<a href="[% uri | url %]">Link to resource</a><br>[% END %] > [% ELSE %] > <a href="[% cr.item.uri | url %]">[% IF Koha.Preference('URLLinkText') %][% Koha.Preference('URLLinkText') | html %][% ELSE %]Link to resource[% END %]</a> > [% END %] > [% ELSIF (cr.biblioitem.url) %] > [% IF cr.biblioitem.url.split(' \| ').size > 1 %] >- [% FOREACH uri IN cr.biblioitem.url.split(' \| ') %]<a href="[% uri | url %]">[% uri | html %]</a><br>[% END %] >+ [% FOREACH uri IN cr.biblioitem.url.split(' \| ') %]<a href="[% uri | url %]">Link to resource</a><br>[% END %] > [% ELSE %] > <a href="[% cr.biblioitem.url | url %]">[% IF Koha.Preference('URLLinkText') %][% Koha.Preference('URLLinkText') | html %][% ELSE %]Link to resource[% END %]</a> > [% END %] >-- >2.20.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 20502
:
108712
|
108737
|
108775
|
116636
|
116637
|
116788
|
116789
|
116790
|
116791