From 8ef38da62105b22c49a5830737e4961a185e130d Mon Sep 17 00:00:00 2001 From: carlossa Date: Tue, 4 Jul 2023 11:50:09 +0200 Subject: [PATCH] refs #5295 base notification --- .../notification-itemCategory/assets/css/import.js | 12 ++++++++++++ .../email/notification-itemCategory/locale/en.yml | 0 .../email/notification-itemCategory/locale/es.yml | 0 .../notification-itemCategory.html | 11 +++++++++++ .../notification-itemCategory.js | 0 5 files changed, 23 insertions(+) create mode 100644 print/templates/email/notification-itemCategory/assets/css/import.js create mode 100644 print/templates/email/notification-itemCategory/locale/en.yml create mode 100644 print/templates/email/notification-itemCategory/locale/es.yml create mode 100644 print/templates/email/notification-itemCategory/notification-itemCategory.html create mode 100644 print/templates/email/notification-itemCategory/notification-itemCategory.js diff --git a/print/templates/email/notification-itemCategory/assets/css/import.js b/print/templates/email/notification-itemCategory/assets/css/import.js new file mode 100644 index 0000000000..1582b82c50 --- /dev/null +++ b/print/templates/email/notification-itemCategory/assets/css/import.js @@ -0,0 +1,12 @@ +const Stylesheet = require(`vn-print/core/stylesheet`); + +const path = require('path'); +const vnPrintPath = path.resolve('print'); + +module.exports = new Stylesheet([ + `${vnPrintPath}/common/css/spacing.css`, + `${vnPrintPath}/common/css/misc.css`, + `${vnPrintPath}/common/css/layout.css`, + `${vnPrintPath}/common/css/email.css`]) + .mergeStyles(); + diff --git a/print/templates/email/notification-itemCategory/locale/en.yml b/print/templates/email/notification-itemCategory/locale/en.yml new file mode 100644 index 0000000000..e69de29bb2 diff --git a/print/templates/email/notification-itemCategory/locale/es.yml b/print/templates/email/notification-itemCategory/locale/es.yml new file mode 100644 index 0000000000..e69de29bb2 diff --git a/print/templates/email/notification-itemCategory/notification-itemCategory.html b/print/templates/email/notification-itemCategory/notification-itemCategory.html new file mode 100644 index 0000000000..bfbe883a10 --- /dev/null +++ b/print/templates/email/notification-itemCategory/notification-itemCategory.html @@ -0,0 +1,11 @@ + +
+
+

{{ $t('title', [week, year]) }}

Nueva inserciĆ³n en la tabla ItemCategory + +

+ +

{{$t('description')}}

Se ha hecho una inserciĆ³n de "datos" a la tabla ItemCategory +
+
+
diff --git a/print/templates/email/notification-itemCategory/notification-itemCategory.js b/print/templates/email/notification-itemCategory/notification-itemCategory.js new file mode 100644 index 0000000000..e69de29bb2