@@ -, +, @@
- Add toolkit template syntax to notices
- Add translated notice
---
...lAddressForPatronRegistrations_sysprefs.pl | 20 +++++++++----------
.../mysql/en/mandatory/sample_notices.yml | 20 +++++++++----------
.../fr-FR/1-Obligatoire/sample_notices.sql | 15 ++++++++++++++
3 files changed, 35 insertions(+), 20 deletions(-)
--- a/installer/data/mysql/atomicupdate/bug23538-add_EmailPatronRegistrations_and_EmailAddressForPatronRegistrations_sysprefs.pl
+++ a/installer/data/mysql/atomicupdate/bug23538-add_EmailPatronRegistrations_and_EmailAddressForPatronRegistrations_sysprefs.pl
@@ -11,17 +11,17 @@ return {
$dbh->do(q{INSERT IGNORE INTO letter (`module`, `code`, `branchcode`, `name`, `is_html`, `title`, `content`, `message_transport_type`, `lang`) VALUES ( 'members', 'OPAC_REG', '', 'New OPAC self-registration submitted', 1, 'New OPAC self-registration',
'
New OPAC self-registration
- Self-registration made by
+ Self-registration made:
- - <> <>
- - Email: <>
- - Phone: <>
- - Mobile: <>
- - Fax: <>
- - Secondary email: <>
- - Secondary phone:<>
- - Home library: <>
- - Patron category: <>
+ - [% borrowers.firstname %] [% borrowers.surname %]
+ - Email: [% borrowers.email %]
+ - Phone: [% borrowers.phone %]
+ - Mobile: [% borrowers.mobile %]
+ - Fax: [% borrowers.fax %]
+ - Secondary email: [% borrowers.emailpro %]
+ - Secondary phone:[% borrowers.phonepro %]
+ - Home library: [% borrowers.branchcode %]
+ - Patron category: [% borrowers.categorycode %]
', 'email', 'default') });
},
--- a/installer/data/mysql/en/mandatory/sample_notices.yml
+++ a/installer/data/mysql/en/mandatory/sample_notices.yml
@@ -1646,16 +1646,16 @@ tables:
lang: default
content:
- "New OPAC self-registration
"
- - "Self-registration made by
"
+ - "Self-registration made:
"
- ""
- - "- <> <>
"
- - "- Email: <>
"
- - "- Phone: <>
"
- - "- Mobile: <>
"
- - "- Fax: <>
"
- - "- Secondary email: <>
"
- - "- Secondary phone:<>
"
- - "- Home library: <>
"
- - "- Temporary patron category: <>
"
+ - "- [% borrowers.firstname %] [% borrowers.surname %]
"
+ - "- Email: [% borrowers.email %]
"
+ - "- Phone: [% borrowers.phone %]
"
+ - "- Mobile: [% borrowers.mobile %]
"
+ - "- Fax: [% borrowers.fax %]
"
+ - "- Secondary email: [% borrowers.emailpro %]
"
+ - "- Secondary phone: [% borrowers.phonepro %]
"
+ - "- Home library: [% borrowers.branchcode %]
"
+ - "- Temporary patron category: [% borrowers.categorycode %]
"
- "
"
- ""
--- a/installer/data/mysql/fr-FR/1-Obligatoire/sample_notices.sql
+++ a/installer/data/mysql/fr-FR/1-Obligatoire/sample_notices.sql
@@ -503,3 +503,18 @@ INSERT IGNORE INTO letter (module, code, name, title, content, message_transport
[% END %]
[% END %]
", 'email');
+
+INSERT IGNORE INTO letter (`module`, `code`, `branchcode`, `name`, `is_html`, `title`, `content`, `message_transport_type`, `lang`) VALUES ( 'members', 'OPAC_REG', '', 'New OPAC self-registration submitted', 1, 'New OPAC self-registration','New OPAC self-registration
+ Self-registration made:
+
+ - [% borrowers.firstname %] [% borrowers.surname %]
+ - Email: [% borrowers.email %]
+ - Phone: [% borrowers.phone %]
+ - Mobile: [% borrowers.mobile %]
+ - Fax: [% borrowers.fax %]
+ - Secondary email: [% borrowers.emailpro %]
+ - Secondary phone:[% borrowers.phonepro %]
+ - Home library: [% borrowers.branchcode %]
+ - Patron category: [% borrowers.categorycode %]
+
+ ', 'email', 'default')
--