From 303f3dc1f8cada9cfbde221933ba6ca074eb5759 Mon Sep 17 00:00:00 2001 From: saparatayev Date: Wed, 9 Feb 2022 11:12:14 +0500 Subject: [PATCH] test email template --- plugins/tps/birzha/Plugin.php | 4 ++ .../tps/birzha/views/mail/layout-empty.htm | 29 ++++++++++ plugins/tps/birzha/views/mail/test.htm | 57 +++++++++++++++++++ 3 files changed, 90 insertions(+) create mode 100644 plugins/tps/birzha/views/mail/layout-empty.htm create mode 100644 plugins/tps/birzha/views/mail/test.htm diff --git a/plugins/tps/birzha/Plugin.php b/plugins/tps/birzha/Plugin.php index 32b5fe964..5b90f884b 100644 --- a/plugins/tps/birzha/Plugin.php +++ b/plugins/tps/birzha/Plugin.php @@ -219,6 +219,7 @@ class Plugin extends PluginBase return [ 'birzha_default' => 'tps.birzha::mail.layout-default', 'birzha_system' => 'tps.birzha::mail.layout-system', + 'birzha_empty' => 'tps.birzha::mail.layout-empty', ]; } @@ -250,6 +251,9 @@ class Plugin extends PluginBase // new message recieved 'tps.birzha::mail.message_recieved', + + // test email template + 'tps.birzha::mail.test', ]; } diff --git a/plugins/tps/birzha/views/mail/layout-empty.htm b/plugins/tps/birzha/views/mail/layout-empty.htm new file mode 100644 index 000000000..21a1efb95 --- /dev/null +++ b/plugins/tps/birzha/views/mail/layout-empty.htm @@ -0,0 +1,29 @@ +name = "Empty layout birzha" +== + + + + + + + + + + + Email template + + + + + + {{ content|raw }} + + + \ No newline at end of file diff --git a/plugins/tps/birzha/views/mail/test.htm b/plugins/tps/birzha/views/mail/test.htm new file mode 100644 index 000000000..2ad2e6377 --- /dev/null +++ b/plugins/tps/birzha/views/mail/test.htm @@ -0,0 +1,57 @@ +layout="birzha_empty" +== + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+ + +

+ Подтвердите адрес электронной почты. +

+
+
+

+ Здравствуйте, (имя) . +

+
+

+ Вы успешно зарегистрировались на сайте Государственной товарно-сырьевой биржи + Туркменистана. +

+
+

+ Чтобы подтвердить адрес электронной почты и полностью активировать учетную запись, + перейдите по + ссылке ... +

+
+ +
+
+