Koha/koha-tmpl/intranet-tmpl/prog/en/modules
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
..
acqui Bug 15950: Use Font Awesome icons for acquisitions basket close confirmation 2016-03-03 22:56:43 +00:00
admin Bug 14694 - Make decreaseloanHighHolds more flexible 2016-03-07 17:48:51 +00:00
authorities Bug 15927 - Remove use of <tr class="highlight"> for alternating row colors 2016-03-02 22:07:13 +00:00
basket Bug 14306: Changes for basket and detail templates 2016-03-07 17:58:33 +00:00
batch
catalogue Bug 14306: Changes for basket and detail templates 2016-03-07 17:58:33 +00:00
cataloguing Bug 15959: Use Font Awesome icons for attach item confirmations 2016-03-03 22:54:05 +00:00
circ Bug 15632 [QA Followup] - Undo changes needed for Bug 13618 which was reverted 2016-03-03 21:22:15 +00:00
common Bug 14193 - Accessibility: Searching patrons using the alphabetic index doesn't work 2016-01-23 18:50:47 +00:00
course_reserves Bug 14915: Use Font Awesome instead of Glyphicons for the staff intranet 2015-10-27 10:02:42 -03:00
errors Bug 15288: Error pages: Code duplication removal and better translatability 2016-01-27 05:57:34 +00:00
help Bug 11023: Automatic item modification by age (Was Toggle "new" status") 2016-03-02 22:56:31 +00:00
installer Revert bug 13618 - "Prevent XSS in the Staff Client and the OPAC" due to performance issues 2016-02-11 19:39:53 +00:00
labels Bug 15662: String and translatability fix to Label Creator 2016-02-24 03:44:34 +00:00
members Bug 12426: Allow resend for sent messages 2016-03-03 20:16:07 +00:00
offline_circ Revert bug 13618 - "Prevent XSS in the Staff Client and the OPAC" due to performance issues 2016-02-11 19:39:53 +00:00
patron_lists Bug 15925 [Revised] Correct some markup issues with patron lists pages 2016-03-03 22:30:35 +00:00
patroncards Revert bug 13618 - "Prevent XSS in the Staff Client and the OPAC" due to performance issues 2016-02-11 19:39:53 +00:00
plugins Bug 15592 - spelling mistake in ~/Koha/koha-tmpl/intranet-tmpl/p./plugins/plugins-upload.tt 2016-01-27 02:47:41 +00:00
reports Bug 15927 - Remove use of <tr class="highlight"> for alternating row colors 2016-03-02 22:07:13 +00:00
reserve Bug 15927 - Remove use of <tr class="highlight"> for alternating row colors 2016-03-02 22:07:13 +00:00
reviews Revert bug 13618 - "Prevent XSS in the Staff Client and the OPAC" due to performance issues 2016-02-11 19:39:53 +00:00
rotating_collections Bug 15830 - Move Rotating Collections actions into a drop-down list 2016-02-24 03:14:27 +00:00
serials Bug 15927 - Remove use of <tr class="highlight"> for alternating row colors 2016-03-02 22:07:13 +00:00
services Revert bug 13618 - "Prevent XSS in the Staff Client and the OPAC" due to performance issues 2016-02-11 19:39:53 +00:00
sms
suggestion Bug 15084: Replace C4::Budgets::GetCurrencies with Koha::Acquisition::Currencies->search 2016-03-03 20:39:01 +00:00
tags Bug 15927 - Remove use of <tr class="highlight"> for alternating row colors 2016-03-02 22:07:13 +00:00
test
tools Bug 15635: Koha::Patron::Images - Remove PutPatronImage 2016-03-04 12:53:00 +00:00
virtualshelves Bug 15927 - Remove use of <tr class="highlight"> for alternating row colors 2016-03-02 22:07:13 +00:00
about.tt Bug 7143: Release team for 3.24 2016-03-02 03:48:19 +00:00
auth.tt Revert bug 13618 - "Prevent XSS in the Staff Client and the OPAC" due to performance issues 2016-02-11 19:39:53 +00:00
intranet-main.tt Revert bug 13618 - "Prevent XSS in the Staff Client and the OPAC" due to performance issues 2016-02-11 19:39:53 +00:00