From c4ae51e6e7b665123ecd005a1588ea4b4228b7a8 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Wed, 29 Jul 2020 11:12:12 +0000 Subject: [PATCH] Bug 20472: Add format to sample notices Content-Type: text/plain; charset=utf-8 NOTE: We are only changing English here. A follow-up will care for the translated languages. (English is in yml format, the remainder not yet.) We need to change the following notices: AR_SLIP, AR_CANCELED, AR_PROCESSING, AR_PENDING and AR_COMPLETED. In AR_COMPLETED the last sentence about picking up has been modified too. Test plan: Reinstall Koha. Choose English. Check notice text. Signed-off-by: Marcel de Rooy --- installer/data/mysql/en/mandatory/sample_notices.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/installer/data/mysql/en/mandatory/sample_notices.yml b/installer/data/mysql/en/mandatory/sample_notices.yml index e2d4b121bf..9fb4240abf 100644 --- a/installer/data/mysql/en/mandatory/sample_notices.yml +++ b/installer/data/mysql/en/mandatory/sample_notices.yml @@ -228,6 +228,7 @@ tables: - "Pages: <>" - "Chapters: <>" - "Notes: <>" + - "Format: [% IF article_request.format == 'PHOTOCOPY' %]Copy[% ELSIF article_request.format == 'SCAN' %]Scan[% END %]" - "" - "Your library" @@ -253,8 +254,9 @@ tables: - "Pages: <>" - "Chapters: <>" - "Notes: <>" + - "Format: [% IF article_request.format == 'PHOTOCOPY' %]Copy[% ELSIF article_request.format == 'SCAN' %]Scan[% END %]" - "" - - "You may pick your article up at <>." + - "[% IF article_request.format == 'PHOTOCOPY' %]You may pick up your article at [% branch.branchname %].[% ELSIF article_request.format == 'SCAN' %]You can download the scanned materials via the following url(s): [% article_request.urls %].[% END %]" - "" - "Thank you!" @@ -280,7 +282,7 @@ tables: - "Pages: <>" - "Chapters: <>" - "Notes: <>" - - "" + - "Format: [% IF article_request.format == 'PHOTOCOPY' %]Copy[% ELSIF article_request.format == 'SCAN' %]Scan[% END %]" - "" - "Thank you!" @@ -306,6 +308,7 @@ tables: - "Pages: <>" - "Chapters: <>" - "Notes: <>" + - "Format: [% IF article_request.format == 'PHOTOCOPY' %]Copy[% ELSIF article_request.format == 'SCAN' %]Scan[% END %]" - "" - "Thank you!" @@ -334,6 +337,7 @@ tables: - "Pages: <>" - "Chapters: <>" - "Notes: <>" + - "Format: [% IF article_request.format == 'PHOTOCOPY' %]Copy[% ELSIF article_request.format == 'SCAN' %]Scan[% END %]" - "" - module: circulation -- 2.11.0