7e2aa82e by acetousk

Merge remote-tracking branch 'refs/remotes/origin/master'

2 parents 51502a1b 01241fe4
...@@ -62,6 +62,7 @@ along with this software (see the LICENSE.md file). If not, see ...@@ -62,6 +62,7 @@ along with this software (see the LICENSE.md file). If not, see
62 <service-call name="mjml.MjmlServices.get#GlobalGrapeVarList" out-map="context"/> 62 <service-call name="mjml.MjmlServices.get#GlobalGrapeVarList" out-map="context"/>
63 <set field="defaultLocation" value="dbresource://grapesjs/template/default.json"/> 63 <set field="defaultLocation" value="dbresource://grapesjs/template/default.json"/>
64 <set field="dataRaw" from="ec.resource.getLocationReference(defaultLocation).getText()"/> 64 <set field="dataRaw" from="ec.resource.getLocationReference(defaultLocation).getText()"/>
65 <if condition="!dataRaw"><log level="error" message="Template not found at ${defaultLocation}. Please load seed data for moqui-mjml."/></if>
65 <set field="htmlLocation" from="grapesJsResource.location + '/' + htmlFile?.dbResourceId + '.html'"/> 66 <set field="htmlLocation" from="grapesJsResource.location + '/' + htmlFile?.dbResourceId + '.html'"/>
66 <set field="grapesLocation" from="grapesJsResource.location + '/' + grapesFile?.dbResourceId + '.json'"/> 67 <set field="grapesLocation" from="grapesJsResource.location + '/' + grapesFile?.dbResourceId + '.json'"/>
67 <script><![CDATA[ 68 <script><![CDATA[
......