Bugzilla – Attachment 65335 Details for
Bug 15352
Use URLLinkText instead of URL for item links
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15352 Follow - Use default text if pref not set
Bug-15352-Follow---Use-default-text-if-pref-not-se.patch (text/plain), 2.48 KB, created by
Nick Clemens (kidclamp)
on 2017-07-31 11:24:00 UTC
(
hide
)
Description:
Bug 15352 Follow - Use default text if pref not set
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2017-07-31 11:24:00 UTC
Size:
2.48 KB
patch
obsolete
>From abb4e03fbf9f86e039a9bc4f0e691e9de48e2491 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Mon, 31 Jul 2017 11:22:38 +0000 >Subject: [PATCH] Bug 15352 Follow - Use default text if pref not set > >--- > koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt | 2 +- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt | 4 ++-- > 2 files changed, 3 insertions(+), 3 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >index 4ea7a9b..db88ce2 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >@@ -792,7 +792,7 @@ function verify_images() { > [% IF ( Koha.Preference('URLLinkTextItems') && item.uri ) %] > <td class="uri"><a href="[% item.uri %]">[% Koha.Preference('URLLinkTextItems') %]</a></td> > [% ELSE %] >- <td class="uri"><a href="[% item.uri %]">[% item.uri %]</a></td> >+ <td class="uri"><a href="[% item.uri %]"> Link to resource</a></td> > [% END %] > [% END %] > [% IF ( itemdata_copynumber ) %] >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >index c59ec19..93950b8 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >@@ -1333,9 +1333,9 @@ > [% END %] > [% ELSE %] > [% IF Koha.Preference("OPACURLOpenInNewWindow") %] >- <a target="_blank" rel="noreferrer" href="[% ITEM_RESULT.uri %]" property="url">[% ITEM_RESULT.uri %]</a> >+ <a target="_blank" rel="noreferrer" href="[% ITEM_RESULT.uri %]" property="url"> Link to resource</a> > [% ELSE %] >- <a href="[% ITEM_RESULT.uri %]" property="url">[% ITEM_RESULT.uri %]</a> >+ <a href="[% ITEM_RESULT.uri %]" property="url"> Link to resource</a> > [% END %] > [% END %] > [% END %] >-- >2.1.4
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 15352
:
45578
|
62347
|
62473
|
65335
|
98784
|
98828
|
98832
|
98901
|
98905
|
98927