Koha/koha-tmpl/opac-tmpl/bootstrap
Marcel de Rooy 01994e2c48 Bug 14306: Changes for basket and detail templates
A simple regex is added to the basket and detail templates to select the
URLs passed separately from MARC21 555$u by GetMarcNotes. Note that the
regex tests if a note starts with http:// or https:// and does not contain
any whitespace in order to be considered as a url.
These URLs are put in an anchor tag.

This touches four places:
[1] opac detail, tab title notes
[2] catalogue detail, tab Descriptions
[3] opac basket, more details, notes
[4] staff basket, more details, notes

Test plan:
[1] Edit a record. Add a 500$a, 555$a and a URL in 555$u.
    Put "http://this is not a url" in the 500$a (whitespace!).
[2] Check opac-detail, tab Title Notes. Check the URL.
[3] Do the same for catalogue/detail.
[4] Add record to cart in OPAC. Open basket. Check More details.
[5] Repeat previous step in staff.

Signed-off-by: Marc Véron <veron@veron.ch>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
2016-03-07 17:58:33 +00:00
..
css Bug 15071 [QA Followup] - Update compiled css again 2016-02-24 16:51:23 +00:00
en Bug 14306: Changes for basket and detail templates 2016-03-07 17:58:33 +00:00
images
itemtypeimg
js Bug 14523 - Google jackets being blocked when OPAC using HTTPS 2016-02-26 14:16:41 +00:00
less Bug 15071 - In OPAC search results, "checked out" status should be more visible 2016-02-24 16:42:16 +00:00
lib Bug 13696: Add support for Font Awesome icons in Koha 2015-10-27 09:57:23 -03:00