Bug 10847: Open link to vendor's website in new window
authorKatrin Fischer <Katrin.Fischer.83@web.de>
Tue, 10 Sep 2013 19:18:13 +0000 (21:18 +0200)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 23 Sep 2013 16:10:33 +0000 (16:10 +0000)
To test:
- Create a new vendor or edit an existing one
- Make sure you have entered a valid URL for the website
- Click the link from the vendor summary page and verify it opens
  in a new window/tab (depending on your browser configuration)

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt

index 2ac576a..79ae629 100644 (file)
@@ -200,7 +200,7 @@ if (f.company.value == "") {
                 <p><span class="label">Phone: </span>[% phone %]</p>
                 <p><span class="label">Fax: </span>[% fax %]</p>
                 [% IF ( url ) %]
-                    <p><span class="label">Website: </span><a href="[% url %]">[% url %]</a></p>
+                    <p><span class="label">Website: </span><a href="[% url %]" target="_blank">[% url %]</a></p>
                 [% END %]
                 [% IF ( accountnumber ) %]
                     <p><span class="label">Account number: </span>[% accountnumber %]</p>