From f6b9f25a4fa776457cbbf7a09205f9e9e7902ac7 Mon Sep 17 00:00:00 2001 From: Owen Leonard 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 Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi --- 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; }
  • Type: [% AuthorisedValues.GetByCode( 'VENDOR_INTERFACE_TYPE', i.type) | html %]
  • [% END %] [% IF i.uri %] -
  • URI: [% i.uri | html %]
  • +
  • + URI: + [% i.uri | html %] +
  • [% END %] [% IF i.login %]
  • Login: [% i.login | html %]
  • -- 2.39.5