Bugzilla – Attachment 155912 Details for
Bug 33499
Make interface URL clickable on vendor details
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33499: Make interface URL clickable on vendor details
Bug-33499-Make-interface-URL-clickable-on-vendor-d.patch (text/plain), 1.98 KB, created by
Katrin Fischer
on 2023-09-19 20:38:30 UTC
(
hide
)
Description:
Bug 33499: Make interface URL clickable on vendor details
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2023-09-19 20:38:30 UTC
Size:
1.98 KB
patch
obsolete
>From f22516275fd0fc8be7ffef136ef8dbdaae4eb85f Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Tue, 19 Sep 2023 10:57:52 +0000 >Subject: [PATCH] Bug 33499: Make interface URL clickable on vendor details > >This patch adds markup around the vendor details interface URL so that >it is a clickable link. > >To test, apply the patch and go to Acquisitions. > >- Search for a vendor >- If you don't have a vendor with interfaces defined, edit one > - Under Interfaces -> Interface details, fill out the form, including > the URI field. > - Add more than one interface >- Save your changes and then view the vendor details page >- In the Interfaces section the interfaces you defined should have > clickable links. > >Signed-off-by: Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt >index 6aff9ea0ad..2450eb2e9a 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt >@@ -424,7 +424,10 @@ div.rows { padding: 1rem; } > <li><span class="label">Type: </span>[% AuthorisedValues.GetByCode( 'VENDOR_INTERFACE_TYPE', i.type) | html %]</li> > [% END %] > [% IF i.uri %] >- <li><span class="label">URI: </span>[% i.uri | html %]</li> >+ <li> >+ <span class="label">URI: </span> >+ <a href="[% i.uri | url %]">[% i.uri | html %]</a> >+ </li> > [% END %] > [% IF i.login %] > <li><span class="label">Login: </span>[% i.login | html %]</li> >-- >2.30.2
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 33499
:
155889
|
155895
| 155912 |
155913