Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Move email templates to separate repository (#6768)

Maciej Korycinski98db30a680e4
diff --git a/package-lock.json b/package-lock.json
index 802a82b378..03fa24f414 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,8 +1,1592 @@
{
"name": "saleor",
"version": "3.0.0-a.0",
- "lockfileVersion": 1,
+ "lockfileVersion": 2,
"requires": true,
+ "packages": {
+ "": {
+ "name": "saleor",
+ "version": "3.0.0-a.0",
+ "license": "BSD-3-Clause",
+ "devDependencies": {}
+ },
+ "node_modules/@babel/runtime": {
+ "version": "7.12.5",
+ "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.12.5.tgz",
+ "integrity": "sha512-plcc+hbExy3McchJCEQG3knOsuh3HH+Prx1P6cLIkET/0dLuQDEnrT+s27Axgc9bqfsmNUNHfscgMUdBpC9xfg==",
+ "dev": true,
+ "dependencies": {
+ "regenerator-runtime": "^0.13.4"
+ }
+ },
+ "node_modules/@types/node": {
+ "version": "14.14.10",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-14.14.10.tgz",
+ "integrity": "sha512-J32dgx2hw8vXrSbu4ZlVhn1Nm3GbeCFNw2FWL8S5QKucHGY0cyNwjdQdO+KMBZ4wpmC7KhLCiNsdk1RFRIYUQQ==",
+ "dev": true
+ },
+ "node_modules/abbrev": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz",
+ "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==",
+ "dev": true
+ },
+ "node_modules/ansi-colors": {
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.1.tgz",
+ "integrity": "sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA==",
+ "dev": true,
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/ansi-regex": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz",
+ "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==",
+ "dev": true,
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/ansi-styles": {
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
+ "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
+ "dev": true,
+ "dependencies": {
+ "color-convert": "^2.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/anymatch": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.1.tgz",
+ "integrity": "sha512-mM8522psRCqzV+6LhomX5wgp25YVibjh8Wj23I5RPkPppSVSjyKD2A2mBJmWGa+KN7f2D6LNh9jkBCeyLktzjg==",
+ "dev": true,
+ "dependencies": {
+ "normalize-path": "^3.0.0",
+ "picomatch": "^2.0.4"
+ },
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/balanced-match": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz",
+ "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=",
+ "dev": true
+ },
+ "node_modules/binary-extensions": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.1.0.tgz",
+ "integrity": "sha512-1Yj8h9Q+QDF5FzhMs/c9+6UntbD5MkRfRwac8DoEm9ZfUBZ7tZ55YcGVAzEe4bXsdQHEk+s9S5wsOKVdZrw0tQ==",
+ "dev": true,
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/boolbase": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz",
+ "integrity": "sha1-aN/1++YMUes3cl6p4+0xDcwed24=",
+ "dev": true
+ },
+ "node_modules/brace-expansion": {
+ "version": "1.1.11",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
+ "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
+ "dev": true,
+ "dependencies": {
+ "balanced-match": "^1.0.0",
+ "concat-map": "0.0.1"
+ }
+ },
+ "node_modules/braces": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz",
+ "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==",
+ "dev": true,
+ "dependencies": {
+ "fill-range": "^7.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/camel-case": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/camel-case/-/camel-case-3.0.0.tgz",
+ "integrity": "sha1-yjw2iKTpzzpM2nd9xNy8cTJJz3M=",
+ "dev": true,
+ "dependencies": {
+ "no-case": "^2.2.0",
+ "upper-case": "^1.1.1"
+ }
+ },
+ "node_modules/camelcase": {
+ "version": "5.3.1",
+ "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz",
+ "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==",
+ "dev": true,
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/cheerio": {
+ "version": "1.0.0-rc.3",
+ "resolved": "https://registry.npmjs.org/cheerio/-/cheerio-1.0.0-rc.3.tgz",
+ "integrity": "sha512-0td5ijfUPuubwLUu0OBoe98gZj8C/AA+RW3v67GPlGOrvxWjZmBXiBCRU+I8VEiNyJzjth40POfHiz2RB3gImA==",
+ "dev": true,
+ "dependencies": {
+ "css-select": "~1.2.0",
+ "dom-serializer": "~0.1.1",
+ "entities": "~1.1.1",
+ "htmlparser2": "^3.9.1",
+ "lodash": "^4.15.0",
+ "parse5": "^3.0.1"
+ },
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/chokidar": {
+ "version": "3.4.3",
+ "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.4.3.tgz",
+ "integrity": "sha512-DtM3g7juCXQxFVSNPNByEC2+NImtBuxQQvWlHunpJIS5Ocr0lG306cC7FCi7cEA0fzmybPUIl4txBIobk1gGOQ==",
+ "dev": true,
+ "dependencies": {
+ "anymatch": "~3.1.1",
+ "braces": "~3.0.2",
+ "fsevents": "~2.1.2",
+ "glob-parent": "~5.1.0",
+ "is-binary-path": "~2.1.0",
+ "is-glob": "~4.0.1",
+ "normalize-path": "~3.0.0",
+ "readdirp": "~3.5.0"
+ },
+ "engines": {
+ "node": ">= 8.10.0"
+ },
+ "optionalDependencies": {
+ "fsevents": "~2.1.2"
+ }
+ },
+ "node_modules/clean-css": {
+ "version": "4.2.3",
+ "resolved": "https://registry.npmjs.org/clean-css/-/clean-css-4.2.3.tgz",
+ "integrity": "sha512-VcMWDN54ZN/DS+g58HYL5/n4Zrqe8vHJpGA8KdgUXFU4fuP/aHNw8eld9SyEIyabIMJX/0RaY/fplOo5hYLSFA==",
+ "dev": true,
+ "dependencies": {
+ "source-map": "~0.6.0"
+ },
+ "engines": {
+ "node": ">= 4.0"
+ }
+ },
+ "node_modules/cliui": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/cliui/-/cliui-6.0.0.tgz",
+ "integrity": "sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ==",
+ "dev": true,
+ "dependencies": {
+ "string-width": "^4.2.0",
+ "strip-ansi": "^6.0.0",
+ "wrap-ansi": "^6.2.0"
+ }
+ },
+ "node_modules/color-convert": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
+ "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
+ "dev": true,
+ "dependencies": {
+ "color-name": "~1.1.4"
+ },
+ "engines": {
+ "node": ">=7.0.0"
+ }
+ },
+ "node_modules/color-name": {
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
+ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
+ "dev": true
+ },
+ "node_modules/commander": {
+ "version": "2.17.1",
+ "resolved": "https://registry.npmjs.org/commander/-/commander-2.17.1.tgz",
+ "integrity": "sha512-wPMUt6FnH2yzG95SA6mzjQOEKUU3aLaDEmzs1ti+1E9h+CsrZghRlqEM/EJ4KscsQVG8uNN4uVreUeT8+drlgg==",
+ "dev": true
+ },
+ "node_modules/concat-map": {
+ "version": "0.0.1",
+ "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
+ "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=",
+ "dev": true
+ },
+ "node_modules/config-chain": {
+ "version": "1.1.12",
+ "resolved": "https://registry.npmjs.org/config-chain/-/config-chain-1.1.12.tgz",
+ "integrity": "sha512-a1eOIcu8+7lUInge4Rpf/n4Krkf3Dd9lqhljRzII1/Zno/kRtUWnznPO3jOKBmTEktkt3fkxisUcivoj0ebzoA==",
+ "dev": true,
+ "dependencies": {
+ "ini": "^1.3.4",
+ "proto-list": "~1.2.1"
+ }
+ },
+ "node_modules/css-select": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/css-select/-/css-select-1.2.0.tgz",
+ "integrity": "sha1-KzoRBTnFNV8c2NMUYj6HCxIeyFg=",
+ "dev": true,
+ "dependencies": {
+ "boolbase": "~1.0.0",
+ "css-what": "2.1",
+ "domutils": "1.5.1",
+ "nth-check": "~1.0.1"
+ }
+ },
+ "node_modules/css-what": {
+ "version": "2.1.3",
+ "resolved": "https://registry.npmjs.org/css-what/-/css-what-2.1.3.tgz",
+ "integrity": "sha512-a+EPoD+uZiNfh+5fxw2nO9QwFa6nJe2Or35fGY6Ipw1R3R4AGz1d1TEZrCegvw2YTmZ0jXirGYlzxxpYSHwpEg==",
+ "dev": true,
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/decamelize": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz",
+ "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=",
+ "dev": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/dom-serializer": {
+ "version": "0.1.1",
+ "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-0.1.1.tgz",
+ "integrity": "sha512-l0IU0pPzLWSHBcieZbpOKgkIn3ts3vAh7ZuFyXNwJxJXk/c4Gwj9xaTJwIDVQCXawWD0qb3IzMGH5rglQaO0XA==",
+ "dev": true,
+ "dependencies": {
+ "domelementtype": "^1.3.0",
+ "entities": "^1.1.1"
+ }
+ },
+ "node_modules/domelementtype": {
+ "version": "1.3.1",
+ "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-1.3.1.tgz",
+ "integrity": "sha512-BSKB+TSpMpFI/HOxCNr1O8aMOTZ8hT3pM3GQ0w/mWRmkhEDSFJkkyzz4XQsBV44BChwGkrDfMyjVD0eA2aFV3w==",
+ "dev": true
+ },
+ "node_modules/domhandler": {
+ "version": "2.4.2",
+ "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-2.4.2.tgz",
+ "integrity": "sha512-JiK04h0Ht5u/80fdLMCEmV4zkNh2BcoMFBmZ/91WtYZ8qVXSKjiw7fXMgFPnHcSZgOo3XdinHvmnDUeMf5R4wA==",
+ "dev": true,
+ "dependencies": {
+ "domelementtype": "1"
+ }
+ },
+ "node_modules/domutils": {
+ "version": "1.5.1",
+ "resolved": "https://registry.npmjs.org/domutils/-/domutils-1.5.1.tgz",
+ "integrity": "sha1-3NhIiib1Y9YQeeSMn3t+Mjc2gs8=",
+ "dev": true,
+ "dependencies": {
+ "dom-serializer": "0",
+ "domelementtype": "1"
+ }
+ },
+ "node_modules/editorconfig": {
+ "version": "0.15.3",
+ "resolved": "https://registry.npmjs.org/editorconfig/-/editorconfig-0.15.3.tgz",
+ "integrity": "sha512-M9wIMFx96vq0R4F+gRpY3o2exzb8hEj/n9S8unZtHSvYjibBp/iMufSzvmOcV/laG0ZtuTVGtiJggPOSW2r93g==",
+ "dev": true,
+ "dependencies": {
+ "commander": "^2.19.0",
+ "lru-cache": "^4.1.5",
+ "semver": "^5.6.0",
+ "sigmund": "^1.0.1"
+ },
+ "bin": {
+ "editorconfig": "bin/editorconfig"
+ }
+ },
+ "node_modules/editorconfig/node_modules/commander": {
+ "version": "2.20.3",
+ "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz",
+ "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==",
+ "dev": true
+ },
+ "node_modules/emoji-regex": {
+ "version": "8.0.0",
+ "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",
+ "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==",
+ "dev": true
+ },
+ "node_modules/entities": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/entities/-/entities-1.1.2.tgz",
+ "integrity": "sha512-f2LZMYl1Fzu7YSBKg+RoROelpOaNrcGmE9AZubeDfrCEia483oW4MI4VyFd5VNHIgQ/7qm1I0wUHK1eJnn2y2w==",
+ "dev": true
+ },
+ "node_modules/escape-goat": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/escape-goat/-/escape-goat-3.0.0.tgz",
+ "integrity": "sha512-w3PwNZJwRxlp47QGzhuEBldEqVHHhh8/tIPcl6ecf2Bou99cdAt0knihBV0Ecc7CGxYduXVBDheH1K2oADRlvw==",
+ "dev": true,
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/fill-range": {
+ "version": "7.0.1",
+ "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz",
+ "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==",
+ "dev": true,
+ "dependencies": {
+ "to-regex-range": "^5.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/find-up": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz",
+ "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==",
+ "dev": true,
+ "dependencies": {
+ "locate-path": "^5.0.0",
+ "path-exists": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/fs.realpath": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
+ "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=",
+ "dev": true
+ },
+ "node_modules/fsevents": {
+ "version": "2.1.3",
+ "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.1.3.tgz",
+ "integrity": "sha512-Auw9a4AxqWpa9GUfj370BMPzzyncfBABW8Mab7BGWBYDj4Isgq+cDKtx0i6u9jcX9pQDnswsaaOTgTmA5pEjuQ==",
+ "dev": true,
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": "^8.16.0 || ^10.6.0 || >=11.0.0"
+ }
+ },
+ "node_modules/get-caller-file": {
+ "version": "2.0.5",
+ "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz",
+ "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==",
+ "dev": true,
+ "engines": {
+ "node": "6.* || 8.* || >= 10.*"
+ }
+ },
+ "node_modules/glob": {
+ "version": "7.1.6",
+ "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz",
+ "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==",
+ "dev": true,
+ "dependencies": {
+ "fs.realpath": "^1.0.0",
+ "inflight": "^1.0.4",
+ "inherits": "2",
+ "minimatch": "^3.0.4",
+ "once": "^1.3.0",
+ "path-is-absolute": "^1.0.0"
+ },
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/glob-parent": {
+ "version": "5.1.1",
+ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.1.tgz",
+ "integrity": "sha512-FnI+VGOpnlGHWZxthPGR+QhR78fuiK0sNLkHQv+bL9fQi57lNNdquIbna/WrfROrolq8GK5Ek6BiMwqL/voRYQ==",
+ "dev": true,
+ "dependencies": {
+ "is-glob": "^4.0.1"
+ },
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/he": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz",
+ "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==",
+ "dev": true,
+ "bin": {
+ "he": "bin/he"
+ }
+ },
+ "node_modules/html-minifier": {
+ "version": "3.5.21",
+ "resolved": "https://registry.npmjs.org/html-minifier/-/html-minifier-3.5.21.tgz",
+ "integrity": "sha512-LKUKwuJDhxNa3uf/LPR/KVjm/l3rBqtYeCOAekvG8F1vItxMUpueGd94i/asDDr8/1u7InxzFA5EeGjhhG5mMA==",
+ "dev": true,
+ "dependencies": {
+ "camel-case": "3.0.x",
+ "clean-css": "4.2.x",
+ "commander": "2.17.x",
+ "he": "1.2.x",
+ "param-case": "2.1.x",
+ "relateurl": "0.2.x",
+ "uglify-js": "3.4.x"
+ },
+ "bin": {
+ "html-minifier": "cli.js"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/htmlparser2": {
+ "version": "3.10.1",
+ "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-3.10.1.tgz",
+ "integrity": "sha512-IgieNijUMbkDovyoKObU1DUhm1iwNYE/fuifEoEHfd1oZKZDaONBSkal7Y01shxsM49R4XaMdGez3WnF9UfiCQ==",
+ "dev": true,
+ "dependencies": {
+ "domelementtype": "^1.3.1",
+ "domhandler": "^2.3.0",
+ "domutils": "^1.5.1",
+ "entities": "^1.1.1",
+ "inherits": "^2.0.1",
+ "readable-stream": "^3.1.1"
+ }
+ },
+ "node_modules/inflight": {
+ "version": "1.0.6",
+ "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
+ "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=",
+ "dev": true,
+ "dependencies": {
+ "once": "^1.3.0",
+ "wrappy": "1"
+ }
+ },
+ "node_modules/inherits": {
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
+ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
+ "dev": true
+ },
+ "node_modules/ini": {
+ "version": "1.3.7",
+ "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.7.tgz",
+ "integrity": "sha512-iKpRpXP+CrP2jyrxvg1kMUpXDyRUFDWurxbnVT1vQPx+Wz9uCYsMIqYuSBLV+PAaZG/d7kRLKRFc9oDMsH+mFQ==",
+ "dev": true
+ },
+ "node_modules/is-binary-path": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz",
+ "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==",
+ "dev": true,
+ "dependencies": {
+ "binary-extensions": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/is-extglob": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",
+ "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=",
+ "dev": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/is-fullwidth-code-point": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz",
+ "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==",
+ "dev": true,
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/is-glob": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.1.tgz",
+ "integrity": "sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg==",
+ "dev": true,
+ "dependencies": {
+ "is-extglob": "^2.1.1"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/is-number": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz",
+ "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==",
+ "dev": true,
+ "engines": {
+ "node": ">=0.12.0"
+ }
+ },
+ "node_modules/js-beautify": {
+ "version": "1.13.0",
+ "resolved": "https://registry.npmjs.org/js-beautify/-/js-beautify-1.13.0.tgz",
+ "integrity": "sha512-/Tbp1OVzZjbwzwJQFIlYLm9eWQ+3aYbBXLSaqb1mEJzhcQAfrqMMQYtjb6io+U6KpD0ID4F+Id3/xcjH3l/sqA==",
+ "dev": true,
+ "dependencies": {
+ "config-chain": "^1.1.12",
+ "editorconfig": "^0.15.3",
+ "glob": "^7.1.3",
+ "mkdirp": "^1.0.4",
+ "nopt": "^5.0.0"
+ },
+ "bin": {
+ "css-beautify": "js/bin/css-beautify.js",
+ "html-beautify": "js/bin/html-beautify.js",
+ "js-beautify": "js/bin/js-beautify.js"
+ }
+ },
+ "node_modules/js-tokens": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",
+ "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==",
+ "dev": true
+ },
+ "node_modules/juice": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/juice/-/juice-7.0.0.tgz",
+ "integrity": "sha512-AjKQX31KKN+uJs+zaf+GW8mBO/f/0NqSh2moTMyvwBY+4/lXIYTU8D8I2h6BAV3Xnz6GGsbalUyFqbYMe+Vh+Q==",
+ "dev": true,
+ "dependencies": {
+ "cheerio": "^1.0.0-rc.3",
+ "commander": "^5.1.0",
+ "mensch": "^0.3.4",
+ "slick": "^1.12.2",
+ "web-resource-inliner": "^5.0.0"
+ },
+ "bin": {
+ "juice": "bin/juice"
+ },
+ "engines": {
+ "node": ">=10.0.0"
+ }
+ },
+ "node_modules/juice/node_modules/commander": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/commander/-/commander-5.1.0.tgz",
+ "integrity": "sha512-P0CysNDQ7rtVw4QIQtm+MRxV66vKFSvlsQvGYXZWR3qFU0jlMKHZZZgw8e+8DSah4UDKMqnknRDQz+xuQXQ/Zg==",
+ "dev": true,
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/locate-path": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz",
+ "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==",
+ "dev": true,
+ "dependencies": {
+ "p-locate": "^4.1.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/lodash": {
+ "version": "4.17.20",
+ "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.20.tgz",
+ "integrity": "sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==",
+ "dev": true
+ },
+ "node_modules/loose-envify": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz",
+ "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==",
+ "dev": true,
+ "dependencies": {
+ "js-tokens": "^3.0.0 || ^4.0.0"
+ },
+ "bin": {
+ "loose-envify": "cli.js"
+ }
+ },
+ "node_modules/lower-case": {
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/lower-case/-/lower-case-1.1.4.tgz",
+ "integrity": "sha1-miyr0bno4K6ZOkv31YdcOcQujqw=",
+ "dev": true
+ },
+ "node_modules/lru-cache": {
+ "version": "4.1.5",
+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-4.1.5.tgz",
+ "integrity": "sha512-sWZlbEP2OsHNkXrMl5GYk/jKk70MBng6UU4YI/qGDYbgf6YbP4EvmqISbXCoJiRKs+1bSpFHVgQxvJ17F2li5g==",
+ "dev": true,
+ "dependencies": {
+ "pseudomap": "^1.0.2",
+ "yallist": "^2.1.2"
+ }
+ },
+ "node_modules/mensch": {
+ "version": "0.3.4",
+ "resolved": "https://registry.npmjs.org/mensch/-/mensch-0.3.4.tgz",
+ "integrity": "sha512-IAeFvcOnV9V0Yk+bFhYR07O3yNina9ANIN5MoXBKYJ/RLYPurd2d0yw14MDhpr9/momp0WofT1bPUh3hkzdi/g==",
+ "dev": true
+ },
+ "node_modules/mime": {
+ "version": "2.4.6",
+ "resolved": "https://registry.npmjs.org/mime/-/mime-2.4.6.tgz",
+ "integrity": "sha512-RZKhC3EmpBchfTGBVb8fb+RL2cWyw/32lshnsETttkBAyAUXSGHxbEJWWRXc751DrIxG1q04b8QwMbAwkRPpUA==",
+ "dev": true,
+ "bin": {
+ "mime": "cli.js"
+ },
+ "engines": {
+ "node": ">=4.0.0"
+ }
+ },
+ "node_modules/minimatch": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz",
+ "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==",
+ "dev": true,
+ "dependencies": {
+ "brace-expansion": "^1.1.7"
+ },
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/mjml": {
+ "version": "4.7.1",
+ "resolved": "https://registry.npmjs.org/mjml/-/mjml-4.7.1.tgz",
+ "integrity": "sha512-nwMrmhTI+Aeh9Gav9LHX/i8k8yDi/QpX5h535BlT5oP4NaAUmyxP/UeYUn9yxtPcIzDlM5ullFnRv/71jyHpkQ==",
+ "dev": true,
+ "dependencies": {
+ "mjml-accordion": "4.7.1",
+ "mjml-body": "4.7.1",
+ "mjml-button": "4.7.1",
+ "mjml-carousel": "4.7.1",
+ "mjml-cli": "4.7.1",
+ "mjml-column": "4.7.1",
+ "mjml-core": "4.7.1",
+ "mjml-divider": "4.7.1",
+ "mjml-group": "4.7.1",
+ "mjml-head": "4.7.1",
+ "mjml-head-attributes": "4.7.1",
+ "mjml-head-breakpoint": "4.7.1",
+ "mjml-head-font": "4.7.1",
+ "mjml-head-html-attributes": "4.7.1",
+ "mjml-head-preview": "4.7.1",
+ "mjml-head-style": "4.7.1",
+ "mjml-head-title": "4.7.1",
+ "mjml-hero": "4.7.1",
+ "mjml-image": "4.7.1",
+ "mjml-migrate": "4.7.1",
+ "mjml-navbar": "4.7.1",
+ "mjml-raw": "4.7.1",
+ "mjml-section": "4.7.1",
+ "mjml-social": "4.7.1",
+ "mjml-spacer": "4.7.1",
+ "mjml-table": "4.7.1",
+ "mjml-text": "4.7.1",
+ "mjml-validator": "4.7.1",
+ "mjml-wrapper": "4.7.1"
+ },
+ "bin": {
+ "mjml": "bin/mjml"
+ }
+ },
+ "node_modules/mjml-accordion": {
+ "version": "4.7.1",
+ "resolved": "https://registry.npmjs.org/mjml-accordion/-/mjml-accordion-4.7.1.tgz",
+ "integrity": "sha512-oYwC/CLOUWJ6pRt2saDHj/HytGOHO5B5lKNqUAhKPye5HFNZykKEV5ChmZ2NfGsGU+9BhQ7H5DaCafp4fDmPAg==",
+ "dev": true,
+ "dependencies": {
+ "@babel/runtime": "^7.8.7",
+ "lodash": "^4.17.15",
+ "mjml-core": "4.7.1"
+ }
+ },
+ "node_modules/mjml-body": {
+ "version": "4.7.1",
+ "resolved": "https://registry.npmjs.org/mjml-body/-/mjml-body-4.7.1.tgz",
+ "integrity": "sha512-JCrkit+kjCfQyKuVyWSOonM2LGs/o3+63R9l2SleFeXf3+0CaKWaZr/Exzvaeo28c+1o3yRqXbJIpD22SEtJfQ==",
+ "dev": true,
+ "dependencies": {
+ "@babel/runtime": "^7.8.7",
+ "lodash": "^4.17.15",
+ "mjml-core": "4.7.1"
+ }
+ },
+ "node_modules/mjml-button": {
+ "version": "4.7.1",
+ "resolved": "https://registry.npmjs.org/mjml-button/-/mjml-button-4.7.1.tgz",
+ "integrity": "sha512-N3WkTMPOvKw2y6sakt1YfYDbOB8apumm1OApPG6J18CHcrX03BwhHPrdfu1JwlRNGwx4kCDdb6zNCGPwuZxkCg==",
+ "dev": true,
+ "dependencies": {
+ "@babel/runtime": "^7.8.7",
+ "lodash": "^4.17.15",
+ "mjml-core": "4.7.1"
+ }
+ },
+ "node_modules/mjml-carousel": {
+ "version": "4.7.1",
+ "resolved": "https://registry.npmjs.org/mjml-carousel/-/mjml-carousel-4.7.1.tgz",
+ "integrity": "sha512-eH3rRyX23ES0BKOn+UUV39+yGNmZVApBVVV0A5znDaNWskCg6/g6ZhEHi4nkWpj+aP2lJKI0HX1nrMfJg0Mxhg==",
+ "dev": true,
+ "dependencies": {
+ "@babel/runtime": "^7.8.7",
+ "lodash": "^4.17.15",
+ "mjml-core": "4.7.1"
+ }
+ },
+ "node_modules/mjml-cli": {
+ "version": "4.7.1",
+ "resolved": "https://registry.npmjs.org/mjml-cli/-/mjml-cli-4.7.1.tgz",
+ "integrity": "sha512-xzCtJVKYVhGorvTmnbcMUfZlmJdBnu1UBD9A1H8UUBGMNE/Hs9QpHs9PLCMp8JR/uhSu15IgVjhFN0oSVndMRQ==",
+ "dev": true,
+ "dependencies": {
+ "@babel/runtime": "^7.8.7",
+ "chokidar": "^3.0.0",
+ "glob": "^7.1.1",
+ "lodash": "^4.17.15",
+ "mjml-core": "4.7.1",
+ "mjml-migrate": "4.7.1",
+ "mjml-parser-xml": "4.7.1",
+ "mjml-validator": "4.7.1",
+ "yargs": "^15.3.1"
+ },
+ "bin": {
+ "mjml-cli": "bin/mjml"
+ }
+ },
+ "node_modules/mjml-column": {
+ "version": "4.7.1",
+ "resolved": "https://registry.npmjs.org/mjml-column/-/mjml-column-4.7.1.tgz",
+ "integrity": "sha512-CGw81TnGiuPR1GblLOez8xeoeAz1SEFjMpqapazjgXUuF5xUxg3qH55Wt4frpXe3VypeZWVYeumr6CwoNaPbKg==",
+ "dev": true,
+ "dependencies": {
+ "@babel/runtime": "^7.8.7",
+ "lodash": "^4.17.15",
+ "mjml-core": "4.7.1"
+ }
+ },
+ "node_modules/mjml-core": {
+ "version": "4.7.1",
+ "resolved": "https://registry.npmjs.org/mjml-core/-/mjml-core-4.7.1.tgz",
+ "integrity": "sha512-AMACoq/h440m7SM86As8knW0bNQgjNIzsP/cMF6X9RO07GfszgbaWUq/XCaRNi+q8bWvBJSCXbngDJySVc5ALw==",
+ "dev": true,
+ "dependencies": {
+ "@babel/runtime": "^7.8.7",
+ "cheerio": "1.0.0-rc.3",
+ "html-minifier": "^3.5.3",
+ "js-beautify": "^1.6.14",
+ "juice": "^7.0.0",
+ "lodash": "^4.17.15",
+ "mjml-migrate": "4.7.1",
+ "mjml-parser-xml": "4.7.1",
+ "mjml-validator": "4.7.1"
+ }
+ },
+ "node_modules/mjml-divider": {
+ "version": "4.7.1",
+ "resolved": "https://registry.npmjs.org/mjml-divider/-/mjml-divider-4.7.1.tgz",
+ "integrity": "sha512-7+uCUJdqEr6w8AzpF8lhRheelYEgOwiK0KJGlAQN3LF+h2S1rTPEzEB67qL2x5cU+80kPlxtxoQWImDBy0vXqg==",
+ "dev": true,
+ "dependencies": {
+ "@babel/runtime": "^7.8.7",
+ "lodash": "^4.17.15",
+ "mjml-core": "4.7.1"
+ }
+ },
+ "node_modules/mjml-group": {
+ "version": "4.7.1",
+ "resolved": "https://registry.npmjs.org/mjml-group/-/mjml-group-4.7.1.tgz",
+ "integrity": "sha512-mAYdhocCzetdhPSws/9/sQ4hcz4kQPX2dNitQmbxNVwoMFYXjp/WcLEfGc5u13Ue7dPfcV6c9lB/Uu5o3NmRvw==",
+ "dev": true,
+ "dependencies": {
+ "@babel/runtime": "^7.8.7",
+ "lodash": "^4.17.15",
+ "mjml-core": "4.7.1"
+ }
+ },
+ "node_modules/mjml-head": {
+ "version": "4.7.1",
+ "resolved": "https://registry.npmjs.org/mjml-head/-/mjml-head-4.7.1.tgz",
+ "integrity": "sha512-jUcJ674CT1oT8NTQWTjQQBFZu4yklK0oppfGFJ1cq76ze3isMiyhSnGnOHw6FkjLnZtb3gXXaGKX7UZM+UMk/w==",
+ "dev": true,
+ "dependencies": {
+ "@babel/runtime": "^7.8.7",
+ "lodash": "^4.17.15",
+ "mjml-core": "4.7.1"
+ }
+ },
+ "node_modules/mjml-head-attributes": {
+ "version": "4.7.1",
+ "resolved": "https://registry.npmjs.org/mjml-head-attributes/-/mjml-head-attributes-4.7.1.tgz",
+ "integrity": "sha512-nB/bQ3I98Dvy/IkI4nqxTCnLonULkIKc8KrieRTrtPkUV3wskBzngpCgnjKvFPbHWiGlwjHDzcFJc7G0uWeqog==",
+ "dev": true,
+ "dependencies": {
+ "@babel/runtime": "^7.8.7",
+ "lodash": "^4.17.15",
+ "mjml-core": "4.7.1"
+ }
+ },
+ "node_modules/mjml-head-breakpoint": {
+ "version": "4.7.1",
+ "resolved": "https://registry.npmjs.org/mjml-head-breakpoint/-/mjml-head-breakpoint-4.7.1.tgz",
+ "integrity": "sha512-0KB5SweIWDvwHkn4VCUsEhCQgfY/0wkNUnSXNoftaRujv0NQFQfOOH4eINy0NZYfDfrE4WYe08z+olHprp+T2A==",
+ "dev": true,
+ "dependencies": {
+ "@babel/runtime": "^7.8.7",
+ "lodash": "^4.17.15",
+ "mjml-core": "4.7.1"
+ }
+ },
+ "node_modules/mjml-head-font": {
+ "version": "4.7.1",
+ "resolved": "https://registry.npmjs.org/mjml-head-font/-/mjml-head-font-4.7.1.tgz",
+ "integrity": "sha512-9YGzBcQ2htZ6j266fiLLfzcxqDEDLTvfKtypTjaeRb1w3N8S5wL+/zJA5ZjRL6r39Ij5ZPQSlSDC32KPiwhGkA==",
+ "dev": true,
+ "dependencies": {
+ "@babel/runtime": "^7.8.7",
+ "lodash": "^4.17.15",
+ "mjml-core": "4.7.1"
+ }
+ },
+ "node_modules/mjml-head-html-attributes": {
+ "version": "4.7.1",
+ "resolved": "https://registry.npmjs.org/mjml-head-html-attributes/-/mjml-head-html-attributes-4.7.1.tgz",
+ "integrity": "sha512-2TK2nGpq4rGaghbVx2UNm5TXeZ5BTGYEvtSPoYPNu02KRCj6tb+uedAgFXwJpX+ogRfIfPK50ih+9ZMoHwf2IQ==",
+ "dev": true,
+ "dependencies": {
+ "@babel/runtime": "^7.8.7",
+ "lodash": "^4.17.15",
+ "mjml-core": "4.7.1"
+ }
+ },
+ "node_modules/mjml-head-preview": {
+ "version": "4.7.1",
+ "resolved": "https://registry.npmjs.org/mjml-head-preview/-/mjml-head-preview-4.7.1.tgz",
+ "integrity": "sha512-UHlvvgldiPDODq/5zKMsmXgRb/ZyKygKDUVQSM5bm3HvpKXeyYxJZazcIGmlGICEqv1ced1WGINhCg72dSfN+Q==",
+ "dev": true,
+ "dependencies": {
+ "@babel/runtime": "^7.8.7",
+ "lodash": "^4.17.15",
+ "mjml-core": "4.7.1"
+ }
+ },
+ "node_modules/mjml-head-style": {
+ "version": "4.7.1",
+ "resolved": "https://registry.npmjs.org/mjml-head-style/-/mjml-head-style-4.7.1.tgz",
+ "integrity": "sha512-8Gij99puN1SoOx5tGBjgkh4iCpI+zbwGBiB2Y8VwJrwXQxdJ1Qa902dQP5djoFFG39Bthii/48cS/d1bHigGPQ==",
+ "dev": true,
+ "dependencies": {
+ "@babel/runtime": "^7.8.7",
+ "lodash": "^4.17.15",
+ "mjml-core": "4.7.1"
+ }
+ },
+ "node_modules/mjml-head-title": {
+ "version": "4.7.1",
+ "resolved": "https://registry.npmjs.org/mjml-head-title/-/mjml-head-title-4.7.1.tgz",
+ "integrity": "sha512-vK3r+DApTXw2EoK/fh8dQOsO438Z7Ksy6iBIb7h04x33d4Z41r6+jtgxGXoKFXnjgr8MyLX5HZyyie5obW+hZg==",
+ "dev": true,
+ "dependencies": {
+ "@babel/runtime": "^7.8.7",
+ "lodash": "^4.17.15",
+ "mjml-core": "4.7.1"
+ }
+ },
+ "node_modules/mjml-hero": {
+ "version": "4.7.1",
+ "resolved": "https://registry.npmjs.org/mjml-hero/-/mjml-hero-4.7.1.tgz",
+ "integrity": "sha512-x+29V8zJAs8EV/eTtGbR921pCpitMQOAkyvNANW/3JLDTL2Oio1OYvGPVC3z1wOT9LKuRTxVzNHVt/bBw02CSQ==",
+ "dev": true,
+ "dependencies": {
+ "@babel/runtime": "^7.8.7",
+ "lodash": "^4.17.15",
+ "mjml-core": "4.7.1"
+ }
+ },
+ "node_modules/mjml-image": {
+ "version": "4.7.1",
+ "resolved": "https://registry.npmjs.org/mjml-image/-/mjml-image-4.7.1.tgz",
+ "integrity": "sha512-l3uRR2jaM0Bpz4ctdWuxQUFgg+ol6Nt+ODOrnHsGMwpmFOh4hTPTky6KaF0LCXxYmGbI0FoGBna+hVNnkBsQCA==",
+ "dev": true,
+ "dependencies": {
+ "@babel/runtime": "^7.8.7",
+ "lodash": "^4.17.15",
+ "mjml-core": "4.7.1"
+ }
+ },
+ "node_modules/mjml-migrate": {
+ "version": "4.7.1",
+ "resolved": "https://registry.npmjs.org/mjml-migrate/-/mjml-migrate-4.7.1.tgz",
+ "integrity": "sha512-RgrJ9fHg6iRHC2H4pjRDWilBQ1eTH2jRu1ayDplbnepGoql83vLZaYaWc5Q+J+NsaNI16x+bgNB3fQdBiK+mng==",
+ "dev": true,
+ "dependencies": {
+ "@babel/runtime": "^7.8.7",
+ "js-beautify": "^1.6.14",
+ "lodash": "^4.17.15",
+ "mjml-core": "4.7.1",
+ "mjml-parser-xml": "4.7.1",
+ "yargs": "^15.3.1"
+ },
+ "bin": {
+ "migrate": "lib/cli.js"
+ }
+ },
+ "node_modules/mjml-navbar": {
+ "version": "4.7.1",
+ "resolved": "https://registry.npmjs.org/mjml-navbar/-/mjml-navbar-4.7.1.tgz",
+ "integrity": "sha512-awdu8zT7xhS+9aCVunqtocUs8KA2xb+UhJ8UGbxVBpYbTNj3rCL9aWUXqWVwMk1la+3ypCkFuDuTl6dIoWPWlA==",
+ "dev": true,
+ "dependencies": {
+ "@babel/runtime": "^7.8.7",
+ "lodash": "^4.17.15",
+ "mjml-core": "4.7.1"
+ }
+ },
+ "node_modules/mjml-parser-xml": {
+ "version": "4.7.1",
+ "resolved": "https://registry.npmjs.org/mjml-parser-xml/-/mjml-parser-xml-4.7.1.tgz",
+ "integrity": "sha512-UWfuRpN45k3GUEv2yl8n5Uf98Tg6FyCsyRnqZGo83mgZzlJRDYTdKII9RjZM646/S8+Q8e9qxi3AsL00j6sZsQ==",
+ "dev": true,
+ "dependencies": {
+ "@babel/runtime": "^7.8.7",
+ "htmlparser2": "^3.9.2",
+ "lodash": "^4.17.15"
+ }
+ },
+ "node_modules/mjml-raw": {
+ "version": "4.7.1",
+ "resolved": "https://registry.npmjs.org/mjml-raw/-/mjml-raw-4.7.1.tgz",
+ "integrity": "sha512-mCQFEXINTkC8i7ydP1Km99e0FaZTeu79AoYnTBAILd4QO+RuD3n/PimBGrcGrOUex0JIKa2jyVQOcSCBuG4WpA==",
+ "dev": true,
+ "dependencies": {
+ "@babel/runtime": "^7.8.7",
+ "lodash": "^4.17.15",
+ "mjml-core": "4.7.1"
+ }
+ },
+ "node_modules/mjml-section": {
+ "version": "4.7.1",
+ "resolved": "https://registry.npmjs.org/mjml-section/-/mjml-section-4.7.1.tgz",
+ "integrity": "sha512-PlhCMsl/bpFwwgQGUopi9OgOGWgRPpEJVKE8hk4He8GXzbfIuDj4DZ9QJSkwIoZ0fZtcgz11Wwb19i9BZcozVw==",
+ "dev": true,
+ "dependencies": {
+ "@babel/runtime": "^7.8.7",
+ "lodash": "^4.17.15",
+ "mjml-core": "4.7.1"
+ }
+ },
+ "node_modules/mjml-social": {
+ "version": "4.7.1",
+ "resolved": "https://registry.npmjs.org/mjml-social/-/mjml-social-4.7.1.tgz",
+ "integrity": "sha512-tN/6V3m59izO9rqWpUokHxhwkk2GHkltzIlhI936hAJHh8hFyEO6+ZwQBZm738G00qgfICmQvX5FNq4upkCYjw==",
+ "dev": true,
+ "dependencies": {
+ "@babel/runtime": "^7.8.7",
+ "lodash": "^4.17.15",
+ "mjml-core": "4.7.1"
+ }
+ },
+ "node_modules/mjml-spacer": {
+ "version": "4.7.1",
+ "resolved": "https://registry.npmjs.org/mjml-spacer/-/mjml-spacer-4.7.1.tgz",
+ "integrity": "sha512-gQu1+nA9YGnoolfNPvzfVe/RJ8WqS8ho0hthlhiLOC2RnEnmqH7HHSzCFXm4OeN0VgvDQsM7mfYQGl82O58Y+g==",
+ "dev": true,
+ "dependencies": {
+ "@babel/runtime": "^7.8.7",
+ "lodash": "^4.17.15",
+ "mjml-core": "4.7.1"
+ }
+ },
+ "node_modules/mjml-table": {
+ "version": "4.7.1",
+ "resolved": "https://registry.npmjs.org/mjml-table/-/mjml-table-4.7.1.tgz",
+ "integrity": "sha512-rPkOtufMiVreb7I7vXk6rDm9i1DXncODnM5JJNhA9Z1dAQwXiz6V5904gAi2cEYfe0M2m0XQ8P5ZCtvqxGkfGA==",
+ "dev": true,
+ "dependencies": {
+ "@babel/runtime": "^7.8.7",
+ "lodash": "^4.17.15",
+ "mjml-core": "4.7.1"
+ }
+ },
+ "node_modules/mjml-text": {
+ "version": "4.7.1",
+ "resolved": "https://registry.npmjs.org/mjml-text/-/mjml-text-4.7.1.tgz",
+ "integrity": "sha512-hrjxbY59v6hu/Pn0NO+6TMlrdAlRa3M7GVALx/YWYV3hi59zjYfot8Au7Xq64XdcbcI4eiBVbP/AVr8w03HsOw==",
+ "dev": true,
+ "dependencies": {
+ "@babel/runtime": "^7.8.7",
+ "lodash": "^4.17.15",
+ "mjml-core": "4.7.1"
+ }
+ },
+ "node_modules/mjml-validator": {
+ "version": "4.7.1",
+ "resolved": "https://registry.npmjs.org/mjml-validator/-/mjml-validator-4.7.1.tgz",
+ "integrity": "sha512-Qxubbz5WE182iLSTd/XRuezMr6UE7/u73grDCw0bTIcQsaTAIkWQn2tBI3jj0chWOw+sxwK2C6zPm9B0Cv7BGA==",
+ "dev": true,
+ "dependencies": {
+ "@babel/runtime": "^7.8.7",
+ "lodash": "^4.17.15",
+ "warning": "^3.0.0"
+ }
+ },
+ "node_modules/mjml-wrapper": {
+ "version": "4.7.1",
+ "resolved": "https://registry.npmjs.org/mjml-wrapper/-/mjml-wrapper-4.7.1.tgz",
+ "integrity": "sha512-6i+ZATUyqIO5YBnx+RFKZ3+6mg3iOCS/EdXGYZSonZ/EHqlt+RJa3fG2BB4dacXqAjghfl6Lk+bLoR47P3xYIQ==",
+ "dev": true,
+ "dependencies": {
+ "@babel/runtime": "^7.8.7",
+ "lodash": "^4.17.15",
+ "mjml-core": "4.7.1",
+ "mjml-section": "4.7.1"
+ }
+ },
+ "node_modules/mkdirp": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz",
+ "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==",
+ "dev": true,
+ "bin": {
+ "mkdirp": "bin/cmd.js"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/no-case": {
+ "version": "2.3.2",
+ "resolved": "https://registry.npmjs.org/no-case/-/no-case-2.3.2.tgz",
+ "integrity": "sha512-rmTZ9kz+f3rCvK2TD1Ue/oZlns7OGoIWP4fc3llxxRXlOkHKoWPPWJOfFYpITabSow43QJbRIoHQXtt10VldyQ==",
+ "dev": true,
+ "dependencies": {
+ "lower-case": "^1.1.1"
+ }
+ },
+ "node_modules/node-fetch": {
+ "version": "2.6.1",
+ "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz",
+ "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==",
+ "dev": true,
+ "engines": {
+ "node": "4.x || >=6.0.0"
+ }
+ },
+ "node_modules/nopt": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/nopt/-/nopt-5.0.0.tgz",
+ "integrity": "sha512-Tbj67rffqceeLpcRXrT7vKAN8CwfPeIBgM7E6iBkmKLV7bEMwpGgYLGv0jACUsECaa/vuxP0IjEont6umdMgtQ==",
+ "dev": true,
+ "dependencies": {
+ "abbrev": "1"
+ },
+ "bin": {
+ "nopt": "bin/nopt.js"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/normalize-path": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz",
+ "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==",
+ "dev": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/nth-check": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-1.0.2.tgz",
+ "integrity": "sha512-WeBOdju8SnzPN5vTUJYxYUxLeXpCaVP5i5e0LF8fg7WORF2Wd7wFX/pk0tYZk7s8T+J7VLy0Da6J1+wCT0AtHg==",
+ "dev": true,
+ "dependencies": {
+ "boolbase": "~1.0.0"
+ }
+ },
+ "node_modules/once": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
+ "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=",
+ "dev": true,
+ "dependencies": {
+ "wrappy": "1"
+ }
+ },
+ "node_modules/p-limit": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz",
+ "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==",
+ "dev": true,
+ "dependencies": {
+ "p-try": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/p-locate": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz",
+ "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==",
+ "dev": true,
+ "dependencies": {
+ "p-limit": "^2.2.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/p-try": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz",
+ "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==",
+ "dev": true,
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/param-case": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/param-case/-/param-case-2.1.1.tgz",
+ "integrity": "sha1-35T9jPZTHs915r75oIWPvHK+Ikc=",
+ "dev": true,
+ "dependencies": {
+ "no-case": "^2.2.0"
+ }
+ },
+ "node_modules/parse5": {
+ "version": "3.0.3",
+ "resolved": "https://registry.npmjs.org/parse5/-/parse5-3.0.3.tgz",
+ "integrity": "sha512-rgO9Zg5LLLkfJF9E6CCmXlSE4UVceloys8JrFqCcHloC3usd/kJCyPDwH2SOlzix2j3xaP9sUX3e8+kvkuleAA==",
+ "dev": true,
+ "dependencies": {
+ "@types/node": "*"
+ }
+ },
+ "node_modules/path-exists": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz",
+ "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==",
+ "dev": true,
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/path-is-absolute": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
+ "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=",
+ "dev": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/picomatch": {
+ "version": "2.2.2",
+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.2.2.tgz",
+ "integrity": "sha512-q0M/9eZHzmr0AulXyPwNfZjtwZ/RBZlbN3K3CErVrk50T2ASYI7Bye0EvekFY3IP1Nt2DHu0re+V2ZHIpMkuWg==",
+ "dev": true,
+ "engines": {
+ "node": ">=8.6"
+ }
+ },
+ "node_modules/proto-list": {
+ "version": "1.2.4",
+ "resolved": "https://registry.npmjs.org/proto-list/-/proto-list-1.2.4.tgz",
+ "integrity": "sha1-IS1b/hMYMGpCD2QCuOJv85ZHqEk=",
+ "dev": true
+ },
+ "node_modules/pseudomap": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz",
+ "integrity": "sha1-8FKijacOYYkX7wqKw0wa5aaChrM=",
+ "dev": true
+ },
+ "node_modules/readable-stream": {
+ "version": "3.6.0",
+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz",
+ "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==",
+ "dev": true,
+ "dependencies": {
+ "inherits": "^2.0.3",
+ "string_decoder": "^1.1.1",
+ "util-deprecate": "^1.0.1"
+ },
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/readdirp": {
+ "version": "3.5.0",
+ "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.5.0.tgz",
+ "integrity": "sha512-cMhu7c/8rdhkHXWsY+osBhfSy0JikwpHK/5+imo+LpeasTF8ouErHrlYkwT0++njiyuDvc7OFY5T3ukvZ8qmFQ==",
+ "dev": true,
+ "dependencies": {
+ "picomatch": "^2.2.1"
+ },
+ "engines": {
+ "node": ">=8.10.0"
+ }
+ },
+ "node_modules/regenerator-runtime": {
+ "version": "0.13.7",
+ "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.7.tgz",
+ "integrity": "sha512-a54FxoJDIr27pgf7IgeQGxmqUNYrcV338lf/6gH456HZ/PhX+5BcwHXG9ajESmwe6WRO0tAzRUrRmNONWgkrew==",
+ "dev": true
+ },
+ "node_modules/relateurl": {
+ "version": "0.2.7",
+ "resolved": "https://registry.npmjs.org/relateurl/-/relateurl-0.2.7.tgz",
+ "integrity": "sha1-VNvzd+UUQKypCkzSdGANP/LYiKk=",
+ "dev": true,
+ "engines": {
+ "node": ">= 0.10"
+ }
+ },
+ "node_modules/require-directory": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz",
+ "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=",
+ "dev": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/require-main-filename": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz",
+ "integrity": "sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==",
+ "dev": true
+ },
+ "node_modules/safe-buffer": {
+ "version": "5.2.1",
+ "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz",
+ "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==",
+ "dev": true
+ },
+ "node_modules/semver": {
+ "version": "5.7.1",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz",
+ "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==",
+ "dev": true,
+ "bin": {
+ "semver": "bin/semver"
+ }
+ },
+ "node_modules/set-blocking": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz",
+ "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=",
+ "dev": true
+ },
+ "node_modules/sigmund": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/sigmund/-/sigmund-1.0.1.tgz",
+ "integrity": "sha1-P/IfGYytIXX587eBhT/ZTQ0ZtZA=",
+ "dev": true
+ },
+ "node_modules/slick": {
+ "version": "1.12.2",
+ "resolved": "https://registry.npmjs.org/slick/-/slick-1.12.2.tgz",
+ "integrity": "sha1-vQSN23TefRymkV+qSldXCzVQwtc=",
+ "dev": true,
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/source-map": {
+ "version": "0.6.1",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
+ "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
+ "dev": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/string_decoder": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz",
+ "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==",
+ "dev": true,
+ "dependencies": {
+ "safe-buffer": "~5.2.0"
+ }
+ },
+ "node_modules/string-width": {
+ "version": "4.2.0",
+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.0.tgz",
+ "integrity": "sha512-zUz5JD+tgqtuDjMhwIg5uFVV3dtqZ9yQJlZVfq4I01/K5Paj5UHj7VyrQOJvzawSVlKpObApbfD0Ed6yJc+1eg==",
+ "dev": true,
+ "dependencies": {
+ "emoji-regex": "^8.0.0",
+ "is-fullwidth-code-point": "^3.0.0",
+ "strip-ansi": "^6.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/strip-ansi": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz",
+ "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==",
+ "dev": true,
+ "dependencies": {
+ "ansi-regex": "^5.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/to-regex-range": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz",
+ "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==",
+ "dev": true,
+ "dependencies": {
+ "is-number": "^7.0.0"
+ },
+ "engines": {
+ "node": ">=8.0"
+ }
+ },
+ "node_modules/uglify-js": {
+ "version": "3.4.10",
+ "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.4.10.tgz",
+ "integrity": "sha512-Y2VsbPVs0FIshJztycsO2SfPk7/KAF/T72qzv9u5EpQ4kB2hQoHlhNQTsNyy6ul7lQtqJN/AoWeS23OzEiEFxw==",
+ "dev": true,
+ "dependencies": {
+ "commander": "~2.19.0",
+ "source-map": "~0.6.1"
+ },
+ "bin": {
+ "uglifyjs": "bin/uglifyjs"
+ },
+ "engines": {
+ "node": ">=0.8.0"
+ }
+ },
+ "node_modules/uglify-js/node_modules/commander": {
+ "version": "2.19.0",
+ "resolved": "https://registry.npmjs.org/commander/-/commander-2.19.0.tgz",
+ "integrity": "sha512-6tvAOO+D6OENvRAh524Dh9jcfKTYDQAqvqezbCW82xj5X0pSrcpxtvRKHLG0yBY6SD7PSDrJaj+0AiOcKVd1Xg==",
+ "dev": true
+ },
+ "node_modules/upper-case": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/upper-case/-/upper-case-1.1.3.tgz",
+ "integrity": "sha1-9rRQHC7EzdJrp4vnIilh3ndiFZg=",
+ "dev": true
+ },
+ "node_modules/util-deprecate": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
+ "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=",
+ "dev": true
+ },
+ "node_modules/valid-data-url": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/valid-data-url/-/valid-data-url-3.0.1.tgz",
+ "integrity": "sha512-jOWVmzVceKlVVdwjNSenT4PbGghU0SBIizAev8ofZVgivk/TVHXSbNL8LP6M3spZvkR9/QolkyJavGSX5Cs0UA==",
+ "dev": true,
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/warning": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/warning/-/warning-3.0.0.tgz",
+ "integrity": "sha1-MuU3fLVy3kqwR1O9+IIcAe1gW3w=",
+ "dev": true,
+ "dependencies": {
+ "loose-envify": "^1.0.0"
+ }
+ },
+ "node_modules/web-resource-inliner": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/web-resource-inliner/-/web-resource-inliner-5.0.0.tgz",
+ "integrity": "sha512-AIihwH+ZmdHfkJm7BjSXiEClVt4zUFqX4YlFAzjL13wLtDuUneSaFvDBTbdYRecs35SiU7iNKbMnN+++wVfb6A==",
+ "dev": true,
+ "dependencies": {
+ "ansi-colors": "^4.1.1",
+ "escape-goat": "^3.0.0",
+ "htmlparser2": "^4.0.0",
+ "mime": "^2.4.6",
+ "node-fetch": "^2.6.0",
+ "valid-data-url": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=10.0.0"
+ }
+ },
+ "node_modules/web-resource-inliner/node_modules/dom-serializer": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-1.1.0.tgz",
+ "integrity": "sha512-ox7bvGXt2n+uLWtCRLybYx60IrOlWL/aCebWJk1T0d4m3y2tzf4U3ij9wBMUb6YJZpz06HCCYuyCDveE2xXmzQ==",
+ "dev": true,
+ "dependencies": {
+ "domelementtype": "^2.0.1",
+ "domhandler": "^3.0.0",
+ "entities": "^2.0.0"
+ }
+ },
+ "node_modules/web-resource-inliner/node_modules/domelementtype": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.1.0.tgz",
+ "integrity": "sha512-LsTgx/L5VpD+Q8lmsXSHW2WpA+eBlZ9HPf3erD1IoPF00/3JKHZ3BknUVA2QGDNu69ZNmyFmCWBSO45XjYKC5w==",
+ "dev": true
+ },
+ "node_modules/web-resource-inliner/node_modules/domhandler": {
+ "version": "3.3.0",
+ "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-3.3.0.tgz",
+ "integrity": "sha512-J1C5rIANUbuYK+FuFL98650rihynUOEzRLxW+90bKZRWB6A1X1Tf82GxR1qAWLyfNPRvjqfip3Q5tdYlmAa9lA==",
+ "dev": true,
+ "dependencies": {
+ "domelementtype": "^2.0.1"
+ },
+ "engines": {
+ "node": ">= 4"
+ }
+ },
+ "node_modules/web-resource-inliner/node_modules/domutils": {
+ "version": "2.4.3",
+ "resolved": "https://registry.npmjs.org/domutils/-/domutils-2.4.3.tgz",
+ "integrity": "sha512-MDMfEjgtzHvRX7i21XQfkk/vfZbLOe0VJk8dDETkTTo3BTeH3NXz3Xvs94UQ+GzTw/GjRYKsfVKIIOheYX63fw==",
+ "dev": true,
+ "dependencies": {
+ "dom-serializer": "^1.0.1",
+ "domelementtype": "^2.0.1",
+ "domhandler": "^4.0.0"
+ }
+ },
+ "node_modules/web-resource-inliner/node_modules/domutils/node_modules/domhandler": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-4.0.0.tgz",
+ "integrity": "sha512-KPTbnGQ1JeEMQyO1iYXoagsI6so/C96HZiFyByU3T6iAzpXn8EGEvct6unm1ZGoed8ByO2oirxgwxBmqKF9haA==",
+ "dev": true,
+ "dependencies": {
+ "domelementtype": "^2.1.0"
+ },
+ "engines": {
+ "node": ">= 4"
+ }
+ },
+ "node_modules/web-resource-inliner/node_modules/entities": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/entities/-/entities-2.1.0.tgz",
+ "integrity": "sha512-hCx1oky9PFrJ611mf0ifBLBRW8lUUVRlFolb5gWRfIELabBlbp9xZvrqZLZAs+NxFnbfQoeGd8wDkygjg7U85w==",
+ "dev": true
+ },
+ "node_modules/web-resource-inliner/node_modules/htmlparser2": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-4.1.0.tgz",
+ "integrity": "sha512-4zDq1a1zhE4gQso/c5LP1OtrhYTncXNSpvJYtWJBtXAETPlMfi3IFNjGuQbYLuVY4ZR0QMqRVvo4Pdy9KLyP8Q==",
+ "dev": true,
+ "dependencies": {
+ "domelementtype": "^2.0.1",
+ "domhandler": "^3.0.0",
+ "domutils": "^2.0.0",
+ "entities": "^2.0.0"
+ }
+ },
+ "node_modules/which-module": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz",
+ "integrity": "sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=",
+ "dev": true
+ },
+ "node_modules/wrap-ansi": {
+ "version": "6.2.0",
+ "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz",
+ "integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==",
+ "dev": true,
+ "dependencies": {
+ "ansi-styles": "^4.0.0",
+ "string-width": "^4.1.0",
+ "strip-ansi": "^6.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/wrappy": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
+ "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=",
+ "dev": true
+ },
+ "node_modules/y18n": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.1.tgz",
+ "integrity": "sha512-wNcy4NvjMYL8gogWWYAO7ZFWFfHcbdbE57tZO8e4cbpj8tfUcwrwqSl3ad8HxpYWCdXcJUCeKKZS62Av1affwQ==",
+ "dev": true
+ },
+ "node_modules/yallist": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/yallist/-/yallist-2.1.2.tgz",
+ "integrity": "sha1-HBH5IY8HYImkfdUS+TxmmaaoHVI=",
+ "dev": true
+ },
+ "node_modules/yargs": {
+ "version": "15.4.1",
+ "resolved": "https://registry.npmjs.org/yargs/-/yargs-15.4.1.tgz",
+ "integrity": "sha512-aePbxDmcYW++PaqBsJ+HYUFwCdv4LVvdnhBy78E57PIor8/OVvhMrADFFEDh8DHDFRv/O9i3lPhsENjO7QX0+A==",
+ "dev": true,
+ "dependencies": {
+ "cliui": "^6.0.0",
+ "decamelize": "^1.2.0",
+ "find-up": "^4.1.0",
+ "get-caller-file": "^2.0.1",
+ "require-directory": "^2.1.1",
+ "require-main-filename": "^2.0.0",
+ "set-blocking": "^2.0.0",
+ "string-width": "^4.2.0",
+ "which-module": "^2.0.0",
+ "y18n": "^4.0.0",
+ "yargs-parser": "^18.1.2"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/yargs-parser": {
+ "version": "18.1.3",
+ "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-18.1.3.tgz",
+ "integrity": "sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==",
+ "dev": true,
+ "dependencies": {
+ "camelcase": "^5.0.0",
+ "decamelize": "^1.2.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ }
+ },
"dependencies": {
"@babel/runtime": {
"version": "7.12.5",
@@ -549,8 +2133,7 @@
}
},
"mjml": {
- "version": "4.7.1",
- "resolved": "https://registry.npmjs.org/mjml/-/mjml-4.7.1.tgz",
+ "version": "https://registry.npmjs.org/mjml/-/mjml-4.7.1.tgz",
"integrity": "sha512-nwMrmhTI+Aeh9Gav9LHX/i8k8yDi/QpX5h535BlT5oP4NaAUmyxP/UeYUn9yxtPcIzDlM5ullFnRv/71jyHpkQ==",
"dev": true,
"requires": {
@@ -1137,6 +2720,15 @@
"integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
"dev": true
},
+ "string_decoder": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz",
+ "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==",
+ "dev": true,
+ "requires": {
+ "safe-buffer": "~5.2.0"
+ }
+ },
"string-width": {
"version": "4.2.0",
"resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.0.tgz",
@@ -1148,15 +2740,6 @@
"strip-ansi": "^6.0.0"
}
},
- "string_decoder": {
- "version": "1.3.0",
- "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz",
- "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==",
- "dev": true,
- "requires": {
- "safe-buffer": "~5.2.0"
- }
- },
"strip-ansi": {
"version": "6.0.0",
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz",
diff --git a/package.json b/package.json
index c32ea59e1a..acfe727877 100644
--- a/package.json
+++ b/package.json
@@ -12,11 +12,8 @@
},
"homepage": "http://saleor.io/",
"dependencies": {},
- "devDependencies": {
- "mjml": "^4.7.1"
- },
+ "devDependencies": {},
"scripts": {
- "build-schema": "python manage.py get_graphql_schema > saleor/graphql/schema.graphql",
- "build-emails": "mjml -c.useMjmlConfigOptions -c.beautify false -l skip \"templates/templated_email/source/*.mjml\" -o templates/templated_email/compiled"
+ "build-schema": "python manage.py get_graphql_schema > saleor/graphql/schema.graphql"
}
}
diff --git a/saleor/plugins/admin_email/constants.py b/saleor/plugins/admin_email/constants.py
index 2f240bfb11..90a040345b 100644
--- a/saleor/plugins/admin_email/constants.py
+++ b/saleor/plugins/admin_email/constants.py
@@ -1,3 +1,11 @@
+import os
+
+from django.conf import settings
+
+DEFAULT_EMAIL_TEMPLATES_PATH = os.path.join(
+ settings.PROJECT_ROOT, "saleor/plugins/admin_email/default_email_templates"
+)
+
STAFF_ORDER_CONFIRMATION_TEMPLATE_FIELD = "staff_order_confirmation_template"
SET_STAFF_PASSWORD_TEMPLATE_FIELD = "set_staff_password_template"
CSV_PRODUCT_EXPORT_SUCCESS_TEMPLATE_FIELD = "csv_product_export_success_template"
diff --git a/templates/templated_email/compiled/export_failed.html b/saleor/plugins/admin_email/default_email_templates/export_failed.html
similarity index 92%
rename from templates/templated_email/compiled/export_failed.html
rename to saleor/plugins/admin_email/default_email_templates/export_failed.html
index 5b336a17a4..fd91cff7ef 100644
--- a/templates/templated_email/compiled/export_failed.html
+++ b/saleor/plugins/admin_email/default_email_templates/export_failed.html
@@ -3,7 +3,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
<head>
<title>
-
+
</title>
<!--[if !mso]><!-- -->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
@@ -30,7 +30,7 @@
.mj-outlook-group-fix { width:100% !important; }
</style>
<![endif]-->
-
+
<!--[if !mso]><!-->
<link href="https://fonts.googleapis.com/css?family=Ubuntu:300,400,500,700" rel="stylesheet" type="text/css">
<style type="text/css">
@@ -38,31 +38,31 @@
</style>
<!--<![endif]-->
-
-
+
+
<style type="text/css">
@media only screen and (min-width:480px) {
.mj-column-per-100 { width:100% !important; max-width: 100%; }
}
</style>
-
-
+
+
<style type="text/css">
-
-
+
+
</style>
<style type="text/css">address {
font-style: inherit;
font-family: Ubuntu, Helvetica, Arial;
}</style>
-
+
</head>
<body>
-
-
+
+
<div style>
-
-
+
+
<!--[if mso | IE]>
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"
@@ -70,257 +70,256 @@
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
-
-
+
+
<div style="margin:0px auto;max-width:600px;">
-
+
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
<tbody>
<tr>
<td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
-
+
<tr>
-
+
<td
class="" style="vertical-align:top;width:600px;"
>
<![endif]-->
-
+
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
-
+
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
-
+
<tr>
<td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:16px;line-height:1;text-align:left;color:#000000;">Hi!</div>
-
+
</td>
</tr>
-
+
<tr>
<td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:left;color:#000000;">Sorry, we couldn't finish exporting products, some unexpected errors occurred.
Please try again.</div>
-
+
</td>
</tr>
-
+
</table>
-
+
</div>
-
+
<!--[if mso | IE]>
</td>
-
+
</tr>
-
+
</table>
<![endif]-->
</td>
</tr>
</tbody>
</table>
-
+
</div>
-
-
+
+
<!--[if mso | IE]>
</td>
</tr>
</table>
-
+
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
-
-
+
+
<div style="margin:0px auto;max-width:600px;">
-
+
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
<tbody>
<tr>
<td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
-
+
<tr>
-
+
<td
class="" style="vertical-align:top;width:600px;"
>
<![endif]-->
-
+
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
-
+
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
-
+
<tr>
<td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:left;color:#000000;">This is an automatically generated e-mail, please do not reply.</div>
-
+
</td>
</tr>
-
+
</table>
-
+
</div>
-
+
<!--[if mso | IE]>
</td>
-
+
</tr>
-
+
</table>
<![endif]-->
</td>
</tr>
</tbody>
</table>
-
+
</div>
-
-
+
+
<!--[if mso | IE]>
</td>
</tr>
</table>
-
+
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
-
-
+
+
<div style="background:#F2F2F2;background-color:#F2F2F2;margin:0px auto;max-width:600px;">
-
+
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="background:#F2F2F2;background-color:#F2F2F2;width:100%;">
<tbody>
<tr>
<td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
-
+
<tr>
-
+
<td
class="" style="vertical-align:top;width:600px;"
>
<![endif]-->
-
+
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
-
+
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
-
+
<tr>
<td align="center" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:center;color:#000000;">Sincerely, {{ site_name }}</div>
-
+
</td>
</tr>
-
+
</table>
-
+
</div>
-
+
<!--[if mso | IE]>
</td>
-
+
</tr>
-
+
</table>
<![endif]-->
</td>
</tr>
</tbody>
</table>
-
+
</div>
-
-
+
+
<!--[if mso | IE]>
</td>
</tr>
</table>
-
+
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="no-display-outlook" style="width:600px;" width="600"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
-
-
+
+
<div class="no-display" style="display: none; margin: 0px auto; max-width: 600px;">
-
+
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
<tbody>
<tr>
<td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
-
+
<tr>
-
+
<td
class="" style="vertical-align:top;width:600px;"
>
<![endif]-->
-
+
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
-
+
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
-
+
<tr>
<td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:left;color:#000000;">{{#if order}}
<script type="application/ld+json">
{{{{raw}}}}{{schema_markup}}{{{{/raw}}}}
</script>
{{/if}}</div>
-
+
</td>
</tr>
-
+
</table>
-
+
</div>
-
+
<!--[if mso | IE]>
</td>
-
+
</tr>
-
+
</table>
<![endif]-->
</td>
</tr>
</tbody>
</table>
-
+
</div>
-
-
+
+
<!--[if mso | IE]>
</td>
</tr>
</table>
<![endif]-->
-
-
+
+
</div>
-
+
</body>
</html>
-
\ No newline at end of file
diff --git a/templates/templated_email/compiled/export_products_file.html b/saleor/plugins/admin_email/default_email_templates/export_products_file.html
similarity index 92%
rename from templates/templated_email/compiled/export_products_file.html
rename to saleor/plugins/admin_email/default_email_templates/export_products_file.html
index da6d3bee23..4003433302 100644
--- a/templates/templated_email/compiled/export_products_file.html
+++ b/saleor/plugins/admin_email/default_email_templates/export_products_file.html
@@ -3,7 +3,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
<head>
<title>
-
+
</title>
<!--[if !mso]><!-- -->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
@@ -30,7 +30,7 @@
.mj-outlook-group-fix { width:100% !important; }
</style>
<![endif]-->
-
+
<!--[if !mso]><!-->
<link href="https://fonts.googleapis.com/css?family=Ubuntu:300,400,500,700" rel="stylesheet" type="text/css">
<style type="text/css">
@@ -38,31 +38,31 @@
</style>
<!--<![endif]-->
-
-
+
+
<style type="text/css">
@media only screen and (min-width:480px) {
.mj-column-per-100 { width:100% !important; max-width: 100%; }
}
</style>
-
-
+
+
<style type="text/css">
-
-
+
+
</style>
<style type="text/css">address {
font-style: inherit;
font-family: Ubuntu, Helvetica, Arial;
}</style>
-
+
</head>
<body>
-
-
+
+
<div style>
-
-
+
+
<!--[if mso | IE]>
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"
@@ -70,256 +70,255 @@
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
-
-
+
+
<div style="margin:0px auto;max-width:600px;">
-
+
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
<tbody>
<tr>
<td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
-
+
<tr>
-
+
<td
class="" style="vertical-align:top;width:600px;"
>
<![endif]-->
-
+
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
-
+
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
-
+
<tr>
<td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:16px;line-height:1;text-align:left;color:#000000;">Hi!</div>
-
+
</td>
</tr>
-
+
<tr>
<td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:left;color:#000000;">Your file with products data is ready to download: <a href="{{csv_link}}">{{csv_link}}</a></div>
-
+
</td>
</tr>
-
+
</table>
-
+
</div>
-
+
<!--[if mso | IE]>
</td>
-
+
</tr>
-
+
</table>
<![endif]-->
</td>
</tr>
</tbody>
</table>
-
+
</div>
-
-
+
+
<!--[if mso | IE]>
</td>
</tr>
</table>
-
+
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
-
-
+
+
<div style="margin:0px auto;max-width:600px;">
-
+
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
<tbody>
<tr>
<td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
-
+
<tr>
-
+
<td
class="" style="vertical-align:top;width:600px;"
>
<![endif]-->
-
+
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
-
+
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
-
+
<tr>
<td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:left;color:#000000;">This is an automatically generated e-mail, please do not reply.</div>
-
+
</td>
</tr>
-
+
</table>
-
+
</div>
-
+
<!--[if mso | IE]>
</td>
-
+
</tr>
-
+
</table>
<![endif]-->
</td>
</tr>
</tbody>
</table>
-
+
</div>
-
-
+
+
<!--[if mso | IE]>
</td>
</tr>
</table>
-
+
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
-
-
+
+
<div style="background:#F2F2F2;background-color:#F2F2F2;margin:0px auto;max-width:600px;">
-
+
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="background:#F2F2F2;background-color:#F2F2F2;width:100%;">
<tbody>
<tr>
<td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
-
+
<tr>
-
+
<td
class="" style="vertical-align:top;width:600px;"
>
<![endif]-->
-
+
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
-
+
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
-
+
<tr>
<td align="center" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:center;color:#000000;">Sincerely, {{ site_name }}</div>
-
+
</td>
</tr>
-
+
</table>
-
+
</div>
-
+
<!--[if mso | IE]>
</td>
-
+
</tr>
-
+
</table>
<![endif]-->
</td>
</tr>
</tbody>
</table>
-
+
</div>
-
-
+
+
<!--[if mso | IE]>
</td>
</tr>
</table>
-
+
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="no-display-outlook" style="width:600px;" width="600"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
-
-
+
+
<div class="no-display" style="display: none; margin: 0px auto; max-width: 600px;">
-
+
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
<tbody>
<tr>
<td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
-
+
<tr>
-
+
<td
class="" style="vertical-align:top;width:600px;"
>
<![endif]-->
-
+
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
-
+
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
-
+
<tr>
<td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:left;color:#000000;">{{#if order}}
<script type="application/ld+json">
{{{{raw}}}}{{schema_markup}}{{{{/raw}}}}
</script>
{{/if}}</div>
-
+
</td>
</tr>
-
+
</table>
-
+
</div>
-
+
<!--[if mso | IE]>
</td>
-
+
</tr>
-
+
</table>
<![endif]-->
</td>
</tr>
</tbody>
</table>
-
+
</div>
-
-
+
+
<!--[if mso | IE]>
</td>
</tr>
</table>
<![endif]-->
-
-
+
+
</div>
-
+
</body>
</html>
-
\ No newline at end of file
diff --git a/templates/templated_email/compiled/set_password.html b/saleor/plugins/admin_email/default_email_templates/set_password.html
similarity index 92%
rename from templates/templated_email/compiled/set_password.html
rename to saleor/plugins/admin_email/default_email_templates/set_password.html
index 30f661f1f2..00c1054c83 100644
--- a/templates/templated_email/compiled/set_password.html
+++ b/saleor/plugins/admin_email/default_email_templates/set_password.html
@@ -3,7 +3,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
<head>
<title>
-
+
</title>
<!--[if !mso]><!-- -->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
@@ -30,7 +30,7 @@
.mj-outlook-group-fix { width:100% !important; }
</style>
<![endif]-->
-
+
<!--[if !mso]><!-->
<link href="https://fonts.googleapis.com/css?family=Ubuntu:300,400,500,700" rel="stylesheet" type="text/css">
<style type="text/css">
@@ -38,31 +38,31 @@
</style>
<!--<![endif]-->
-
-
+
+
<style type="text/css">
@media only screen and (min-width:480px) {
.mj-column-per-100 { width:100% !important; max-width: 100%; }
}
</style>
-
-
+
+
<style type="text/css">
-
-
+
+
</style>
<style type="text/css">address {
font-style: inherit;
font-family: Ubuntu, Helvetica, Arial;
}</style>
-
+
</head>
<body>
-
-
+
+
<div style>
-
-
+
+
<!--[if mso | IE]>
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"
@@ -70,267 +70,266 @@
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
-
-
+
+
<div style="margin:0px auto;max-width:600px;">
-
+
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
<tbody>
<tr>
<td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
-
+
<tr>
-
+
<td
class="" style="vertical-align:top;width:600px;"
>
<![endif]-->
-
+
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
-
+
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
-
+
<tr>
<td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:16px;line-height:1;text-align:left;color:#000000;">Hi!</div>
-
+
</td>
</tr>
-
+
<tr>
<td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:left;color:#000000;">You're receiving this e-mail because you have to set password for your staff member account at {{site_name}}.<br>
Click the link below to set up your password.</div>
-
+
</td>
</tr>
-
+
<tr>
<td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:left;color:#000000;"><a href="{{ password_set_url}}">
{{password_set_url}}
</a></div>
-
+
</td>
</tr>
-
+
</table>
-
+
</div>
-
+
<!--[if mso | IE]>
</td>
-
+
</tr>
-
+
</table>
<![endif]-->
</td>
</tr>
</tbody>
</table>
-
+
</div>
-
-
+
+
<!--[if mso | IE]>
</td>
</tr>
</table>
-
+
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
-
-
+
+
<div style="margin:0px auto;max-width:600px;">
-
+
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
<tbody>
<tr>
<td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
-
+
<tr>
-
+
<td
class="" style="vertical-align:top;width:600px;"
>
<![endif]-->
-
+
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
-
+
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
-
+
<tr>
<td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:left;color:#000000;">This is an automatically generated e-mail, please do not reply.</div>
-
+
</td>
</tr>
-
+
</table>
-
+
</div>
-
+
<!--[if mso | IE]>
</td>
-
+
</tr>
-
+
</table>
<![endif]-->
</td>
</tr>
</tbody>
</table>
-
+
</div>
-
-
+
+
<!--[if mso | IE]>
</td>
</tr>
</table>
-
+
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
-
-
+
+
<div style="background:#F2F2F2;background-color:#F2F2F2;margin:0px auto;max-width:600px;">
-
+
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="background:#F2F2F2;background-color:#F2F2F2;width:100%;">
<tbody>
<tr>
<td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
-
+
<tr>
-
+
<td
class="" style="vertical-align:top;width:600px;"
>
<![endif]-->
-
+
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
-
+
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
-
+
<tr>
<td align="center" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:center;color:#000000;">Sincerely, {{ site_name }}</div>
-
+
</td>
</tr>
-
+
</table>
-
+
</div>
-
+
<!--[if mso | IE]>
</td>
-
+
</tr>
-
+
</table>
<![endif]-->
</td>
</tr>
</tbody>
</table>
-
+
</div>
-
-
+
+
<!--[if mso | IE]>
</td>
</tr>
</table>
-
+
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="no-display-outlook" style="width:600px;" width="600"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
-
-
+
+
<div class="no-display" style="display: none; margin: 0px auto; max-width: 600px;">
-
+
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
<tbody>
<tr>
<td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
-
+
<tr>
-
+
<td
class="" style="vertical-align:top;width:600px;"
>
<![endif]-->
-
+
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
-
+
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
-
+
<tr>
<td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:left;color:#000000;">{{#if order}}
<script type="application/ld+json">
{{{{raw}}}}{{schema_markup}}{{{{/raw}}}}
</script>
{{/if}}</div>
-
+
</td>
</tr>
-
+
</table>
-
+
</div>
-
+
<!--[if mso | IE]>
</td>
-
+
</tr>
-
+
</table>
<![endif]-->
</td>
</tr>
</tbody>
</table>
-
+
</div>
-
-
+
+
<!--[if mso | IE]>
</td>
</tr>
</table>
<![endif]-->
-
-
+
+
</div>
-
+
</body>
</html>
-
\ No newline at end of file
diff --git a/templates/templated_email/compiled/staff_confirm_order.html b/saleor/plugins/admin_email/default_email_templates/staff_confirm_order.html
similarity index 93%
rename from templates/templated_email/compiled/staff_confirm_order.html
rename to saleor/plugins/admin_email/default_email_templates/staff_confirm_order.html
index 883c755dc6..5b44c9fed3 100644
--- a/templates/templated_email/compiled/staff_confirm_order.html
+++ b/saleor/plugins/admin_email/default_email_templates/staff_confirm_order.html
@@ -3,7 +3,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
<head>
<title>
-
+
</title>
<!--[if !mso]><!-- -->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
@@ -30,7 +30,7 @@
.mj-outlook-group-fix { width:100% !important; }
</style>
<![endif]-->
-
+
<!--[if !mso]><!-->
<link href="https://fonts.googleapis.com/css?family=Ubuntu:300,400,500,700" rel="stylesheet" type="text/css">
<style type="text/css">
@@ -38,31 +38,31 @@
</style>
<!--<![endif]-->
-
-
+
+
<style type="text/css">
@media only screen and (min-width:480px) {
.mj-column-per-100 { width:100% !important; max-width: 100%; }
}
</style>
-
-
+
+
<style type="text/css">
-
-
+
+
</style>
<style type="text/css">address {
font-style: inherit;
font-family: Ubuntu, Helvetica, Arial;
}</style>
-
+
</head>
<body>
-
-
+
+
<div style>
-
-
+
+
<!--[if mso | IE]>
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"
@@ -70,100 +70,100 @@
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
-
-
+
+
<div style="margin:0px auto;max-width:600px;">
-
+
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
<tbody>
<tr>
<td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
-
+
<tr>
-
+
<td
class="" style="vertical-align:top;width:600px;"
>
<![endif]-->
-
+
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
-
+
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
-
+
<tr>
<td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:16px;line-height:1;text-align:left;color:#000000;">Hi!</div>
-
+
</td>
</tr>
-
+
<tr>
<td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:left;color:#000000;">Someone placed a new order in your store. To see order details please visit:
<a href="{{order.order_details_url}}">{{order.order_details_url}}</a></div>
-
+
</td>
</tr>
-
+
</table>
-
+
</div>
-
+
<!--[if mso | IE]>
</td>
-
+
</tr>
-
+
</table>
<![endif]-->
</td>
</tr>
</tbody>
</table>
-
+
</div>
-
-
+
+
<!--[if mso | IE]>
</td>
</tr>
</table>
-
+
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
-
-
+
+
<div style="margin:0px auto;max-width:600px;">
-
+
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
<tbody>
<tr>
<td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
-
+
<tr>
-
+
<td
class="" style="vertical-align:top;width:600px;"
>
<![endif]-->
-
+
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
-
+
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
-
+
<tr>
<td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<table cellpadding="0" cellspacing="0" width="100%" border="0" style="color:#000000;font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:22px;table-layout:auto;width:100%;border:none;">
<tfoot>
<tr>
@@ -243,65 +243,65 @@
{{/each}}
</tbody>
</table>
-
+
</td>
</tr>
-
+
</table>
-
+
</div>
-
+
<!--[if mso | IE]>
</td>
-
+
</tr>
-
+
</table>
<![endif]-->
</td>
</tr>
</tbody>
</table>
-
+
</div>
-
-
+
+
<!--[if mso | IE]>
</td>
</tr>
</table>
-
+
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
-
-
+
+
<div style="margin:0px auto;max-width:600px;">
-
+
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
<tbody>
<tr>
<td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
-
+
<tr>
-
+
<td
class="" style="vertical-align:top;width:600px;"
>
<![endif]-->
-
+
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
-
+
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
-
+
<tr>
<td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<table cellpadding="0" cellspacing="0" width="100%" border="0" style="color:#000000;font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:22px;table-layout:auto;width:100%;border:none;">
<thead class="table-header-row" style="border-bottom: 2px solid #000;">
<tr>
@@ -328,222 +328,221 @@
</tr>
</tbody>
</table>
-
+
</td>
</tr>
-
+
</table>
-
+
</div>
-
+
<!--[if mso | IE]>
</td>
-
+
</tr>
-
+
</table>
<![endif]-->
</td>
</tr>
</tbody>
</table>
-
+
</div>
-
-
+
+
<!--[if mso | IE]>
</td>
</tr>
</table>
-
+
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
-
-
+
+
<div style="margin:0px auto;max-width:600px;">
-
+
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
<tbody>
<tr>
<td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
-
+
<tr>
-
+
<td
class="" style="vertical-align:top;width:600px;"
>
<![endif]-->
-
+
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
-
+
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
-
+
<tr>
<td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:left;color:#000000;">This is an automatically generated e-mail, please do not reply.</div>
-
+
</td>
</tr>
-
+
</table>
-
+
</div>
-
+
<!--[if mso | IE]>
</td>
-
+
</tr>
-
+
</table>
<![endif]-->
</td>
</tr>
</tbody>
</table>
-
+
</div>
-
-
+
+
<!--[if mso | IE]>
</td>
</tr>
</table>
-
+
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
-
-
+
+
<div style="background:#F2F2F2;background-color:#F2F2F2;margin:0px auto;max-width:600px;">
-
+
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="background:#F2F2F2;background-color:#F2F2F2;width:100%;">
<tbody>
<tr>
<td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
-
+
<tr>
-
+
<td
class="" style="vertical-align:top;width:600px;"
>
<![endif]-->
-
+
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
-
+
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
-
+
<tr>
<td align="center" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:center;color:#000000;">Sincerely, {{ site_name }}</div>
-
+
</td>
</tr>
-
+
</table>
-
+
</div>
-
+
<!--[if mso | IE]>
</td>
-
+
</tr>
-
+
</table>
<![endif]-->
</td>
</tr>
</tbody>
</table>
-
+
</div>
-
-
+
+
<!--[if mso | IE]>
</td>
</tr>
</table>
-
+
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="no-display-outlook" style="width:600px;" width="600"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
-
-
+
+
<div class="no-display" style="display: none; margin: 0px auto; max-width: 600px;">
-
+
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
<tbody>
<tr>
<td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
-
+
<tr>
-
+
<td
class="" style="vertical-align:top;width:600px;"
>
<![endif]-->
-
+
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
-
+
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
-
+
<tr>
<td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:left;color:#000000;">{{#if order}}
<script type="application/ld+json">
{{{{raw}}}}{{schema_markup}}{{{{/raw}}}}
</script>
{{/if}}</div>
-
+
</td>
</tr>
-
+
</table>
-
+
</div>
-
+
<!--[if mso | IE]>
</td>
-
+
</tr>
-
+
</table>
<![endif]-->
</td>
</tr>
</tbody>
</table>
-
+
</div>
-
-
+
+
<!--[if mso | IE]>
</td>
</tr>
</table>
<![endif]-->
-
-
+
+
</div>
-
+
</body>
</html>
-
\ No newline at end of file
diff --git a/saleor/plugins/admin_email/tasks.py b/saleor/plugins/admin_email/tasks.py
index 3bada39c2b..e2c27e02ff 100644
--- a/saleor/plugins/admin_email/tasks.py
+++ b/saleor/plugins/admin_email/tasks.py
@@ -16,6 +16,7 @@ def send_set_staff_password_email_task(recipient_email, payload, config: dict):
constants.PLUGIN_ID,
constants.SET_STAFF_PASSWORD_TEMPLATE_FIELD,
constants.SET_STAFF_PASSWORD_DEFAULT_TEMPLATE,
+ constants.DEFAULT_EMAIL_TEMPLATES_PATH,
)
subject = get_email_subject(
constants.PLUGIN_ID,
@@ -40,6 +41,7 @@ def send_email_with_link_to_download_file_task(
constants.PLUGIN_ID,
constants.CSV_PRODUCT_EXPORT_SUCCESS_TEMPLATE_FIELD,
constants.CSV_PRODUCT_EXPORT_SUCCESS_DEFAULT_TEMPLATE,
+ constants.DEFAULT_EMAIL_TEMPLATES_PATH,
)
subject = get_email_subject(
constants.PLUGIN_ID,
@@ -65,6 +67,7 @@ def send_export_failed_email_task(recipient_email: str, payload: dict, config: d
constants.PLUGIN_ID,
constants.CSV_EXPORT_FAILED_TEMPLATE_FIELD,
constants.CSV_EXPORT_FAILED_TEMPLATE_DEFAULT_TEMPLATE,
+ constants.DEFAULT_EMAIL_TEMPLATES_PATH,
)
subject = get_email_subject(
constants.PLUGIN_ID,
@@ -92,6 +95,7 @@ def send_staff_order_confirmation_email_task(
constants.PLUGIN_ID,
constants.STAFF_ORDER_CONFIRMATION_TEMPLATE_FIELD,
constants.STAFF_ORDER_CONFIRMATION_DEFAULT_TEMPLATE,
+ constants.DEFAULT_EMAIL_TEMPLATES_PATH,
)
subject = get_email_subject(
constants.PLUGIN_ID,
diff --git a/saleor/plugins/email_common.py b/saleor/plugins/email_common.py
index 64b6e7f2b5..7d5e11cf43 100644
--- a/saleor/plugins/email_common.py
+++ b/saleor/plugins/email_common.py
@@ -290,7 +290,10 @@ def get_email_template(
def get_email_template_or_default(
- plugin_identifier: str, template_field_name: str, default_template_file_name: str
+ plugin_identifier: str,
+ template_field_name: str,
+ default_template_file_name: str,
+ default_template_path: str,
):
email_template_str = get_email_template(
plugin_identifier=plugin_identifier,
@@ -298,7 +301,9 @@ def get_email_template_or_default(
default=DEFAULT_EMAIL_VALUE,
)
if email_template_str == DEFAULT_EMAIL_VALUE:
- email_template_str = get_default_email_template(default_template_file_name)
+ email_template_str = get_default_email_template(
+ default_template_file_name, default_template_path
+ )
return email_template_str
@@ -318,11 +323,10 @@ def get_email_subject(
return default
-def get_default_email_template(template_file_name: str) -> str:
+def get_default_email_template(
+ template_file_name: str, default_template_path: str
+) -> str:
"""Get default template."""
- default_template_path = os.path.join(
- settings.TEMPLATES_DIR, "templated_email/compiled/"
- )
default_template_path = os.path.join(default_template_path, template_file_name)
with open(default_template_path) as f:
template_str = f.read()
diff --git a/saleor/plugins/user_email/constants.py b/saleor/plugins/user_email/constants.py
index ce5da4965a..3d3e46fc22 100644
--- a/saleor/plugins/user_email/constants.py
+++ b/saleor/plugins/user_email/constants.py
@@ -1,6 +1,14 @@
+import os
+
+from django.conf import settings
+
PLUGIN_ID = "mirumee.notifications.user_email"
+DEFAULT_EMAIL_TEMPLATES_PATH = os.path.join(
+ settings.PROJECT_ROOT, "saleor/plugins/user_email/default_email_templates"
+)
+
ACCOUNT_CONFIRMATION_TEMPLATE_FIELD = "account_confirmation"
ACCOUNT_SET_CUSTOMER_PASSWORD_TEMPLATE_FIELD = "account_set_customer_password"
ACCOUNT_DELETE_TEMPLATE_FIELD = "account_delete"
diff --git a/templates/templated_email/compiled/account_delete.html b/saleor/plugins/user_email/default_email_templates/account_delete.html
similarity index 92%
rename from templates/templated_email/compiled/account_delete.html
rename to saleor/plugins/user_email/default_email_templates/account_delete.html
index 44a2eb3dbc..827bc4f2cf 100644
--- a/templates/templated_email/compiled/account_delete.html
+++ b/saleor/plugins/user_email/default_email_templates/account_delete.html
@@ -3,7 +3,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
<head>
<title>
-
+
</title>
<!--[if !mso]><!-- -->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
@@ -30,7 +30,7 @@
.mj-outlook-group-fix { width:100% !important; }
</style>
<![endif]-->
-
+
<!--[if !mso]><!-->
<link href="https://fonts.googleapis.com/css?family=Ubuntu:300,400,500,700" rel="stylesheet" type="text/css">
<style type="text/css">
@@ -38,31 +38,31 @@
</style>
<!--<![endif]-->
-
-
+
+
<style type="text/css">
@media only screen and (min-width:480px) {
.mj-column-per-100 { width:100% !important; max-width: 100%; }
}
</style>
-
-
+
+
<style type="text/css">
-
-
+
+
</style>
<style type="text/css">address {
font-style: inherit;
font-family: Ubuntu, Helvetica, Arial;
}</style>
-
+
</head>
<body>
-
-
+
+
<div style>
-
-
+
+
<!--[if mso | IE]>
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"
@@ -70,267 +70,266 @@
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
-
-
+
+
<div style="margin:0px auto;max-width:600px;">
-
+
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
<tbody>
<tr>
<td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
-
+
<tr>
-
+
<td
class="" style="vertical-align:top;width:600px;"
>
<![endif]-->
-
+
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
-
+
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
-
+
<tr>
<td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:16px;line-height:1;text-align:left;color:#000000;">Hi!</div>
-
+
</td>
</tr>
-
+
<tr>
<td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:left;color:#000000;">You're receiving this e-mail because you or someone else has requested a deletion of your user account at {{ site_name }}.<br>
Click the link below to delete your account.
Please note that this action is permanent and cannot be reversed.</div>
-
+
</td>
</tr>
-
+
<tr>
<td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:left;color:#000000;"><a href="{{ delete_url }}">{{ delete_url }}</a></div>
-
+
</td>
</tr>
-
+
</table>
-
+
</div>
-
+
<!--[if mso | IE]>
</td>
-
+
</tr>
-
+
</table>
<![endif]-->
</td>
</tr>
</tbody>
</table>
-
+
</div>
-
-
+
+
<!--[if mso | IE]>
</td>
</tr>
</table>
-
+
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
-
-
+
+
<div style="margin:0px auto;max-width:600px;">
-
+
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
<tbody>
<tr>
<td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
-
+
<tr>
-
+
<td
class="" style="vertical-align:top;width:600px;"
>
<![endif]-->
-
+
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
-
+
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
-
+
<tr>
<td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:left;color:#000000;">This is an automatically generated e-mail, please do not reply.</div>
-
+
</td>
</tr>
-
+
</table>
-
+
</div>
-
+
<!--[if mso | IE]>
</td>
-
+
</tr>
-
+
</table>
<![endif]-->
</td>
</tr>
</tbody>
</table>
-
+
</div>
-
-
+
+
<!--[if mso | IE]>
</td>
</tr>
</table>
-
+
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
-
-
+
+
<div style="background:#F2F2F2;background-color:#F2F2F2;margin:0px auto;max-width:600px;">
-
+
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="background:#F2F2F2;background-color:#F2F2F2;width:100%;">
<tbody>
<tr>
<td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
-
+
<tr>
-
+
<td
class="" style="vertical-align:top;width:600px;"
>
<![endif]-->
-
+
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
-
+
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
-
+
<tr>
<td align="center" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:center;color:#000000;">Sincerely, {{ site_name }}</div>
-
+
</td>
</tr>
-
+
</table>
-
+
</div>
-
+
<!--[if mso | IE]>
</td>
-
+
</tr>
-
+
</table>
<![endif]-->
</td>
</tr>
</tbody>
</table>
-
+
</div>
-
-
+
+
<!--[if mso | IE]>
</td>
</tr>
</table>
-
+
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="no-display-outlook" style="width:600px;" width="600"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
-
-
+
+
<div class="no-display" style="display: none; margin: 0px auto; max-width: 600px;">
-
+
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
<tbody>
<tr>
<td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
-
+
<tr>
-
+
<td
class="" style="vertical-align:top;width:600px;"
>
<![endif]-->
-
+
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
-
+
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
-
+
<tr>
<td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:left;color:#000000;">{{#if order}}
<script type="application/ld+json">
{{{{raw}}}}{{schema_markup}}{{{{/raw}}}}
</script>
{{/if}}</div>
-
+
</td>
</tr>
-
+
</table>
-
+
</div>
-
+
<!--[if mso | IE]>
</td>
-
+
</tr>
-
+
</table>
<![endif]-->
</td>
</tr>
</tbody>
</table>
-
+
</div>
-
-
+
+
<!--[if mso | IE]>
</td>
</tr>
</table>
<![endif]-->
-
-
+
+
</div>
-
+
</body>
</html>
-
\ No newline at end of file
diff --git a/templates/templated_email/compiled/confirm.html b/saleor/plugins/user_email/default_email_templates/confirm.html
similarity index 92%
rename from templates/templated_email/compiled/confirm.html
rename to saleor/plugins/user_email/default_email_templates/confirm.html
index 984650b178..2072dbd75d 100644
--- a/templates/templated_email/compiled/confirm.html
+++ b/saleor/plugins/user_email/default_email_templates/confirm.html
@@ -3,7 +3,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
<head>
<title>
-
+
</title>
<!--[if !mso]><!-- -->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
@@ -30,7 +30,7 @@
.mj-outlook-group-fix { width:100% !important; }
</style>
<![endif]-->
-
+
<!--[if !mso]><!-->
<link href="https://fonts.googleapis.com/css?family=Ubuntu:300,400,500,700" rel="stylesheet" type="text/css">
<style type="text/css">
@@ -38,31 +38,31 @@
</style>
<!--<![endif]-->
-
-
+
+
<style type="text/css">
@media only screen and (min-width:480px) {
.mj-column-per-100 { width:100% !important; max-width: 100%; }
}
</style>
-
-
+
+
<style type="text/css">
-
-
+
+
</style>
<style type="text/css">address {
font-style: inherit;
font-family: Ubuntu, Helvetica, Arial;
}</style>
-
+
</head>
<body>
-
-
+
+
<div style>
-
-
+
+
<!--[if mso | IE]>
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"
@@ -70,267 +70,266 @@
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
-
-
+
+
<div style="margin:0px auto;max-width:600px;">
-
+
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
<tbody>
<tr>
<td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
-
+
<tr>
-
+
<td
class="" style="vertical-align:top;width:600px;"
>
<![endif]-->
-
+
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
-
+
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
-
+
<tr>
<td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:16px;line-height:1;text-align:left;color:#000000;">Hi!</div>
-
+
</td>
</tr>
-
+
<tr>
<td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:left;color:#000000;">In order to log into {{ site_name }}, you have to confirm your email address first.
Please click the link below to do so and log into your account.</div>
-
+
</td>
</tr>
-
+
<tr>
<td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:left;color:#000000;"><a href="{{ confirm_url }}">
{{ confirm_url }}
</a></div>
-
+
</td>
</tr>
-
+
</table>
-
+
</div>
-
+
<!--[if mso | IE]>
</td>
-
+
</tr>
-
+
</table>
<![endif]-->
</td>
</tr>
</tbody>
</table>
-
+
</div>
-
-
+
+
<!--[if mso | IE]>
</td>
</tr>
</table>
-
+
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
-
-
+
+
<div style="margin:0px auto;max-width:600px;">
-
+
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
<tbody>
<tr>
<td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
-
+
<tr>
-
+
<td
class="" style="vertical-align:top;width:600px;"
>
<![endif]-->
-
+
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
-
+
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
-
+
<tr>
<td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:left;color:#000000;">This is an automatically generated e-mail, please do not reply.</div>
-
+
</td>
</tr>
-
+
</table>
-
+
</div>
-
+
<!--[if mso | IE]>
</td>
-
+
</tr>
-
+
</table>
<![endif]-->
</td>
</tr>
</tbody>
</table>
-
+
</div>
-
-
+
+
<!--[if mso | IE]>
</td>
</tr>
</table>
-
+
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
-
-
+
+
<div style="background:#F2F2F2;background-color:#F2F2F2;margin:0px auto;max-width:600px;">
-
+
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="background:#F2F2F2;background-color:#F2F2F2;width:100%;">
<tbody>
<tr>
<td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
-
+
<tr>
-
+
<td
class="" style="vertical-align:top;width:600px;"
>
<![endif]-->
-
+
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
-
+
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
-
+
<tr>
<td align="center" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:center;color:#000000;">Sincerely, {{ site_name }}</div>
-
+
</td>
</tr>
-
+
</table>
-
+
</div>
-
+
<!--[if mso | IE]>
</td>
-
+
</tr>
-
+
</table>
<![endif]-->
</td>
</tr>
</tbody>
</table>
-
+
</div>
-
-
+
+
<!--[if mso | IE]>
</td>
</tr>
</table>
-
+
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="no-display-outlook" style="width:600px;" width="600"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
-
-
+
+
<div class="no-display" style="display: none; margin: 0px auto; max-width: 600px;">
-
+
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
<tbody>
<tr>
<td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
-
+
<tr>
-
+
<td
class="" style="vertical-align:top;width:600px;"
>
<![endif]-->
-
+
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
-
+
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
-
+
<tr>
<td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:left;color:#000000;">{{#if order}}
<script type="application/ld+json">
{{{{raw}}}}{{schema_markup}}{{{{/raw}}}}
</script>
{{/if}}</div>
-
+
</td>
</tr>
-
+
</table>
-
+
</div>
-
+
<!--[if mso | IE]>
</td>
-
+
</tr>
-
+
</table>
<![endif]-->
</td>
</tr>
</tbody>
</table>
-
+
</div>
-
-
+
+
<!--[if mso | IE]>
</td>
</tr>
</table>
<![endif]-->
-
-
+
+
</div>
-
+
</body>
</html>
-
\ No newline at end of file
diff --git a/templates/templated_email/compiled/confirm_fulfillment.html b/saleor/plugins/user_email/default_email_templates/confirm_fulfillment.html
similarity index 93%
rename from templates/templated_email/compiled/confirm_fulfillment.html
rename to saleor/plugins/user_email/default_email_templates/confirm_fulfillment.html
index 38c6a6f969..6eeba6ee6a 100644
--- a/templates/templated_email/compiled/confirm_fulfillment.html
+++ b/saleor/plugins/user_email/default_email_templates/confirm_fulfillment.html
@@ -3,7 +3,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
<head>
<title>
-
+
</title>
<!--[if !mso]><!-- -->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
@@ -30,7 +30,7 @@
.mj-outlook-group-fix { width:100% !important; }
</style>
<![endif]-->
-
+
<!--[if !mso]><!-->
<link href="https://fonts.googleapis.com/css?family=Ubuntu:300,400,500,700" rel="stylesheet" type="text/css">
<style type="text/css">
@@ -38,31 +38,31 @@
</style>
<!--<![endif]-->
-
-
+
+
<style type="text/css">
@media only screen and (min-width:480px) {
.mj-column-per-100 { width:100% !important; max-width: 100%; }
}
</style>
-
-
+
+
<style type="text/css">
-
-
+
+
</style>
<style type="text/css">address {
font-style: inherit;
font-family: Ubuntu, Helvetica, Arial;
}</style>
-
+
</head>
<body>
-
-
+
+
<div style>
-
-
+
+
<!--[if mso | IE]>
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"
@@ -70,39 +70,39 @@
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
-
-
+
+
<div style="margin:0px auto;max-width:600px;">
-
+
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
<tbody>
<tr>
<td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
-
+
<tr>
-
+
<td
class="" style="vertical-align:top;width:600px;"
>
<![endif]-->
-
+
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
-
+
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
-
+
<tr>
<td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:16px;line-height:1;text-align:left;color:#000000;">Hi!</div>
-
+
</td>
</tr>
-
+
<tr>
<td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:left;color:#000000;">{{#if order.order_details_url}}
Thank you for your order. Below is the list of fulfilled products. To see your order details please visit:
<a href="{{ order.order_details_url }}">{{ order.order_details_url }}</a>
@@ -118,75 +118,75 @@
You can track your shipment with {{fulfillment.tracking_number}} code.
{{/if}}
{{/if}}</div>
-
+
</td>
</tr>
-
+
<tr>
<td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:left;color:#000000;">{{#if digital_lines}}
You can download your digital products by clicking in download link(s).
{{/if}}</div>
-
+
</td>
</tr>
-
+
</table>
-
+
</div>
-
+
<!--[if mso | IE]>
</td>
-
+
</tr>
-
+
</table>
<![endif]-->
</td>
</tr>
</tbody>
</table>
-
+
</div>
-
-
+
+
<!--[if mso | IE]>
</td>
</tr>
</table>
-
+
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
-
-
+
+
<div style="margin:0px auto;max-width:600px;">
-
+
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
<tbody>
<tr>
<td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
-
+
<tr>
-
+
<td
class="" style="vertical-align:top;width:600px;"
>
<![endif]-->
-
+
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
-
+
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
-
+
<tr>
<td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:left;color:#000000;">{{#if physical_lines}}
<table style="width:100%">
<thead class="table-header-row" style="border-bottom: 2px solid #000;">
@@ -233,222 +233,221 @@
</tbody>
</table>
{{/if}}</div>
-
+
</td>
</tr>
-
+
</table>
-
+
</div>
-
+
<!--[if mso | IE]>
</td>
-
+
</tr>
-
+
</table>
<![endif]-->
</td>
</tr>
</tbody>
</table>
-
+
</div>
-
-
+
+
<!--[if mso | IE]>
</td>
</tr>
</table>
-
+
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
-
-
+
+
<div style="margin:0px auto;max-width:600px;">
-
+
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
<tbody>
<tr>
<td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
-
+
<tr>
-
+
<td
class="" style="vertical-align:top;width:600px;"
>
<![endif]-->
-
+
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
-
+
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
-
+
<tr>
<td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:left;color:#000000;">This is an automatically generated e-mail, please do not reply.</div>
-
+
</td>
</tr>
-
+
</table>
-
+
</div>
-
+
<!--[if mso | IE]>
</td>
-
+
</tr>
-
+
</table>
<![endif]-->
</td>
</tr>
</tbody>
</table>
-
+
</div>
-
-
+
+
<!--[if mso | IE]>
</td>
</tr>
</table>
-
+
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
-
-
+
+
<div style="background:#F2F2F2;background-color:#F2F2F2;margin:0px auto;max-width:600px;">
-
+
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="background:#F2F2F2;background-color:#F2F2F2;width:100%;">
<tbody>
<tr>
<td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
-
+
<tr>
-
+
<td
class="" style="vertical-align:top;width:600px;"
>
<![endif]-->
-
+
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
-
+
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
-
+
<tr>
<td align="center" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:center;color:#000000;">Sincerely, {{ site_name }}</div>
-
+
</td>
</tr>
-
+
</table>
-
+
</div>
-
+
<!--[if mso | IE]>
</td>
-
+
</tr>
-
+
</table>
<![endif]-->
</td>
</tr>
</tbody>
</table>
-
+
</div>
-
-
+
+
<!--[if mso | IE]>
</td>
</tr>
</table>
-
+
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="no-display-outlook" style="width:600px;" width="600"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
-
-
+
+
<div class="no-display" style="display: none; margin: 0px auto; max-width: 600px;">
-
+
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
<tbody>
<tr>
<td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
-
+
<tr>
-
+
<td
class="" style="vertical-align:top;width:600px;"
>
<![endif]-->
-
+
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
-
+
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
-
+
<tr>
<td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:left;color:#000000;">{{#if order}}
<script type="application/ld+json">
{{{{raw}}}}{{schema_markup}}{{{{/raw}}}}
</script>
{{/if}}</div>
-
+
</td>
</tr>
-
+
</table>
-
+
</div>
-
+
<!--[if mso | IE]>
</td>
-
+
</tr>
-
+
</table>
<![endif]-->
</td>
</tr>
</tbody>
</table>
-
+
</div>
-
-
+
+
<!--[if mso | IE]>
</td>
</tr>
</table>
<![endif]-->
-
-
+
+
</div>
-
+
</body>
</html>
-
\ No newline at end of file
diff --git a/templates/templated_email/compiled/confirm_order.html b/saleor/plugins/user_email/default_email_templates/confirm_order.html
similarity index 93%
rename from templates/templated_email/compiled/confirm_order.html
rename to saleor/plugins/user_email/default_email_templates/confirm_order.html
index 9b7304b10f..5aad2fbceb 100644
--- a/templates/templated_email/compiled/confirm_order.html
+++ b/saleor/plugins/user_email/default_email_templates/confirm_order.html
@@ -3,7 +3,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
<head>
<title>
-
+
</title>
<!--[if !mso]><!-- -->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
@@ -30,7 +30,7 @@
.mj-outlook-group-fix { width:100% !important; }
</style>
<![endif]-->
-
+
<!--[if !mso]><!-->
<link href="https://fonts.googleapis.com/css?family=Ubuntu:300,400,500,700" rel="stylesheet" type="text/css">
<style type="text/css">
@@ -38,31 +38,31 @@
</style>
<!--<![endif]-->
-
-
+
+
<style type="text/css">
@media only screen and (min-width:480px) {
.mj-column-per-100 { width:100% !important; max-width: 100%; }
}
</style>
-
-
+
+
<style type="text/css">
-
-
+
+
</style>
<style type="text/css">address {
font-style: inherit;
font-family: Ubuntu, Helvetica, Arial;
}</style>
-
+
</head>
<body>
-
-
+
+
<div style>
-
-
+
+
<!--[if mso | IE]>
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"
@@ -70,104 +70,104 @@
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
-
-
+
+
<div style="margin:0px auto;max-width:600px;">
-
+
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
<tbody>
<tr>
<td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
-
+
<tr>
-
+
<td
class="" style="vertical-align:top;width:600px;"
>
<![endif]-->
-
+
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
-
+
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
-
+
<tr>
<td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:16px;line-height:1;text-align:left;color:#000000;">Hi!</div>
-
+
</td>
</tr>
-
+
<tr>
<td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:left;color:#000000;">{{#if order.order_details_url}}
Thank you for your order. Below is the list of ordered products. To see your payment details please
visit: <a href="{{order.order_details_url}}">{{order.order_details_url}}</a>
{{else}}
Thank you for your order. Below is the list of ordered products.
{{/if}}</div>
-
+
</td>
</tr>
-
+
</table>
-
+
</div>
-
+
<!--[if mso | IE]>
</td>
-
+
</tr>
-
+
</table>
<![endif]-->
</td>
</tr>
</tbody>
</table>
-
+
</div>
-
-
+
+
<!--[if mso | IE]>
</td>
</tr>
</table>
-
+
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
-
-
+
+
<div style="margin:0px auto;max-width:600px;">
-
+
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
<tbody>
<tr>
<td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
-
+
<tr>
-
+
<td
class="" style="vertical-align:top;width:600px;"
>
<![endif]-->
-
+
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
-
+
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
-
+
<tr>
<td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<table cellpadding="0" cellspacing="0" width="100%" border="0" style="color:#000000;font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:22px;table-layout:auto;width:100%;border:none;">
<tfoot>
<tr>
@@ -247,65 +247,65 @@
{{/each}}
</tbody>
</table>
-
+
</td>
</tr>
-
+
</table>
-
+
</div>
-
+
<!--[if mso | IE]>
</td>
-
+
</tr>
-
+
</table>
<![endif]-->
</td>
</tr>
</tbody>
</table>
-
+
</div>
-
-
+
+
<!--[if mso | IE]>
</td>
</tr>
</table>
-
+
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
-
-
+
+
<div style="margin:0px auto;max-width:600px;">
-
+
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
<tbody>
<tr>
<td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
-
+
<tr>
-
+
<td
class="" style="vertical-align:top;width:600px;"
>
<![endif]-->
-
+
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
-
+
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
-
+
<tr>
<td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<table cellpadding="0" cellspacing="0" width="100%" border="0" style="color:#000000;font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:22px;table-layout:auto;width:100%;border:none;">
<thead class="table-header-row" style="border-bottom: 2px solid #000;">
<tr>
@@ -336,222 +336,221 @@
</tr>
</tbody>
</table>
-
+
</td>
</tr>
-
+
</table>
-
+
</div>
-
+
<!--[if mso | IE]>
</td>
-
+
</tr>
-
+
</table>
<![endif]-->
</td>
</tr>
</tbody>
</table>
-
+
</div>
-
-
+
+
<!--[if mso | IE]>
</td>
</tr>
</table>
-
+
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
-
-
+
+
<div style="margin:0px auto;max-width:600px;">
-
+
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
<tbody>
<tr>
<td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
-
+
<tr>
-
+
<td
class="" style="vertical-align:top;width:600px;"
>
<![endif]-->
-
+
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
-
+
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
-
+
<tr>
<td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:left;color:#000000;">This is an automatically generated e-mail, please do not reply.</div>
-
+
</td>
</tr>
-
+
</table>
-
+
</div>
-
+
<!--[if mso | IE]>
</td>
-
+
</tr>
-
+
</table>
<![endif]-->
</td>
</tr>
</tbody>
</table>
-
+
</div>
-
-
+
+
<!--[if mso | IE]>
</td>
</tr>
</table>
-
+
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
-
-
+
+
<div style="background:#F2F2F2;background-color:#F2F2F2;margin:0px auto;max-width:600px;">
-
+
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="background:#F2F2F2;background-color:#F2F2F2;width:100%;">
<tbody>
<tr>
<td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
-
+
<tr>
-
+
<td
class="" style="vertical-align:top;width:600px;"
>
<![endif]-->
-
+
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
-
+
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
-
+
<tr>
<td align="center" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:center;color:#000000;">Sincerely, {{ site_name }}</div>
-
+
</td>
</tr>
-
+
</table>
-
+
</div>
-
+
<!--[if mso | IE]>
</td>
-
+
</tr>
-
+
</table>
<![endif]-->
</td>
</tr>
</tbody>
</table>
-
+
</div>
-
-
+
+
<!--[if mso | IE]>
</td>
</tr>
</table>
-
+
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="no-display-outlook" style="width:600px;" width="600"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
-
-
+
+
<div class="no-display" style="display: none; margin: 0px auto; max-width: 600px;">
-
+
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
<tbody>
<tr>
<td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
-
+
<tr>
-
+
<td
class="" style="vertical-align:top;width:600px;"
>
<![endif]-->
-
+
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
-
+
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
-
+
<tr>
<td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:left;color:#000000;">{{#if order}}
<script type="application/ld+json">
{{{{raw}}}}{{schema_markup}}{{{{/raw}}}}
</script>
{{/if}}</div>
-
+
</td>
</tr>
-
+
</table>
-
+
</div>
-
+
<!--[if mso | IE]>
</td>
-
+
</tr>
-
+
</table>
<![endif]-->
</td>
</tr>
</tbody>
</table>
-
+
</div>
-
-
+
+
<!--[if mso | IE]>
</td>
</tr>
</table>
<![endif]-->
-
-
+
+
</div>
-
+
</body>
</html>
-
\ No newline at end of file
diff --git a/templates/templated_email/compiled/confirm_payment.html b/saleor/plugins/user_email/default_email_templates/confirm_payment.html
similarity index 92%
rename from templates/templated_email/compiled/confirm_payment.html
rename to saleor/plugins/user_email/default_email_templates/confirm_payment.html
index 893c4aca08..299bb3016c 100644
--- a/templates/templated_email/compiled/confirm_payment.html
+++ b/saleor/plugins/user_email/default_email_templates/confirm_payment.html
@@ -3,7 +3,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
<head>
<title>
-
+
</title>
<!--[if !mso]><!-- -->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
@@ -30,7 +30,7 @@
.mj-outlook-group-fix { width:100% !important; }
</style>
<![endif]-->
-
+
<!--[if !mso]><!-->
<link href="https://fonts.googleapis.com/css?family=Ubuntu:300,400,500,700" rel="stylesheet" type="text/css">
<style type="text/css">
@@ -38,31 +38,31 @@
</style>
<!--<![endif]-->
-
-
+
+
<style type="text/css">
@media only screen and (min-width:480px) {
.mj-column-per-100 { width:100% !important; max-width: 100%; }
}
</style>
-
-
+
+
<style type="text/css">
-
-
+
+
</style>
<style type="text/css">address {
font-style: inherit;
font-family: Ubuntu, Helvetica, Arial;
}</style>
-
+
</head>
<body>
-
-
+
+
<div style>
-
-
+
+
<!--[if mso | IE]>
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"
@@ -70,257 +70,256 @@
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
-
-
+
+
<div style="margin:0px auto;max-width:600px;">
-
+
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
<tbody>
<tr>
<td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
-
+
<tr>
-
+
<td
class="" style="vertical-align:top;width:600px;"
>
<![endif]-->
-
+
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
-
+
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
-
+
<tr>
<td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:16px;line-height:1;text-align:left;color:#000000;">Hi!</div>
-
+
</td>
</tr>
-
+
<tr>
<td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:left;color:#000000;">Thank you for your payment.
Your payment was successfully processed.</div>
-
+
</td>
</tr>
-
+
</table>
-
+
</div>
-
+
<!--[if mso | IE]>
</td>
-
+
</tr>
-
+
</table>
<![endif]-->
</td>
</tr>
</tbody>
</table>
-
+
</div>
-
-
+
+
<!--[if mso | IE]>
</td>
</tr>
</table>
-
+
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
-
-
+
+
<div style="margin:0px auto;max-width:600px;">
-
+
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
<tbody>
<tr>
<td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
-
+
<tr>
-
+
<td
class="" style="vertical-align:top;width:600px;"
>
<![endif]-->
-
+
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
-
+
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
-
+
<tr>
<td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:left;color:#000000;">This is an automatically generated e-mail, please do not reply.</div>
-
+
</td>
</tr>
-
+
</table>
-
+
</div>
-
+
<!--[if mso | IE]>
</td>
-
+
</tr>
-
+
</table>
<![endif]-->
</td>
</tr>
</tbody>
</table>
-
+
</div>
-
-
+
+
<!--[if mso | IE]>
</td>
</tr>
</table>
-
+
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
-
-
+
+
<div style="background:#F2F2F2;background-color:#F2F2F2;margin:0px auto;max-width:600px;">
-
+
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="background:#F2F2F2;background-color:#F2F2F2;width:100%;">
<tbody>
<tr>
<td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
-
+
<tr>
-
+
<td
class="" style="vertical-align:top;width:600px;"
>
<![endif]-->
-
+
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
-
+
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
-
+
<tr>
<td align="center" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:center;color:#000000;">Sincerely, {{ site_name }}</div>
-
+
</td>
</tr>
-
+
</table>
-
+
</div>
-
+
<!--[if mso | IE]>
</td>
-
+
</tr>
-
+
</table>
<![endif]-->
</td>
</tr>
</tbody>
</table>
-
+
</div>
-
-
+
+
<!--[if mso | IE]>
</td>
</tr>
</table>
-
+
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="no-display-outlook" style="width:600px;" width="600"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
-
-
+
+
<div class="no-display" style="display: none; margin: 0px auto; max-width: 600px;">
-
+
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
<tbody>
<tr>
<td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
-
+
<tr>
-
+
<td
class="" style="vertical-align:top;width:600px;"
>
<![endif]-->
-
+
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
-
+
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
-
+
<tr>
<td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:left;color:#000000;">{{#if order}}
<script type="application/ld+json">
{{{{raw}}}}{{schema_markup}}{{{{/raw}}}}
</script>
{{/if}}</div>
-
+
</td>
</tr>
-
+
</table>
-
+
</div>
-
+
<!--[if mso | IE]>
</td>
-
+
</tr>
-
+
</table>
<![endif]-->
</td>
</tr>
</tbody>
</table>
-
+
</div>
-
-
+
+
<!--[if mso | IE]>
</td>
</tr>
</table>
<![endif]-->
-
-
+
+
</div>
-
+
</body>
</html>
-
\ No newline at end of file
diff --git a/templates/templated_email/compiled/confirmed_order.html b/saleor/plugins/user_email/default_email_templates/confirmed_order.html
similarity index 93%
rename from templates/templated_email/compiled/confirmed_order.html
rename to saleor/plugins/user_email/default_email_templates/confirmed_order.html
index fcb282f015..4619961192 100644
--- a/templates/templated_email/compiled/confirmed_order.html
+++ b/saleor/plugins/user_email/default_email_templates/confirmed_order.html
@@ -3,7 +3,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
<head>
<title>
-
+
</title>
<!--[if !mso]><!-- -->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
@@ -30,7 +30,7 @@
.mj-outlook-group-fix { width:100% !important; }
</style>
<![endif]-->
-
+
<!--[if !mso]><!-->
<link href="https://fonts.googleapis.com/css?family=Ubuntu:300,400,500,700" rel="stylesheet" type="text/css">
<style type="text/css">
@@ -38,31 +38,31 @@
</style>
<!--<![endif]-->
-
-
+
+
<style type="text/css">
@media only screen and (min-width:480px) {
.mj-column-per-100 { width:100% !important; max-width: 100%; }
}
</style>
-
-
+
+
<style type="text/css">
-
-
+
+
</style>
<style type="text/css">address {
font-style: inherit;
font-family: Ubuntu, Helvetica, Arial;
}</style>
-
+
</head>
<body>
-
-
+
+
<div style>
-
-
+
+
<!--[if mso | IE]>
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"
@@ -70,104 +70,104 @@
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
-
-
+
+
<div style="margin:0px auto;max-width:600px;">
-
+
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
<tbody>
<tr>
<td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
-
+
<tr>
-
+
<td
class="" style="vertical-align:top;width:600px;"
>
<![endif]-->
-
+
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
-
+
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
-
+
<tr>
<td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:16px;line-height:1;text-align:left;color:#000000;">Hi!</div>
-
+
</td>
</tr>
-
+
<tr>
<td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:left;color:#000000;">{{#if order.order_details_url}}
Your order has been confirmed by staff. To see your order details please visit:
<a href="{{order.order_details_url}}">{{order.order_details_url}}</a>
{{else}}
Your order has been confirmed by staff. Below is the list of ordered products.
{{/if}}</div>
-
+
</td>
</tr>
-
+
</table>
-
+
</div>
-
+
<!--[if mso | IE]>
</td>
-
+
</tr>
-
+
</table>
<![endif]-->
</td>
</tr>
</tbody>
</table>
-
+
</div>
-
-
+
+
<!--[if mso | IE]>
</td>
</tr>
</table>
-
+
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
-
-
+
+
<div style="margin:0px auto;max-width:600px;">
-
+
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
<tbody>
<tr>
<td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
-
+
<tr>
-
+
<td
class="" style="vertical-align:top;width:600px;"
>
<![endif]-->
-
+
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
-
+
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
-
+
<tr>
<td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<table cellpadding="0" cellspacing="0" width="100%" border="0" style="color:#000000;font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:22px;table-layout:auto;width:100%;border:none;">
<tfoot>
<tr>
@@ -247,65 +247,65 @@
{{/each}}
</tbody>
</table>
-
+
</td>
</tr>
-
+
</table>
-
+
</div>
-
+
<!--[if mso | IE]>
</td>
-
+
</tr>
-
+
</table>
<![endif]-->
</td>
</tr>
</tbody>
</table>
-
+
</div>
-
-
+
+
<!--[if mso | IE]>
</td>
</tr>
</table>
-
+
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
-
-
+
+
<div style="margin:0px auto;max-width:600px;">
-
+
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
<tbody>
<tr>
<td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
-
+
<tr>
-
+
<td
class="" style="vertical-align:top;width:600px;"
>
<![endif]-->
-
+
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
-
+
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
-
+
<tr>
<td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<table cellpadding="0" cellspacing="0" width="100%" border="0" style="color:#000000;font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:22px;table-layout:auto;width:100%;border:none;">
<thead class="table-header-row" style="border-bottom: 2px solid #000;">
<tr>
@@ -336,222 +336,221 @@
</tr>
</tbody>
</table>
-
+
</td>
</tr>
-
+
</table>
-
+
</div>
-
+
<!--[if mso | IE]>
</td>
-
+
</tr>
-
+
</table>
<![endif]-->
</td>
</tr>
</tbody>
</table>
-
+
</div>
-
-
+
+
<!--[if mso | IE]>
</td>
</tr>
</table>
-
+
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
-
-
+
+
<div style="margin:0px auto;max-width:600px;">
-
+
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
<tbody>
<tr>
<td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
-
+
<tr>
-
+
<td
class="" style="vertical-align:top;width:600px;"
>
<![endif]-->
-
+
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
-
+
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
-
+
<tr>
<td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:left;color:#000000;">This is an automatically generated e-mail, please do not reply.</div>
-
+
</td>
</tr>
-
+
</table>
-
+
</div>
-
+
<!--[if mso | IE]>
</td>
-
+
</tr>
-
+
</table>
<![endif]-->
</td>
</tr>
</tbody>
</table>
-
+
</div>
-
-
+
+
<!--[if mso | IE]>
</td>
</tr>
</table>
-
+
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
-
-
+
+
<div style="background:#F2F2F2;background-color:#F2F2F2;margin:0px auto;max-width:600px;">
-
+
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="background:#F2F2F2;background-color:#F2F2F2;width:100%;">
<tbody>
<tr>
<td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
-
+
<tr>
-
+
<td
class="" style="vertical-align:top;width:600px;"
>
<![endif]-->
-
+
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
-
+
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
-
+
<tr>
<td align="center" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:center;color:#000000;">Sincerely, {{ site_name }}</div>
-
+
</td>
</tr>
-
+
</table>
-
+
</div>
-
+
<!--[if mso | IE]>
</td>
-
+
</tr>
-
+
</table>
<![endif]-->
</td>
</tr>
</tbody>
</table>
-
+
</div>
-
-
+
+
<!--[if mso | IE]>
</td>
</tr>
</table>
-
+
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="no-display-outlook" style="width:600px;" width="600"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
-
-
+
+
<div class="no-display" style="display: none; margin: 0px auto; max-width: 600px;">
-
+
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
<tbody>
<tr>
<td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
-
+
<tr>
-
+
<td
class="" style="vertical-align:top;width:600px;"
>
<![endif]-->
-
+
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
-
+
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
-
+
<tr>
<td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:left;color:#000000;">{{#if order}}
<script type="application/ld+json">
{{{{raw}}}}{{schema_markup}}{{{{/raw}}}}
</script>
{{/if}}</div>
-
+
</td>
</tr>
-
+
</table>
-
+
</div>
-
+
<!--[if mso | IE]>
</td>
-
+
</tr>
-
+
</table>
<![endif]-->
</td>
</tr>
</tbody>
</table>
-
+
</div>
-
-
+
+
<!--[if mso | IE]>
</td>
</tr>
</table>
<![endif]-->
-
-
+
+
</div>
-
+
</body>
</html>
-
\ No newline at end of file
diff --git a/templates/templated_email/compiled/email_changed_notification.html b/saleor/plugins/user_email/default_email_templates/email_changed_notification.html
similarity index 92%
rename from templates/templated_email/compiled/email_changed_notification.html
rename to saleor/plugins/user_email/default_email_templates/email_changed_notification.html
index 36db686ba9..4907e4556a 100644
--- a/templates/templated_email/compiled/email_changed_notification.html
+++ b/saleor/plugins/user_email/default_email_templates/email_changed_notification.html
@@ -3,7 +3,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
<head>
<title>
-
+
</title>
<!--[if !mso]><!-- -->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
@@ -30,7 +30,7 @@
.mj-outlook-group-fix { width:100% !important; }
</style>
<![endif]-->
-
+
<!--[if !mso]><!-->
<link href="https://fonts.googleapis.com/css?family=Ubuntu:300,400,500,700" rel="stylesheet" type="text/css">
<style type="text/css">
@@ -38,31 +38,31 @@
</style>
<!--<![endif]-->
-
-
+
+
<style type="text/css">
@media only screen and (min-width:480px) {
.mj-column-per-100 { width:100% !important; max-width: 100%; }
}
</style>
-
-
+
+
<style type="text/css">
-
-
+
+
</style>
<style type="text/css">address {
font-style: inherit;
font-family: Ubuntu, Helvetica, Arial;
}</style>
-
+
</head>
<body>
-
-
+
+
<div style>
-
-
+
+
<!--[if mso | IE]>
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"
@@ -70,257 +70,256 @@
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
-
-
+
+
<div style="margin:0px auto;max-width:600px;">
-
+
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
<tbody>
<tr>
<td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
-
+
<tr>
-
+
<td
class="" style="vertical-align:top;width:600px;"
>
<![endif]-->
-
+
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
-
+
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
-
+
<tr>
<td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:16px;line-height:1;text-align:left;color:#000000;">Hi!</div>
-
+
</td>
</tr>
-
+
<tr>
<td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:left;color:#000000;">You're receiving this e-mail because you or someone else has changed email for your user account at {{ site_name }}.<br>
If you didn't request this change, please contact the administrator.</div>
-
+
</td>
</tr>
-
+
</table>
-
+
</div>
-
+
<!--[if mso | IE]>
</td>
-
+
</tr>
-
+
</table>
<![endif]-->
</td>
</tr>
</tbody>
</table>
-
+
</div>
-
-
+
+
<!--[if mso | IE]>
</td>
</tr>
</table>
-
+
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
-
-
+
+
<div style="margin:0px auto;max-width:600px;">
-
+
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
<tbody>
<tr>
<td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
-
+
<tr>
-
+
<td
class="" style="vertical-align:top;width:600px;"
>
<![endif]-->
-
+
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
-
+
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
-
+
<tr>
<td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:left;color:#000000;">This is an automatically generated e-mail, please do not reply.</div>
-
+
</td>
</tr>
-
+
</table>
-
+
</div>
-
+
<!--[if mso | IE]>
</td>
-
+
</tr>
-
+
</table>
<![endif]-->
</td>
</tr>
</tbody>
</table>
-
+
</div>
-
-
+
+
<!--[if mso | IE]>
</td>
</tr>
</table>
-
+
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
-
-
+
+
<div style="background:#F2F2F2;background-color:#F2F2F2;margin:0px auto;max-width:600px;">
-
+
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="background:#F2F2F2;background-color:#F2F2F2;width:100%;">
<tbody>
<tr>
<td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
-
+
<tr>
-
+
<td
class="" style="vertical-align:top;width:600px;"
>
<![endif]-->
-
+
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
-
+
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
-
+
<tr>
<td align="center" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:center;color:#000000;">Sincerely, {{ site_name }}</div>
-
+
</td>
</tr>
-
+
</table>
-
+
</div>
-
+
<!--[if mso | IE]>
</td>
-
+
</tr>
-
+
</table>
<![endif]-->
</td>
</tr>
</tbody>
</table>
-
+
</div>
-
-
+
+
<!--[if mso | IE]>
</td>
</tr>
</table>
-
+
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="no-display-outlook" style="width:600px;" width="600"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
-
-
+
+
<div class="no-display" style="display: none; margin: 0px auto; max-width: 600px;">
-
+
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
<tbody>
<tr>
<td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
-
+
<tr>
-
+
<td
class="" style="vertical-align:top;width:600px;"
>
<![endif]-->
-
+
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
-
+
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
-
+
<tr>
<td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:left;color:#000000;">{{#if order}}
<script type="application/ld+json">
{{{{raw}}}}{{schema_markup}}{{{{/raw}}}}
</script>
{{/if}}</div>
-
+
</td>
</tr>
-
+
</table>
-
+
</div>
-
+
<!--[if mso | IE]>
</td>
-
+
</tr>
-
+
</table>
<![endif]-->
</td>
</tr>
</tbody>
</table>
-
+
</div>
-
-
+
+
<!--[if mso | IE]>
</td>
</tr>
</table>
<![endif]-->
-
-
+
+
</div>
-
+
</body>
</html>
-
\ No newline at end of file
diff --git a/templates/templated_email/compiled/order_cancel.html b/saleor/plugins/user_email/default_email_templates/order_cancel.html
similarity index 92%
rename from templates/templated_email/compiled/order_cancel.html
rename to saleor/plugins/user_email/default_email_templates/order_cancel.html
index 2f2ec93726..41571b8736 100644
--- a/templates/templated_email/compiled/order_cancel.html
+++ b/saleor/plugins/user_email/default_email_templates/order_cancel.html
@@ -3,7 +3,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
<head>
<title>
-
+
</title>
<!--[if !mso]><!-- -->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
@@ -30,7 +30,7 @@
.mj-outlook-group-fix { width:100% !important; }
</style>
<![endif]-->
-
+
<!--[if !mso]><!-->
<link href="https://fonts.googleapis.com/css?family=Ubuntu:300,400,500,700" rel="stylesheet" type="text/css">
<style type="text/css">
@@ -38,31 +38,31 @@
</style>
<!--<![endif]-->
-
-
+
+
<style type="text/css">
@media only screen and (min-width:480px) {
.mj-column-per-100 { width:100% !important; max-width: 100%; }
}
</style>
-
-
+
+
<style type="text/css">
-
-
+
+
</style>
<style type="text/css">address {
font-style: inherit;
font-family: Ubuntu, Helvetica, Arial;
}</style>
-
+
</head>
<body>
-
-
+
+
<div style>
-
-
+
+
<!--[if mso | IE]>
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"
@@ -70,256 +70,255 @@
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
-
-
+
+
<div style="margin:0px auto;max-width:600px;">
-
+
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
<tbody>
<tr>
<td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
-
+
<tr>
-
+
<td
class="" style="vertical-align:top;width:600px;"
>
<![endif]-->
-
+
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
-
+
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
-
+
<tr>
<td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:16px;line-height:1;text-align:left;color:#000000;">Hi!</div>
-
+
</td>
</tr>
-
+
<tr>
<td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:left;color:#000000;">Your order #{{order.id}} has been canceled.</div>
-
+
</td>
</tr>
-
+
</table>
-
+
</div>
-
+
<!--[if mso | IE]>
</td>
-
+
</tr>
-
+
</table>
<![endif]-->
</td>
</tr>
</tbody>
</table>
-
+
</div>
-
-
+
+
<!--[if mso | IE]>
</td>
</tr>
</table>
-
+
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
-
-
+
+
<div style="margin:0px auto;max-width:600px;">
-
+
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
<tbody>
<tr>
<td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
-
+
<tr>
-
+
<td
class="" style="vertical-align:top;width:600px;"
>
<![endif]-->
-
+
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
-
+
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
-
+
<tr>
<td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:left;color:#000000;">This is an automatically generated e-mail, please do not reply.</div>
-
+
</td>
</tr>
-
+
</table>
-
+
</div>
-
+
<!--[if mso | IE]>
</td>
-
+
</tr>
-
+
</table>
<![endif]-->
</td>
</tr>
</tbody>
</table>
-
+
</div>
-
-
+
+
<!--[if mso | IE]>
</td>
</tr>
</table>
-
+
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
-
-
+
+
<div style="background:#F2F2F2;background-color:#F2F2F2;margin:0px auto;max-width:600px;">
-
+
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="background:#F2F2F2;background-color:#F2F2F2;width:100%;">
<tbody>
<tr>
<td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
-
+
<tr>
-
+
<td
class="" style="vertical-align:top;width:600px;"
>
<![endif]-->
-
+
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
-
+
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
-
+
<tr>
<td align="center" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:center;color:#000000;">Sincerely, {{ site_name }}</div>
-
+
</td>
</tr>
-
+
</table>
-
+
</div>
-
+
<!--[if mso | IE]>
</td>
-
+
</tr>
-
+
</table>
<![endif]-->
</td>
</tr>
</tbody>
</table>
-
+
</div>
-
-
+
+
<!--[if mso | IE]>
</td>
</tr>
</table>
-
+
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="no-display-outlook" style="width:600px;" width="600"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
-
-
+
+
<div class="no-display" style="display: none; margin: 0px auto; max-width: 600px;">
-
+
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
<tbody>
<tr>
<td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
-
+
<tr>
-
+
<td
class="" style="vertical-align:top;width:600px;"
>
<![endif]-->
-
+
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
-
+
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
-
+
<tr>
<td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:left;color:#000000;">{{#if order}}
<script type="application/ld+json">
{{{{raw}}}}{{schema_markup}}{{{{/raw}}}}
</script>
{{/if}}</div>
-
+
</td>
</tr>
-
+
</table>
-
+
</div>
-
+
<!--[if mso | IE]>
</td>
-
+
</tr>
-
+
</table>
<![endif]-->
</td>
</tr>
</tbody>
</table>
-
+
</div>
-
-
+
+
<!--[if mso | IE]>
</td>
</tr>
</table>
<![endif]-->
-
-
+
+
</div>
-
+
</body>
</html>
-
\ No newline at end of file
diff --git a/templates/templated_email/compiled/order_refund.html b/saleor/plugins/user_email/default_email_templates/order_refund.html
similarity index 92%
rename from templates/templated_email/compiled/order_refund.html
rename to saleor/plugins/user_email/default_email_templates/order_refund.html
index e3846303c7..1b7b6882ef 100644
--- a/templates/templated_email/compiled/order_refund.html
+++ b/saleor/plugins/user_email/default_email_templates/order_refund.html
@@ -3,7 +3,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
<head>
<title>
-
+
</title>
<!--[if !mso]><!-- -->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
@@ -30,7 +30,7 @@
.mj-outlook-group-fix { width:100% !important; }
</style>
<![endif]-->
-
+
<!--[if !mso]><!-->
<link href="https://fonts.googleapis.com/css?family=Ubuntu:300,400,500,700" rel="stylesheet" type="text/css">
<style type="text/css">
@@ -38,31 +38,31 @@
</style>
<!--<![endif]-->
-
-
+
+
<style type="text/css">
@media only screen and (min-width:480px) {
.mj-column-per-100 { width:100% !important; max-width: 100%; }
}
</style>
-
-
+
+
<style type="text/css">
-
-
+
+
</style>
<style type="text/css">address {
font-style: inherit;
font-family: Ubuntu, Helvetica, Arial;
}</style>
-
+
</head>
<body>
-
-
+
+
<div style>
-
-
+
+
<!--[if mso | IE]>
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"
@@ -70,256 +70,255 @@
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
-
-
+
+
<div style="margin:0px auto;max-width:600px;">
-
+
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
<tbody>
<tr>
<td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
-
+
<tr>
-
+
<td
class="" style="vertical-align:top;width:600px;"
>
<![endif]-->
-
+
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
-
+
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
-
+
<tr>
<td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:16px;line-height:1;text-align:left;color:#000000;">Hi!</div>
-
+
</td>
</tr>
-
+
<tr>
<td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:left;color:#000000;">A payment of {{amount}} {{currency}} has been refunded for your order.</div>
-
+
</td>
</tr>
-
+
</table>
-
+
</div>
-
+
<!--[if mso | IE]>
</td>
-
+
</tr>
-
+
</table>
<![endif]-->
</td>
</tr>
</tbody>
</table>
-
+
</div>
-
-
+
+
<!--[if mso | IE]>
</td>
</tr>
</table>
-
+
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
-
-
+
+
<div style="margin:0px auto;max-width:600px;">
-
+
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
<tbody>
<tr>
<td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
-
+
<tr>
-
+
<td
class="" style="vertical-align:top;width:600px;"
>
<![endif]-->
-
+
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
-
+
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
-
+
<tr>
<td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:left;color:#000000;">This is an automatically generated e-mail, please do not reply.</div>
-
+
</td>
</tr>
-
+
</table>
-
+
</div>
-
+
<!--[if mso | IE]>
</td>
-
+
</tr>
-
+
</table>
<![endif]-->
</td>
</tr>
</tbody>
</table>
-
+
</div>
-
-
+
+
<!--[if mso | IE]>
</td>
</tr>
</table>
-
+
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
-
-
+
+
<div style="background:#F2F2F2;background-color:#F2F2F2;margin:0px auto;max-width:600px;">
-
+
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="background:#F2F2F2;background-color:#F2F2F2;width:100%;">
<tbody>
<tr>
<td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
-
+
<tr>
-
+
<td
class="" style="vertical-align:top;width:600px;"
>
<![endif]-->
-
+
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
-
+
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
-
+
<tr>
<td align="center" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:center;color:#000000;">Sincerely, {{ site_name }}</div>
-
+
</td>
</tr>
-
+
</table>
-
+
</div>
-
+
<!--[if mso | IE]>
</td>
-
+
</tr>
-
+
</table>
<![endif]-->
</td>
</tr>
</tbody>
</table>
-
+
</div>
-
-
+
+
<!--[if mso | IE]>
</td>
</tr>
</table>
-
+
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="no-display-outlook" style="width:600px;" width="600"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
-
-
+
+
<div class="no-display" style="display: none; margin: 0px auto; max-width: 600px;">
-
+
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
<tbody>
<tr>
<td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
-
+
<tr>
-
+
<td
class="" style="vertical-align:top;width:600px;"
>
<![endif]-->
-
+
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
-
+
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
-
+
<tr>
<td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:left;color:#000000;">{{#if order}}
<script type="application/ld+json">
{{{{raw}}}}{{schema_markup}}{{{{/raw}}}}
</script>
{{/if}}</div>
-
+
</td>
</tr>
-
+
</table>
-
+
</div>
-
+
<!--[if mso | IE]>
</td>
-
+
</tr>
-
+
</table>
<![endif]-->
</td>
</tr>
</tbody>
</table>
-
+
</div>
-
-
+
+
<!--[if mso | IE]>
</td>
</tr>
</table>
<![endif]-->
-
-
+
+
</div>
-
+
</body>
</html>
-
\ No newline at end of file
diff --git a/templates/templated_email/compiled/password_reset.html b/saleor/plugins/user_email/default_email_templates/password_reset.html
similarity index 92%
rename from templates/templated_email/compiled/password_reset.html
rename to saleor/plugins/user_email/default_email_templates/password_reset.html
index 82683c6ad4..e9dc8dcb0f 100644
--- a/templates/templated_email/compiled/password_reset.html
+++ b/saleor/plugins/user_email/default_email_templates/password_reset.html
@@ -3,7 +3,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
<head>
<title>
-
+
</title>
<!--[if !mso]><!-- -->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
@@ -30,7 +30,7 @@
.mj-outlook-group-fix { width:100% !important; }
</style>
<![endif]-->
-
+
<!--[if !mso]><!-->
<link href="https://fonts.googleapis.com/css?family=Ubuntu:300,400,500,700" rel="stylesheet" type="text/css">
<style type="text/css">
@@ -38,31 +38,31 @@
</style>
<!--<![endif]-->
-
-
+
+
<style type="text/css">
@media only screen and (min-width:480px) {
.mj-column-per-100 { width:100% !important; max-width: 100%; }
}
</style>
-
-
+
+
<style type="text/css">
-
-
+
+
</style>
<style type="text/css">address {
font-style: inherit;
font-family: Ubuntu, Helvetica, Arial;
}</style>
-
+
</head>
<body>
-
-
+
+
<div style>
-
-
+
+
<!--[if mso | IE]>
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"
@@ -70,267 +70,266 @@
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
-
-
+
+
<div style="margin:0px auto;max-width:600px;">
-
+
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
<tbody>
<tr>
<td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
-
+
<tr>
-
+
<td
class="" style="vertical-align:top;width:600px;"
>
<![endif]-->
-
+
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
-
+
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
-
+
<tr>
<td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:16px;line-height:1;text-align:left;color:#000000;">Hi!</div>
-
+
</td>
</tr>
-
+
<tr>
<td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:left;color:#000000;">You're receiving this e-mail because you or someone else has requested a password for your user account at {{site_name}}.<br>
It can be safely ignored if you did not request a password reset. Click the link below to reset your password.</div>
-
+
</td>
</tr>
-
+
<tr>
<td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:left;color:#000000;"><a href="{{reset_url}}">
{{reset_url}}
</a></div>
-
+
</td>
</tr>
-
+
</table>
-
+
</div>
-
+
<!--[if mso | IE]>
</td>
-
+
</tr>
-
+
</table>
<![endif]-->
</td>
</tr>
</tbody>
</table>
-
+
</div>
-
-
+
+
<!--[if mso | IE]>
</td>
</tr>
</table>
-
+
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
-
-
+
+
<div style="margin:0px auto;max-width:600px;">
-
+
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
<tbody>
<tr>
<td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
-
+
<tr>
-
+
<td
class="" style="vertical-align:top;width:600px;"
>
<![endif]-->
-
+
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
-
+
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
-
+
<tr>
<td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:left;color:#000000;">This is an automatically generated e-mail, please do not reply.</div>
-
+
</td>
</tr>
-
+
</table>
-
+
</div>
-
+
<!--[if mso | IE]>
</td>
-
+
</tr>
-
+
</table>
<![endif]-->
</td>
</tr>
</tbody>
</table>
-
+
</div>
-
-
+
+
<!--[if mso | IE]>
</td>
</tr>
</table>
-
+
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
-
-
+
+
<div style="background:#F2F2F2;background-color:#F2F2F2;margin:0px auto;max-width:600px;">
-
+
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="background:#F2F2F2;background-color:#F2F2F2;width:100%;">
<tbody>
<tr>
<td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
-
+
<tr>
-
+
<td
class="" style="vertical-align:top;width:600px;"
>
<![endif]-->
-
+
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
-
+
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
-
+
<tr>
<td align="center" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:center;color:#000000;">Sincerely, {{ site_name }}</div>
-
+
</td>
</tr>
-
+
</table>
-
+
</div>
-
+
<!--[if mso | IE]>
</td>
-
+
</tr>
-
+
</table>
<![endif]-->
</td>
</tr>
</tbody>
</table>
-
+
</div>
-
-
+
+
<!--[if mso | IE]>
</td>
</tr>
</table>
-
+
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="no-display-outlook" style="width:600px;" width="600"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
-
-
+
+
<div class="no-display" style="display: none; margin: 0px auto; max-width: 600px;">
-
+
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
<tbody>
<tr>
<td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
-
+
<tr>
-
+
<td
class="" style="vertical-align:top;width:600px;"
>
<![endif]-->
-
+
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
-
+
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
-
+
<tr>
<td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:left;color:#000000;">{{#if order}}
<script type="application/ld+json">
{{{{raw}}}}{{schema_markup}}{{{{/raw}}}}
</script>
{{/if}}</div>
-
+
</td>
</tr>
-
+
</table>
-
+
</div>
-
+
<!--[if mso | IE]>
</td>
-
+
</tr>
-
+
</table>
<![endif]-->
</td>
</tr>
</tbody>
</table>
-
+
</div>
-
-
+
+
<!--[if mso | IE]>
</td>
</tr>
</table>
<![endif]-->
-
-
+
+
</div>
-
+
</body>
</html>
-
\ No newline at end of file
diff --git a/templates/templated_email/compiled/request_email_change.html b/saleor/plugins/user_email/default_email_templates/request_email_change.html
similarity index 92%
rename from templates/templated_email/compiled/request_email_change.html
rename to saleor/plugins/user_email/default_email_templates/request_email_change.html
index b2e721c911..7b43c3a105 100644
--- a/templates/templated_email/compiled/request_email_change.html
+++ b/saleor/plugins/user_email/default_email_templates/request_email_change.html
@@ -3,7 +3,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
<head>
<title>
-
+
</title>
<!--[if !mso]><!-- -->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
@@ -30,7 +30,7 @@
.mj-outlook-group-fix { width:100% !important; }
</style>
<![endif]-->
-
+
<!--[if !mso]><!-->
<link href="https://fonts.googleapis.com/css?family=Ubuntu:300,400,500,700" rel="stylesheet" type="text/css">
<style type="text/css">
@@ -38,31 +38,31 @@
</style>
<!--<![endif]-->
-
-
+
+
<style type="text/css">
@media only screen and (min-width:480px) {
.mj-column-per-100 { width:100% !important; max-width: 100%; }
}
</style>
-
-
+
+
<style type="text/css">
-
-
+
+
</style>
<style type="text/css">address {
font-style: inherit;
font-family: Ubuntu, Helvetica, Arial;
}</style>
-
+
</head>
<body>
-
-
+
+
<div style>
-
-
+
+
<!--[if mso | IE]>
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"
@@ -70,267 +70,266 @@
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
-
-
+
+
<div style="margin:0px auto;max-width:600px;">
-
+
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
<tbody>
<tr>
<td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
-
+
<tr>
-
+
<td
class="" style="vertical-align:top;width:600px;"
>
<![endif]-->
-
+
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
-
+
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
-
+
<tr>
<td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:16px;line-height:1;text-align:left;color:#000000;">Hi!</div>
-
+
</td>
</tr>
-
+
<tr>
<td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:left;color:#000000;">You're receiving this e-mail because you or someone else has requested an email change for your user account at {{site_name}}.<br>
It can be safely ignored if you did not request an email change. Click the link below to confirm new email address.</div>
-
+
</td>
</tr>
-
+
<tr>
<td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:left;color:#000000;"><a href="{{redirect_url}}">
{{redirect_url}}
</a></div>
-
+
</td>
</tr>
-
+
</table>
-
+
</div>
-
+
<!--[if mso | IE]>
</td>
-
+
</tr>
-
+
</table>
<![endif]-->
</td>
</tr>
</tbody>
</table>
-
+
</div>
-
-
+
+
<!--[if mso | IE]>
</td>
</tr>
</table>
-
+
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
-
-
+
+
<div style="margin:0px auto;max-width:600px;">
-
+
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
<tbody>
<tr>
<td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
-
+
<tr>
-
+
<td
class="" style="vertical-align:top;width:600px;"
>
<![endif]-->
-
+
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
-
+
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
-
+
<tr>
<td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:left;color:#000000;">This is an automatically generated e-mail, please do not reply.</div>
-
+
</td>
</tr>
-
+
</table>
-
+
</div>
-
+
<!--[if mso | IE]>
</td>
-
+
</tr>
-
+
</table>
<![endif]-->
</td>
</tr>
</tbody>
</table>
-
+
</div>
-
-
+
+
<!--[if mso | IE]>
</td>
</tr>
</table>
-
+
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
-
-
+
+
<div style="background:#F2F2F2;background-color:#F2F2F2;margin:0px auto;max-width:600px;">
-
+
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="background:#F2F2F2;background-color:#F2F2F2;width:100%;">
<tbody>
<tr>
<td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
-
+
<tr>
-
+
<td
class="" style="vertical-align:top;width:600px;"
>
<![endif]-->
-
+
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
-
+
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
-
+
<tr>
<td align="center" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:center;color:#000000;">Sincerely, {{ site_name }}</div>
-
+
</td>
</tr>
-
+
</table>
-
+
</div>
-
+
<!--[if mso | IE]>
</td>
-
+
</tr>
-
+
</table>
<![endif]-->
</td>
</tr>
</tbody>
</table>
-
+
</div>
-
-
+
+
<!--[if mso | IE]>
</td>
</tr>
</table>
-
+
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="no-display-outlook" style="width:600px;" width="600"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
-
-
+
+
<div class="no-display" style="display: none; margin: 0px auto; max-width: 600px;">
-
+
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
<tbody>
<tr>
<td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
-
+
<tr>
-
+
<td
class="" style="vertical-align:top;width:600px;"
>
<![endif]-->
-
+
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
-
+
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
-
+
<tr>
<td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:left;color:#000000;">{{#if order}}
<script type="application/ld+json">
{{{{raw}}}}{{schema_markup}}{{{{/raw}}}}
</script>
{{/if}}</div>
-
+
</td>
</tr>
-
+
</table>
-
+
</div>
-
+
<!--[if mso | IE]>
</td>
-
+
</tr>
-
+
</table>
<![endif]-->
</td>
</tr>
</tbody>
</table>
-
+
</div>
-
-
+
+
<!--[if mso | IE]>
</td>
</tr>
</table>
<![endif]-->
-
-
+
+
</div>
-
+
</body>
</html>
-
\ No newline at end of file
diff --git a/templates/templated_email/compiled/send_invoice.html b/saleor/plugins/user_email/default_email_templates/send_invoice.html
similarity index 92%
rename from templates/templated_email/compiled/send_invoice.html
rename to saleor/plugins/user_email/default_email_templates/send_invoice.html
index 2cf64c7e66..ba8ea7bf86 100644
--- a/templates/templated_email/compiled/send_invoice.html
+++ b/saleor/plugins/user_email/default_email_templates/send_invoice.html
@@ -3,7 +3,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
<head>
<title>
-
+
</title>
<!--[if !mso]><!-- -->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
@@ -30,7 +30,7 @@
.mj-outlook-group-fix { width:100% !important; }
</style>
<![endif]-->
-
+
<!--[if !mso]><!-->
<link href="https://fonts.googleapis.com/css?family=Ubuntu:300,400,500,700" rel="stylesheet" type="text/css">
<style type="text/css">
@@ -38,31 +38,31 @@
</style>
<!--<![endif]-->
-
-
+
+
<style type="text/css">
@media only screen and (min-width:480px) {
.mj-column-per-100 { width:100% !important; max-width: 100%; }
}
</style>
-
-
+
+
<style type="text/css">
-
-
+
+
</style>
<style type="text/css">address {
font-style: inherit;
font-family: Ubuntu, Helvetica, Arial;
}</style>
-
+
</head>
<body>
-
-
+
+
<div style>
-
-
+
+
<!--[if mso | IE]>
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"
@@ -70,266 +70,265 @@
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
-
-
+
+
<div style="margin:0px auto;max-width:600px;">
-
+
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
<tbody>
<tr>
<td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
-
+
<tr>
-
+
<td
class="" style="vertical-align:top;width:600px;"
>
<![endif]-->
-
+
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
-
+
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
-
+
<tr>
<td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:16px;line-height:1;text-align:left;color:#000000;">Hi!</div>
-
+
</td>
</tr>
-
+
<tr>
<td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:left;color:#000000;">In order to download invoice {{number}}, click the link below.</div>
-
+
</td>
</tr>
-
+
<tr>
<td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:left;color:#000000;"><a href="{{download_url}}">
{{invoice.download_url}}
</a></div>
-
+
</td>
</tr>
-
+
</table>
-
+
</div>
-
+
<!--[if mso | IE]>
</td>
-
+
</tr>
-
+
</table>
<![endif]-->
</td>
</tr>
</tbody>
</table>
-
+
</div>
-
-
+
+
<!--[if mso | IE]>
</td>
</tr>
</table>
-
+
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
-
-
+
+
<div style="margin:0px auto;max-width:600px;">
-
+
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
<tbody>
<tr>
<td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
-
+
<tr>
-
+
<td
class="" style="vertical-align:top;width:600px;"
>
<![endif]-->
-
+
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
-
+
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
-
+
<tr>
<td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:left;color:#000000;">This is an automatically generated e-mail, please do not reply.</div>
-
+
</td>
</tr>
-
+
</table>
-
+
</div>
-
+
<!--[if mso | IE]>
</td>
-
+
</tr>
-
+
</table>
<![endif]-->
</td>
</tr>
</tbody>
</table>
-
+
</div>
-
-
+
+
<!--[if mso | IE]>
</td>
</tr>
</table>
-
+
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
-
-
+
+
<div style="background:#F2F2F2;background-color:#F2F2F2;margin:0px auto;max-width:600px;">
-
+
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="background:#F2F2F2;background-color:#F2F2F2;width:100%;">
<tbody>
<tr>
<td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
-
+
<tr>
-
+
<td
class="" style="vertical-align:top;width:600px;"
>
<![endif]-->
-
+
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
-
+
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
-
+
<tr>
<td align="center" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:center;color:#000000;">Sincerely, {{ site_name }}</div>
-
+
</td>
</tr>
-
+
</table>
-
+
</div>
-
+
<!--[if mso | IE]>
</td>
-
+
</tr>
-
+
</table>
<![endif]-->
</td>
</tr>
</tbody>
</table>
-
+
</div>
-
-
+
+
<!--[if mso | IE]>
</td>
</tr>
</table>
-
+
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="no-display-outlook" style="width:600px;" width="600"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
-
-
+
+
<div class="no-display" style="display: none; margin: 0px auto; max-width: 600px;">
-
+
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
<tbody>
<tr>
<td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
-
+
<tr>
-
+
<td
class="" style="vertical-align:top;width:600px;"
>
<![endif]-->
-
+
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
-
+
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
-
+
<tr>
<td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:left;color:#000000;">{{#if order}}
<script type="application/ld+json">
{{{{raw}}}}{{schema_markup}}{{{{/raw}}}}
</script>
{{/if}}</div>
-
+
</td>
</tr>
-
+
</table>
-
+
</div>
-
+
<!--[if mso | IE]>
</td>
-
+
</tr>
-
+
</table>
<![endif]-->
</td>
</tr>
</tbody>
</table>
-
+
</div>
-
-
+
+
<!--[if mso | IE]>
</td>
</tr>
</table>
<![endif]-->
-
-
+
+
</div>
-
+
</body>
</html>
-
\ No newline at end of file
diff --git a/templates/templated_email/compiled/set_customer_password.html b/saleor/plugins/user_email/default_email_templates/set_customer_password.html
similarity index 92%
rename from templates/templated_email/compiled/set_customer_password.html
rename to saleor/plugins/user_email/default_email_templates/set_customer_password.html
index a871b6acb6..d067e580ac 100644
--- a/templates/templated_email/compiled/set_customer_password.html
+++ b/saleor/plugins/user_email/default_email_templates/set_customer_password.html
@@ -3,7 +3,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
<head>
<title>
-
+
</title>
<!--[if !mso]><!-- -->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
@@ -30,7 +30,7 @@
.mj-outlook-group-fix { width:100% !important; }
</style>
<![endif]-->
-
+
<!--[if !mso]><!-->
<link href="https://fonts.googleapis.com/css?family=Ubuntu:300,400,500,700" rel="stylesheet" type="text/css">
<style type="text/css">
@@ -38,31 +38,31 @@
</style>
<!--<![endif]-->
-
-
+
+
<style type="text/css">
@media only screen and (min-width:480px) {
.mj-column-per-100 { width:100% !important; max-width: 100%; }
}
</style>
-
-
+
+
<style type="text/css">
-
-
+
+
</style>
<style type="text/css">address {
font-style: inherit;
font-family: Ubuntu, Helvetica, Arial;
}</style>
-
+
</head>
<body>
-
-
+
+
<div style>
-
-
+
+
<!--[if mso | IE]>
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"
@@ -70,267 +70,266 @@
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
-
-
+
+
<div style="margin:0px auto;max-width:600px;">
-
+
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
<tbody>
<tr>
<td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
-
+
<tr>
-
+
<td
class="" style="vertical-align:top;width:600px;"
>
<![endif]-->
-
+
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
-
+
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
-
+
<tr>
<td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:16px;line-height:1;text-align:left;color:#000000;">Hi!</div>
-
+
</td>
</tr>
-
+
<tr>
<td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:left;color:#000000;">You're receiving this e-mail because you have to set password for your customer account at {{site_name}}.<br>
Click the link below to set up your password.</div>
-
+
</td>
</tr>
-
+
<tr>
<td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:left;color:#000000;"><a href="{{password_set_url}}">
{{password_set_url}}
</a></div>
-
+
</td>
</tr>
-
+
</table>
-
+
</div>
-
+
<!--[if mso | IE]>
</td>
-
+
</tr>
-
+
</table>
<![endif]-->
</td>
</tr>
</tbody>
</table>
-
+
</div>
-
-
+
+
<!--[if mso | IE]>
</td>
</tr>
</table>
-
+
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
-
-
+
+
<div style="margin:0px auto;max-width:600px;">
-
+
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
<tbody>
<tr>
<td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
-
+
<tr>
-
+
<td
class="" style="vertical-align:top;width:600px;"
>
<![endif]-->
-
+
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
-
+
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
-
+
<tr>
<td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:left;color:#000000;">This is an automatically generated e-mail, please do not reply.</div>
-
+
</td>
</tr>
-
+
</table>
-
+
</div>
-
+
<!--[if mso | IE]>
</td>
-
+
</tr>
-
+
</table>
<![endif]-->
</td>
</tr>
</tbody>
</table>
-
+
</div>
-
-
+
+
<!--[if mso | IE]>
</td>
</tr>
</table>
-
+
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
-
-
+
+
<div style="background:#F2F2F2;background-color:#F2F2F2;margin:0px auto;max-width:600px;">
-
+
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="background:#F2F2F2;background-color:#F2F2F2;width:100%;">
<tbody>
<tr>
<td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
-
+
<tr>
-
+
<td
class="" style="vertical-align:top;width:600px;"
>
<![endif]-->
-
+
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
-
+
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
-
+
<tr>
<td align="center" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:center;color:#000000;">Sincerely, {{ site_name }}</div>
-
+
</td>
</tr>
-
+
</table>
-
+
</div>
-
+
<!--[if mso | IE]>
</td>
-
+
</tr>
-
+
</table>
<![endif]-->
</td>
</tr>
</tbody>
</table>
-
+
</div>
-
-
+
+
<!--[if mso | IE]>
</td>
</tr>
</table>
-
+
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="no-display-outlook" style="width:600px;" width="600"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
-
-
+
+
<div class="no-display" style="display: none; margin: 0px auto; max-width: 600px;">
-
+
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
<tbody>
<tr>
<td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
-
+
<tr>
-
+
<td
class="" style="vertical-align:top;width:600px;"
>
<![endif]-->
-
+
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
-
+
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
-
+
<tr>
<td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:left;color:#000000;">{{#if order}}
<script type="application/ld+json">
{{{{raw}}}}{{schema_markup}}{{{{/raw}}}}
</script>
{{/if}}</div>
-
+
</td>
</tr>
-
+
</table>
-
+
</div>
-
+
<!--[if mso | IE]>
</td>
-
+
</tr>
-
+
</table>
<![endif]-->
</td>
</tr>
</tbody>
</table>
-
+
</div>
-
-
+
+
<!--[if mso | IE]>
</td>
</tr>
</table>
<![endif]-->
-
-
+
+
</div>
-
+
</body>
</html>
-
\ No newline at end of file
diff --git a/templates/templated_email/compiled/update_fulfillment.html b/saleor/plugins/user_email/default_email_templates/update_fulfillment.html
similarity index 93%
rename from templates/templated_email/compiled/update_fulfillment.html
rename to saleor/plugins/user_email/default_email_templates/update_fulfillment.html
index ec9b84523e..e04e097db1 100644
--- a/templates/templated_email/compiled/update_fulfillment.html
+++ b/saleor/plugins/user_email/default_email_templates/update_fulfillment.html
@@ -3,7 +3,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
<head>
<title>
-
+
</title>
<!--[if !mso]><!-- -->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
@@ -30,7 +30,7 @@
.mj-outlook-group-fix { width:100% !important; }
</style>
<![endif]-->
-
+
<!--[if !mso]><!-->
<link href="https://fonts.googleapis.com/css?family=Ubuntu:300,400,500,700" rel="stylesheet" type="text/css">
<style type="text/css">
@@ -38,31 +38,31 @@
</style>
<!--<![endif]-->
-
-
+
+
<style type="text/css">
@media only screen and (min-width:480px) {
.mj-column-per-100 { width:100% !important; max-width: 100%; }
}
</style>
-
-
+
+
<style type="text/css">
-
-
+
+
</style>
<style type="text/css">address {
font-style: inherit;
font-family: Ubuntu, Helvetica, Arial;
}</style>
-
+
</head>
<body>
-
-
+
+
<div style>
-
-
+
+
<!--[if mso | IE]>
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"
@@ -70,39 +70,39 @@
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
-
-
+
+
<div style="margin:0px auto;max-width:600px;">
-
+
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
<tbody>
<tr>
<td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
-
+
<tr>
-
+
<td
class="" style="vertical-align:top;width:600px;"
>
<![endif]-->
-
+
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
-
+
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
-
+
<tr>
<td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:16px;line-height:1;text-align:left;color:#000000;">Hi!</div>
-
+
</td>
</tr>
-
+
<tr>
<td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:left;color:#000000;">Your shipping status has been updated. Below is the list of ordered products that have been updated with
new tracking number.
{{#if fulfillment.tracking_number}}
@@ -113,65 +113,65 @@
You can track your shipment with {{ fulfillment.tracking_number }} code.
{{/if}}
{{/if}}</div>
-
+
</td>
</tr>
-
+
</table>
-
+
</div>
-
+
<!--[if mso | IE]>
</td>
-
+
</tr>
-
+
</table>
<![endif]-->
</td>
</tr>
</tbody>
</table>
-
+
</div>
-
-
+
+
<!--[if mso | IE]>
</td>
</tr>
</table>
-
+
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
-
-
+
+
<div style="margin:0px auto;max-width:600px;">
-
+
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
<tbody>
<tr>
<td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
-
+
<tr>
-
+
<td
class="" style="vertical-align:top;width:600px;"
>
<![endif]-->
-
+
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
-
+
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
-
+
<tr>
<td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:left;color:#000000;">{{#if physical_lines}}
<table style="width:100%">
<thead class="table-header-row" style="border-bottom: 2px solid #000;">
@@ -218,222 +218,221 @@
</tbody>
</table>
{{/if}}</div>
-
+
</td>
</tr>
-
+
</table>
-
+
</div>
-
+
<!--[if mso | IE]>
</td>
-
+
</tr>
-
+
</table>
<![endif]-->
</td>
</tr>
</tbody>
</table>
-
+
</div>
-
-
+
+
<!--[if mso | IE]>
</td>
</tr>
</table>
-
+
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
-
-
+
+
<div style="margin:0px auto;max-width:600px;">
-
+
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
<tbody>
<tr>
<td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
-
+
<tr>
-
+
<td
class="" style="vertical-align:top;width:600px;"
>
<![endif]-->
-
+
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
-
+
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
-
+
<tr>
<td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:left;color:#000000;">This is an automatically generated e-mail, please do not reply.</div>
-
+
</td>
</tr>
-
+
</table>
-
+
</div>
-
+
<!--[if mso | IE]>
</td>
-
+
</tr>
-
+
</table>
<![endif]-->
</td>
</tr>
</tbody>
</table>
-
+
</div>
-
-
+
+
<!--[if mso | IE]>
</td>
</tr>
</table>
-
+
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
-
-
+
+
<div style="background:#F2F2F2;background-color:#F2F2F2;margin:0px auto;max-width:600px;">
-
+
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="background:#F2F2F2;background-color:#F2F2F2;width:100%;">
<tbody>
<tr>
<td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
-
+
<tr>
-
+
<td
class="" style="vertical-align:top;width:600px;"
>
<![endif]-->
-
+
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
-
+
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
-
+
<tr>
<td align="center" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:center;color:#000000;">Sincerely, {{ site_name }}</div>
-
+
</td>
</tr>
-
+
</table>
-
+
</div>
-
+
<!--[if mso | IE]>
</td>
-
+
</tr>
-
+
</table>
<![endif]-->
</td>
</tr>
</tbody>
</table>
-
+
</div>
-
-
+
+
<!--[if mso | IE]>
</td>
</tr>
</table>
-
+
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="no-display-outlook" style="width:600px;" width="600"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
-
-
+
+
<div class="no-display" style="display: none; margin: 0px auto; max-width: 600px;">
-
+
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
<tbody>
<tr>
<td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
-
+
<tr>
-
+
<td
class="" style="vertical-align:top;width:600px;"
>
<![endif]-->
-
+
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
-
+
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
-
+
<tr>
<td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
-
+
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:left;color:#000000;">{{#if order}}
<script type="application/ld+json">
{{{{raw}}}}{{schema_markup}}{{{{/raw}}}}
</script>
{{/if}}</div>
-
+
</td>
</tr>
-
+
</table>
-
+
</div>
-
+
<!--[if mso | IE]>
</td>
-
+
</tr>
-
+
</table>
<![endif]-->
</td>
</tr>
</tbody>
</table>
-
+
</div>
-
-
+
+
<!--[if mso | IE]>
</td>
</tr>
</table>
<![endif]-->
-
-
+
+
</div>
-
+
</body>
</html>
-
\ No newline at end of file
diff --git a/saleor/plugins/user_email/tasks.py b/saleor/plugins/user_email/tasks.py
index b844389f25..c382312149 100644
--- a/saleor/plugins/user_email/tasks.py
+++ b/saleor/plugins/user_email/tasks.py
@@ -19,6 +19,7 @@ def send_account_confirmation_email_task(recipient_email, payload, config):
constants.PLUGIN_ID,
constants.ACCOUNT_CONFIRMATION_TEMPLATE_FIELD,
constants.ACCOUNT_CONFIRMATION_DEFAULT_TEMPLATE,
+ constants.DEFAULT_EMAIL_TEMPLATES_PATH,
)
subject = get_email_subject(
constants.PLUGIN_ID,
@@ -44,6 +45,7 @@ def send_password_reset_email_task(recipient_email, payload, config):
constants.PLUGIN_ID,
constants.ACCOUNT_PASSWORD_RESET_TEMPLATE_FIELD,
constants.ACCOUNT_PASSWORD_RESET_DEFAULT_TEMPLATE,
+ constants.DEFAULT_EMAIL_TEMPLATES_PATH,
)
subject = get_email_subject(
@@ -70,6 +72,7 @@ def send_request_email_change_email_task(recipient_email, payload, config):
constants.PLUGIN_ID,
constants.ACCOUNT_CHANGE_EMAIL_REQUEST_TEMPLATE_FIELD,
constants.ACCOUNT_CHANGE_EMAIL_REQUEST_DEFAULT_TEMPLATE,
+ constants.DEFAULT_EMAIL_TEMPLATES_PATH,
)
subject = get_email_subject(
@@ -103,6 +106,7 @@ def send_user_change_email_notification_task(recipient_email, payload, config):
constants.PLUGIN_ID,
constants.ACCOUNT_CHANGE_EMAIL_CONFIRM_TEMPLATE_FIELD,
constants.ACCOUNT_CHANGE_EMAIL_CONFIRM_DEFAULT_TEMPLATE,
+ constants.DEFAULT_EMAIL_TEMPLATES_PATH,
)
subject = get_email_subject(
@@ -136,6 +140,7 @@ def send_account_delete_confirmation_email_task(recipient_email, payload, config
constants.PLUGIN_ID,
constants.ACCOUNT_DELETE_TEMPLATE_FIELD,
constants.ACCOUNT_DELETE_DEFAULT_TEMPLATE,
+ constants.DEFAULT_EMAIL_TEMPLATES_PATH,
)
subject = get_email_subject(
@@ -161,6 +166,7 @@ def send_set_user_password_email_task(recipient_email, payload, config):
constants.PLUGIN_ID,
constants.ACCOUNT_SET_CUSTOMER_PASSWORD_TEMPLATE_FIELD,
constants.ACCOUNT_SET_CUSTOMER_PASSWORD_DEFAULT_TEMPLATE,
+ constants.DEFAULT_EMAIL_TEMPLATES_PATH,
)
subject = get_email_subject(
@@ -187,6 +193,7 @@ def send_invoice_email_task(recipient_email, payload, config):
constants.PLUGIN_ID,
constants.INVOICE_READY_TEMPLATE_FIELD,
constants.INVOICE_READY_DEFAULT_TEMPLATE,
+ constants.DEFAULT_EMAIL_TEMPLATES_PATH,
)
subject = get_email_subject(
@@ -223,6 +230,7 @@ def send_order_confirmation_email_task(recipient_email, payload, config):
constants.PLUGIN_ID,
constants.ORDER_CONFIRMATION_TEMPLATE_FIELD,
constants.ORDER_CONFIRMATION_DEFAULT_TEMPLATE,
+ constants.DEFAULT_EMAIL_TEMPLATES_PATH,
)
subject = get_email_subject(
@@ -253,6 +261,7 @@ def send_fulfillment_confirmation_email_task(recipient_email, payload, config):
constants.PLUGIN_ID,
constants.ORDER_FULFILLMENT_CONFIRMATION_TEMPLATE_FIELD,
constants.ORDER_FULFILLMENT_CONFIRMATION_DEFAULT_TEMPLATE,
+ constants.DEFAULT_EMAIL_TEMPLATES_PATH,
)
subject = get_email_subject(
@@ -289,6 +298,7 @@ def send_fulfillment_update_email_task(recipient_email, payload, config):
constants.PLUGIN_ID,
constants.ORDER_FULFILLMENT_UPDATE_TEMPLATE_FIELD,
constants.ORDER_FULFILLMENT_UPDATE_DEFAULT_TEMPLATE,
+ constants.DEFAULT_EMAIL_TEMPLATES_PATH,
)
subject = get_email_subject(
@@ -313,6 +323,7 @@ def send_payment_confirmation_email_task(recipient_email, payload, config):
constants.PLUGIN_ID,
constants.ORDER_PAYMENT_CONFIRMATION_TEMPLATE_FIELD,
constants.ORDER_PAYMENT_CONFIRMATION_DEFAULT_TEMPLATE,
+ constants.DEFAULT_EMAIL_TEMPLATES_PATH,
)
subject = get_email_subject(
@@ -343,6 +354,7 @@ def send_order_canceled_email_task(recipient_email, payload, config):
constants.PLUGIN_ID,
constants.ORDER_CANCELED_TEMPLATE_FIELD,
constants.ORDER_CANCELED_DEFAULT_TEMPLATE,
+ constants.DEFAULT_EMAIL_TEMPLATES_PATH,
)
subject = get_email_subject(
@@ -373,6 +385,7 @@ def send_order_refund_email_task(recipient_email, payload, config):
constants.PLUGIN_ID,
constants.ORDER_REFUND_CONFIRMATION_TEMPLATE_FIELD,
constants.ORDER_REFUND_CONFIRMATION_DEFAULT_TEMPLATE,
+ constants.DEFAULT_EMAIL_TEMPLATES_PATH,
)
subject = get_email_subject(
@@ -403,6 +416,7 @@ def send_order_confirmed_email_task(recipient_email, payload, config):
constants.PLUGIN_ID,
constants.ORDER_CONFIRMED_TEMPLATE_FIELD,
constants.ORDER_CONFIRMED_DEFAULT_TEMPLATE,
+ constants.DEFAULT_EMAIL_TEMPLATES_PATH,
)
subject = get_email_subject(
diff --git a/templates/templated_email/source/account_delete.mjml b/templates/templated_email/source/account_delete.mjml
deleted file mode 100644
index 9e51e5b4c0..0000000000
--- a/templates/templated_email/source/account_delete.mjml
+++ /dev/null
@@ -1,25 +0,0 @@
-<mjml>
- <mj-head>
- <mj-include path="./shared/styles.mjml" />
- </mj-head>
- <mj-body>>
- <mj-include path="./shared/header.mjml" />
- <mj-section>
- <mj-column>
- <mj-text font-size="16px">
- Hi!
- </mj-text>
- <mj-text>
- You're receiving this e-mail because you or someone else has requested a deletion of your user account at {{ site_name }}.<br/>
- Click the link below to delete your account.
-
- Please note that this action is permanent and cannot be reversed.
- </mj-text>
- <mj-text>
- <a href="{{ delete_url }}">{{ delete_url }}</a>
- </mj-text>
- </mj-column>
- </mj-section>
- <mj-include path="./shared/footer.mjml" />
- </mj-body>
-</mjml>
diff --git a/templates/templated_email/source/confirm.mjml b/templates/templated_email/source/confirm.mjml
deleted file mode 100644
index 898ad1d0eb..0000000000
--- a/templates/templated_email/source/confirm.mjml
+++ /dev/null
@@ -1,25 +0,0 @@
-<mjml>
- <mj-head>
- <mj-include path="./shared/styles.mjml" />
- </mj-head>
- <mj-body>
- <mj-include path="./shared/header.mjml" />
- <mj-section>
- <mj-column>
- <mj-text font-size="16px">
- Hi!
- </mj-text>
- <mj-text>
- In order to log into {{ site_name }}, you have to confirm your email address first.
- Please click the link below to do so and log into your account.
- </mj-text>
- <mj-text>
- <a href="{{ confirm_url }}">
- {{ confirm_url }}
- </a>
- </mj-text>
- </mj-column>
- </mj-section>
- <mj-include path="./shared/footer.mjml" />
- </mj-body>
-</mjml>
diff --git a/templates/templated_email/source/confirm_fulfillment.mjml b/templates/templated_email/source/confirm_fulfillment.mjml
deleted file mode 100644
index 191123458e..0000000000
--- a/templates/templated_email/source/confirm_fulfillment.mjml
+++ /dev/null
@@ -1,39 +0,0 @@
-<mjml>
- <mj-head>
- <mj-include path="./shared/styles.mjml" />
- </mj-head>
- <mj-body>
- <mj-include path="./shared/header.mjml" />
- <mj-section>
- <mj-column>
- <mj-text font-size="16px">
- Hi!
- </mj-text>
- <mj-text>
- {{#if order.order_details_url}}
- Thank you for your order. Below is the list of fulfilled products. To see your order details please visit:
- <a href="{{ order.order_details_url }}">{{ order.order_details_url }}</a>
- {{else}}
- Thank you for your order. Below is the list of fulfilled products.
- {{/if}}
- Thank you for your order. Below is the list of fulfilled products.
- {{#if fulfillment.tracking_number}}
- {{#if fulfillment.is_tracking_number_url}}
- You can track your shipment with
- <a href="{{fulfillment.tracking_number}}">{{fulfillment.tracking_number}}</a> link.
- {{else}}
- You can track your shipment with {{fulfillment.tracking_number}} code.
- {{/if}}
- {{/if}}
- </mj-text>
- <mj-text>
- {{#if digital_lines}}
- You can download your digital products by clicking in download link(s).
- {{/if}}
- </mj-text>
- </mj-column>
- </mj-section>
- <mj-include path="./partials/_fulfillment_lines.mjml" />
- <mj-include path="./shared/footer.mjml" />
- </mj-body>
-</mjml>
diff --git a/templates/templated_email/source/confirm_order.mjml b/templates/templated_email/source/confirm_order.mjml
deleted file mode 100644
index 7b0b46507f..0000000000
--- a/templates/templated_email/source/confirm_order.mjml
+++ /dev/null
@@ -1,59 +0,0 @@
-<mjml>
- <mj-head>
- <mj-include path="./shared/styles.mjml" />
- </mj-head>
- <mj-body>
- <mj-include path="./shared/header.mjml" />
- <mj-section>
- <mj-column>
- <mj-text font-size="16px">
- Hi!
- </mj-text>
- <mj-text>
- {{#if order.order_details_url}}
- Thank you for your order. Below is the list of ordered products. To see your payment details please
- visit: <a href="{{order.order_details_url}}">{{order.order_details_url}}</a>
- {{else}}
- Thank you for your order. Below is the list of ordered products.
- {{/if}}
- </mj-text>
- </mj-column>
- </mj-section>
- <mj-include path="./partials/_order_lines.mjml" />
- <mj-section>
- <mj-column>
- <mj-table>
- <thead class="table-header-row">
- <tr>
- <th>
- Billing address
- </th>
- <th>
- Shipping address
- </th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td class="address">
- {{#if order.billing_address}}
- {{format_address order.billing_address}}
- {{else}}
- No billing address
- {{/if}}
- </td>
- <td css-class="address">
- {{#if order.shipping_address}}
- {{format_address order.shipping_address}}
- {{else}}
- No shipping required
- {{/if}}
- </td>
- </tr>
- </tbody>
- </mj-table>
- </mj-column>
- </mj-section>
- <mj-include path="./shared/footer.mjml" />
- </mj-body>
-</mjml>
diff --git a/templates/templated_email/source/confirm_payment.mjml b/templates/templated_email/source/confirm_payment.mjml
deleted file mode 100644
index dad3527254..0000000000
--- a/templates/templated_email/source/confirm_payment.mjml
+++ /dev/null
@@ -1,20 +0,0 @@
-<mjml>
- <mj-head>
- <mj-include path="./shared/styles.mjml" />
- </mj-head>
- <mj-body>
- <mj-include path="./shared/header.mjml" />
- <mj-section>
- <mj-column>
- <mj-text font-size="16px">
- Hi!
- </mj-text>
- <mj-text>
- Thank you for your payment.
- Your payment was successfully processed.
- </mj-text>
- </mj-column>
- </mj-section>
- <mj-include path="./shared/footer.mjml" />
- </mj-body>
-</mjml>
diff --git a/templates/templated_email/source/confirmed_order.mjml b/templates/templated_email/source/confirmed_order.mjml
deleted file mode 100644
index 36b0681544..0000000000
--- a/templates/templated_email/source/confirmed_order.mjml
+++ /dev/null
@@ -1,59 +0,0 @@
-<mjml>
- <mj-head>
- <mj-include path="./shared/styles.mjml" />
- </mj-head>
- <mj-body>
- <mj-include path="./shared/header.mjml" />
- <mj-section>
- <mj-column>
- <mj-text font-size="16px">
- Hi!
- </mj-text>
- <mj-text>
- {{#if order.order_details_url}}
- Your order has been confirmed by staff. To see your order details please visit:
- <a href="{{order.order_details_url}}">{{order.order_details_url}}</a>
- {{else}}
- Your order has been confirmed by staff. Below is the list of ordered products.
- {{/if}}
- </mj-text>
- </mj-column>
- </mj-section>
- <mj-include path="./partials/_order_lines.mjml" />
- <mj-section>
- <mj-column>
- <mj-table>
- <thead class="table-header-row">
- <tr>
- <th>
- Billing address
- </th>
- <th>
- Shipping address
- </th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td class="address">
- {{#if order.billing_address}}
- {{format_address order.billing_address}}
- {{else}}
- No billing address
- {{/if}}
- </td>
- <td css-class="address">
- {{#if order.shipping_address}}
- {{format_address order.shipping_address}}
- {{else}}
- No shipping required
- {{/if}}
- </td>
- </tr>
- </tbody>
- </mj-table>
- </mj-column>
- </mj-section>
- <mj-include path="./shared/footer.mjml" />
- </mj-body>
-</mjml>
diff --git a/templates/templated_email/source/email_changed_notification.mjml b/templates/templated_email/source/email_changed_notification.mjml
deleted file mode 100644
index da7629bff3..0000000000
--- a/templates/templated_email/source/email_changed_notification.mjml
+++ /dev/null
@@ -1,20 +0,0 @@
-<mjml>
- <mj-head>
- <mj-include path="./shared/styles.mjml" />
- </mj-head>
- <mj-body>
- <mj-include path="./shared/header.mjml" />
- <mj-section>
- <mj-column>
- <mj-text font-size="16px">
- Hi!
- </mj-text>
- <mj-text>
- You're receiving this e-mail because you or someone else has changed email for your user account at {{ site_name }}.<br />
- If you didn't request this change, please contact the administrator.
- </mj-text>
- </mj-column>
- </mj-section>
- <mj-include path="./shared/footer.mjml" />
- </mj-body>
-</mjml>
diff --git a/templates/templated_email/source/export_failed.mjml b/templates/templated_email/source/export_failed.mjml
deleted file mode 100644
index e83be1c073..0000000000
--- a/templates/templated_email/source/export_failed.mjml
+++ /dev/null
@@ -1,20 +0,0 @@
-<mjml>
- <mj-head>
- <mj-include path="./shared/styles.mjml" />
- </mj-head>
- <mj-body>
- <mj-include path="./shared/header.mjml" />
- <mj-section>
- <mj-column>
- <mj-text font-size="16px">
- Hi!
- </mj-text>
- <mj-text>
- Sorry, we couldn't finish exporting products, some unexpected errors occurred.
- Please try again.
- </mj-text>
- </mj-column>
- </mj-section>
- <mj-include path="./shared/footer.mjml" />
- </mj-body>
-</mjml>
diff --git a/templates/templated_email/source/export_products_file.mjml b/templates/templated_email/source/export_products_file.mjml
deleted file mode 100644
index 2317ca4ca8..0000000000
--- a/templates/templated_email/source/export_products_file.mjml
+++ /dev/null
@@ -1,19 +0,0 @@
-<mjml>
- <mj-head>
- <mj-include path="./shared/styles.mjml" />
- </mj-head>
- <mj-body>
- <mj-include path="./shared/header.mjml" />
- <mj-section>
- <mj-column>
- <mj-text font-size="16px">
- Hi!
- </mj-text>
- <mj-text>
- Your file with products data is ready to download: <a href="{{csv_link}}">{{csv_link}}</a>
- </mj-text>
- </mj-column>
- </mj-section>
- <mj-include path="./shared/footer.mjml" />
- </mj-body>
-</mjml>
diff --git a/templates/templated_email/source/order_cancel.mjml b/templates/templated_email/source/order_cancel.mjml
deleted file mode 100644
index 0aa1a230e2..0000000000
--- a/templates/templated_email/source/order_cancel.mjml
+++ /dev/null
@@ -1,19 +0,0 @@
-<mjml>
- <mj-head>
- <mj-include path="./shared/styles.mjml" />
- </mj-head>
- <mj-body>
- <mj-include path="./shared/header.mjml" />
- <mj-section>
- <mj-column>
- <mj-text font-size="16px">
- Hi!
- </mj-text>
- <mj-text>
- Your order #{{order.id}} has been canceled.
- </mj-text>
- </mj-column>
- </mj-section>
- <mj-include path="./shared/footer.mjml" />
- </mj-body>
-</mjml>
diff --git a/templates/templated_email/source/order_refund.mjml b/templates/templated_email/source/order_refund.mjml
deleted file mode 100644
index f48657c50f..0000000000
--- a/templates/templated_email/source/order_refund.mjml
+++ /dev/null
@@ -1,19 +0,0 @@
-<mjml>
- <mj-head>
- <mj-include path="./shared/styles.mjml" />
- </mj-head>
- <mj-body>
- <mj-include path="./shared/header.mjml" />
- <mj-section>
- <mj-column>
- <mj-text font-size="16px">
- Hi!
- </mj-text>
- <mj-text>
- A payment of {{amount}} {{currency}} has been refunded for your order.
- </mj-text>
- </mj-column>
- </mj-section>
- <mj-include path="./shared/footer.mjml" />
- </mj-body>
-</mjml>
diff --git a/templates/templated_email/source/partials/_fulfillment_lines.mjml b/templates/templated_email/source/partials/_fulfillment_lines.mjml
deleted file mode 100644
index 555220282e..0000000000
--- a/templates/templated_email/source/partials/_fulfillment_lines.mjml
+++ /dev/null
@@ -1,52 +0,0 @@
-<mj-section>
- <mj-column>
- <mj-text>
- {{#if physical_lines}}
- <table style="width:100%">
- <thead class="table-header-row">
- <tr>
- <th style="text-align: left;">Item</th>
- <th style="text-align: right;">Quantity</th>
- </tr>
- </thead>
- <tbody>
- {{#each physical_lines}}
- <tr class="table-item-row">
- {{#if order_line.variant_name}}
- <td>{{order_line.product_name}} ({{order_line.variant_name}})</td>
- {{else}}
- <td>{{order_line.product_name}}</td>
- {{/if}}
- <td style="text-align: right;">{{quantity}}</td>
- </tr>
- {{/each}}
- </tbody>
- </table>
- {{/if}}
- {{#if digital_lines}}
- <table style="width:100%">
- <thead class="table-header-row">
- <tr>
- <th style="text-align: left;">Item</th>
- <th style="text-align: right;">Download Link</th>
- </tr>
- </thead>
- <tbody>
- {{#each digital_lines}}
- <tr class="table-item-row">
- {{#if order_line.variant_name}}
- <td>{{order_line.product_name}} ({{order_line.variant_name}})</td>
- {{else}}
- <td>{{order_line.product_name}}</td>
- {{/if}}
- <td style="text-align: right;">
- <a href={{order_line.digital_url}}>Link</a>
- </td>
- </tr>
- {{/each}}
- </tbody>
- </table>
- {{/if}}
- </mj-text>
- </mj-column>
-</mj-section>
diff --git a/templates/templated_email/source/partials/_order_lines.mjml b/templates/templated_email/source/partials/_order_lines.mjml
deleted file mode 100644
index 389638d4b8..0000000000
--- a/templates/templated_email/source/partials/_order_lines.mjml
+++ /dev/null
@@ -1,83 +0,0 @@
-<mj-section>
- <mj-column>
- <mj-table>
- <tfoot>
- <tr>
- <td colspan="3" style="text-align: right;">Subtotal</td>
- <td style="text-align: right;">
- {{price order.subtotal_net_amount order.subtotal_gross_amount order.currency display_gross=order.display_gross_prices}}
- </td>
- </tr>
- <tr>
- <td colspan="3" style="text-align: right;">
- Shipping
- </td>
- <td style="text-align: right;">
- {{price order.shipping_price_net_amount order.shipping_price_gross_amount order.currency display_gross=order.display_gross_prices}}
- </td>
- </tr>
- <tr>
- <td colspan="3" style="text-align: right;">
- {{#if order.display_gross_prices}}
- Taxes (included)
- {{else}}
- Taxes
- {{/if}}
- </td>
- <td style="text-align: right;">
- {{price order.tax_amount order.tax_amount order.currency display_gross=order.display_gross_prices}}
- </td>
- </tr>
- {{#if order.discount_amount}}
- <tr>
- <td colspan="3" style="text-align: right;">
- {{order.discount_amount}}
- Discount
- </td>
- <td style="text-align: right;">
- {{price order.discount_amount order.discount_amount order.currency display_gross=order.display_gross_prices}}
- </td>
- </tr>
- {{/if}}
- <tr>
- <td colspan="3" style="text-align: right;">
- <strong>
- Total
- </strong>
- </td>
- <td style="text-align: right;">
- <strong>
- {{price order.total_net_amount order.total_gross_amount order.currency display_gross=order.display_gross_prices}}
- </strong>
- </td>
- </tr>
- </tfoot>
- <thead class="table-header-row">
- <tr>
- <th>Item</th>
- <th>Quantity</th>
- <th>Per unit</th>
- <th>Subtotal</th>
- </tr>
- </thead>
- <tbody>
- {{#each order.lines}}
- <tr class="table-item-row">
- {{#if variant_name}}
- <td>{{product_name}} ({{variant_name}})</td>
- {{else}}
- <td>{{product_name}}</td>
- {{/if}}
- <td style="text-align: right;">{{quantity}}</td>
- <td style="text-align: right;">
- {{price unit_price_net_amount unit_price_gross_amount ../order.currency display_gross=../order.display_gross_prices}}
- </td>
- <td style="text-align: right;">
- {{price total_net_amount total_gross_amount ../order.currency display_gross=../order.display_gross_prices}}
- </td>
- </tr>
- {{/each}}
- </tbody>
- </mj-table>
- </mj-column>
-</mj-section>
diff --git a/templates/templated_email/source/password_reset.mjml b/templates/templated_email/source/password_reset.mjml
deleted file mode 100644
index 7b4830f580..0000000000
--- a/templates/templated_email/source/password_reset.mjml
+++ /dev/null
@@ -1,25 +0,0 @@
-<mjml>
- <mj-head>
- <mj-include path="./shared/styles.mjml" />
- </mj-head>
- <mj-body>
- <mj-include path="./shared/header.mjml" />
- <mj-section>
- <mj-column>
- <mj-text font-size="16px">
- Hi!
- </mj-text>
- <mj-text>
- You're receiving this e-mail because you or someone else has requested a password for your user account at {{site_name}}.<br/>
- It can be safely ignored if you did not request a password reset. Click the link below to reset your password.
- </mj-text>
- <mj-text>
- <a href="{{reset_url}}">
- {{reset_url}}
- </a>
- </mj-text>
- </mj-column>
- </mj-section>
- <mj-include path="./shared/footer.mjml" />
- </mj-body>
-</mjml>
diff --git a/templates/templated_email/source/request_email_change.mjml b/templates/templated_email/source/request_email_change.mjml
deleted file mode 100644
index 13cb218a12..0000000000
--- a/templates/templated_email/source/request_email_change.mjml
+++ /dev/null
@@ -1,25 +0,0 @@
-<mjml>
- <mj-head>
- <mj-include path="./shared/styles.mjml" />
- </mj-head>
- <mj-body>
- <mj-include path="./shared/header.mjml" />
- <mj-section>
- <mj-column>
- <mj-text font-size="16px">
- Hi!
- </mj-text>
- <mj-text>
- You're receiving this e-mail because you or someone else has requested an email change for your user account at {{site_name}}.<br />
- It can be safely ignored if you did not request an email change. Click the link below to confirm new email address.
- </mj-text>
- <mj-text>
- <a href="{{redirect_url}}">
- {{redirect_url}}
- </a>
- </mj-text>
- </mj-column>
- </mj-section>
- <mj-include path="./shared/footer.mjml" />
- </mj-body>
-</mjml>
diff --git a/templates/templated_email/source/send_invoice.mjml b/templates/templated_email/source/send_invoice.mjml
deleted file mode 100644
index a0f4565a78..0000000000
--- a/templates/templated_email/source/send_invoice.mjml
+++ /dev/null
@@ -1,24 +0,0 @@
-<mjml>
- <mj-head>
- <mj-include path="./shared/styles.mjml" />
- </mj-head>
- <mj-body>
- <mj-include path="./shared/header.mjml" />
- <mj-section>
- <mj-column>
- <mj-text font-size="16px">
- Hi!
- </mj-text>
- <mj-text>
- In order to download invoice {{number}}, click the link below.
- </mj-text>
- <mj-text>
- <a href="{{download_url}}">
- {{invoice.download_url}}
- </a>
- </mj-text>
- </mj-column>
- </mj-section>
- <mj-include path="./shared/footer.mjml" />
- </mj-body>
-</mjml>
diff --git a/templates/templated_email/source/set_customer_password.mjml b/templates/templated_email/source/set_customer_password.mjml
deleted file mode 100644
index a0ddaf397d..0000000000
--- a/templates/templated_email/source/set_customer_password.mjml
+++ /dev/null
@@ -1,25 +0,0 @@
-<mjml>
- <mj-head>
- <mj-include path="./shared/styles.mjml" />
- </mj-head>
- <mj-body>
- <mj-include path="./shared/header.mjml" />
- <mj-section>
- <mj-column>
- <mj-text font-size="16px">
- Hi!
- </mj-text>
- <mj-text>
- You're receiving this e-mail because you have to set password for your customer account at {{site_name}}.<br/>
- Click the link below to set up your password.
- </mj-text>
- <mj-text>
- <a href="{{password_set_url}}">
- {{password_set_url}}
- </a>
- </mj-text>
- </mj-column>
- </mj-section>
- <mj-include path="./shared/footer.mjml" />
- </mj-body>
-</mjml>
diff --git a/templates/templated_email/source/set_password.mjml b/templates/templated_email/source/set_password.mjml
deleted file mode 100644
index a2a749ffa0..0000000000
--- a/templates/templated_email/source/set_password.mjml
+++ /dev/null
@@ -1,24 +0,0 @@
-<mjml>
- <mj-head>
- <mj-include path="./shared/styles.mjml" />
- </mj-head>
- <mj-body>
- <mj-section>
- <mj-column>
- <mj-text font-size="16px">
- Hi!
- </mj-text>
- <mj-text>
- You're receiving this e-mail because you have to set password for your staff member account at {{site_name}}.<br/>
- Click the link below to set up your password.
- </mj-text>
- <mj-text>
- <a href="{{ password_set_url}}">
- {{password_set_url}}
- </a>
- </mj-text>
- </mj-column>
- </mj-section>
- <mj-include path="./shared/footer.mjml" />
- </mj-body>
-</mjml>
diff --git a/templates/templated_email/source/shared/footer.mjml b/templates/templated_email/source/shared/footer.mjml
deleted file mode 100644
index ccb1de255a..0000000000
--- a/templates/templated_email/source/shared/footer.mjml
+++ /dev/null
@@ -1,25 +0,0 @@
-<mj-section>
- <mj-column>
- <mj-text>
- This is an automatically generated e-mail, please do not reply.
- </mj-text>
- </mj-column>
-</mj-section>
-<mj-section background-color="#F2F2F2">
- <mj-column>
- <mj-text align="center">
- Sincerely, {{ site_name }}
- </mj-text>
- </mj-column>
-</mj-section>
-<mj-section css-class="no-display">
- <mj-column>
- <mj-text>
- {{#if order}}
- <script type="application/ld+json">
- {{{{raw}}}}{{schema_markup}}{{{{/raw}}}}
- </script>
- {{/if}}
- </mj-text>
- </mj-column>
-</mj-section>
diff --git a/templates/templated_email/source/shared/header.mjml b/templates/templated_email/source/shared/header.mjml
deleted file mode 100644
index cf652df52c..0000000000
--- a/templates/templated_email/source/shared/header.mjml
+++ /dev/null
@@ -1 +0,0 @@
-<mj-raw></mj-raw>
diff --git a/templates/templated_email/source/shared/styles.mjml b/templates/templated_email/source/shared/styles.mjml
deleted file mode 100644
index c85cf2f31f..0000000000
--- a/templates/templated_email/source/shared/styles.mjml
+++ /dev/null
@@ -1,28 +0,0 @@
-<mj-style inline="inline">
- .no-display {
- display: none;
- }
-
- .no-padding td {
- padding: 0px;
- }
-
- td, th {
- padding: 5px;
- }
-
- .table-header-row {
- border-bottom: 2px solid #000;
- }
-
- .table-item-row {
- border-bottom: 1px solid #D3D1D0;
- }
-</mj-style>
-<mj-style>
-
- address {
- font-style: inherit;
- font-family: Ubuntu, Helvetica, Arial;
- }
-</mj-style>
diff --git a/templates/templated_email/source/staff_confirm_order.mjml b/templates/templated_email/source/staff_confirm_order.mjml
deleted file mode 100644
index e5220d4be1..0000000000
--- a/templates/templated_email/source/staff_confirm_order.mjml
+++ /dev/null
@@ -1,51 +0,0 @@
-<mjml>
- <mj-head>
- <mj-include path="./shared/styles.mjml" />
- </mj-head>
- <mj-body>
- <mj-include path="./shared/header.mjml" />
- <mj-section>
- <mj-column>
- <mj-text font-size="16px">
- Hi!
- </mj-text>
- <mj-text>
- Someone placed a new order in your store. To see order details please visit:
- <a href="{{order.order_details_url}}">{{order.order_details_url}}</a>
- </mj-text>
- </mj-column>
- </mj-section>
- <mj-include path="./partials/_order_lines.mjml" />
- <mj-section>
- <mj-column>
- <mj-table>
- <thead class="table-header-row">
- <tr>
- <th>Billing address</th>
- <th>Shipping address</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td class="address">
- {{#if order.billing_address}}
- {{format_address order.billing_address}}
- {{else}}
- No billing address
- {{/if}}
- </td>
- <td css-class="address">
- {{#if order.shipping_address}}
- {{format_address order.shipping_address}}
- {{else}}
- No shipping required
- {{/if}}
- </td>
- </tr>
- </tbody>
- </mj-table>
- </mj-column>
- </mj-section>
- <mj-include path="./shared/footer.mjml" />
- </mj-body>
-</mjml>
diff --git a/templates/templated_email/source/update_fulfillment.mjml b/templates/templated_email/source/update_fulfillment.mjml
deleted file mode 100644
index 97ed0f2563..0000000000
--- a/templates/templated_email/source/update_fulfillment.mjml
+++ /dev/null
@@ -1,29 +0,0 @@
-<mjml>
- <mj-head>
- <mj-include path="./shared/styles.mjml" />
- </mj-head>
- <mj-body>
- <mj-include path="./shared/header.mjml" />
- <mj-section>
- <mj-column>
- <mj-text font-size="16px">
- Hi!
- </mj-text>
- <mj-text>
- Your shipping status has been updated. Below is the list of ordered products that have been updated with
- new tracking number.
- {{#if fulfillment.tracking_number}}
- {{#if fulfillment.is_tracking_number_url}}
- You can track your shipment with
- <a href="{{ fulfillment.tracking_number }}">{{ fulfillment.tracking_number }}</a> link.
- {{else}}
- You can track your shipment with {{ fulfillment.tracking_number }} code.
- {{/if}}
- {{/if}}
- </mj-text>
- </mj-column>
- </mj-section>
- <mj-include path="./partials/_fulfillment_lines.mjml" />
- <mj-include path="./shared/footer.mjml" />
- </mj-body>
-</mjml>