From 08f51640646b93a2dc9b776d6dc13ebc27523cc4 Mon Sep 17 00:00:00 2001 From: Paul Derscheid Date: Mon, 5 Aug 2024 12:07:48 +0000 Subject: [PATCH] Bug 36915: (follow-up) Make basic sample notice html and add breaks Signed-off-by: David Nind Signed-off-by: Owen Leonard Signed-off-by: Martin Renvoize Signed-off-by: Katrin Fischer --- .../mysql/en/mandatory/sample_notices.yml | 21 ++++++++++--------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/installer/data/mysql/en/mandatory/sample_notices.yml b/installer/data/mysql/en/mandatory/sample_notices.yml index b016dcd3ea..bf7e31eb44 100644 --- a/installer/data/mysql/en/mandatory/sample_notices.yml +++ b/installer/data/mysql/en/mandatory/sample_notices.yml @@ -47,21 +47,22 @@ tables: code: BOOKING_CANCELLATION branchcode: "" name: "Booking cancellation notice" - is_html: 0 - title: "A library bookings has been cancelled" + is_html: 1 + title: "A library booking was cancelled" message_transport_type: email lang: default content: - "[%- PROCESS 'html_helpers.inc' -%]" - "[%- USE KohaDates -%]" - - "Dear [%- INCLUDE 'patron-title.inc' patron => booking.patron -%]," - - "" - - "We regret to inform you, that the following booking has been cancelled." - - "" - - "Title: [%- INCLUDE 'biblio-title.inc' biblio=booking.biblio link = 0 -%]" - - "Dates: [% booking.start_date | $KohaDates %] to [% booking.end_date | $KohaDates %]" - - "" - - "You library." + - "Dear [%- INCLUDE 'patron-title.inc' patron => booking.patron -%],
" + - "
" + - "We regret to inform you, that the following booking has been cancelled.
" + - "
" + - "Title: [%- INCLUDE 'biblio-title.inc' biblio=booking.biblio link = 0 -%]
" + - "
" + - "Dates: [% booking.start_date | $KohaDates %] to [% booking.end_date | $KohaDates %]
" + - "
" + - "Your library." - module: catalogue code: TICKET_ACKNOWLEDGE -- 2.39.5