From acdfba7236c7ab8e240c3435d065a833d37a6e7d 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 --- .../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 5c7ed3f47b..bba578c3a1 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.2