Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
moqui
/
moqui-mjml
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
7e2aa82e
authored
2024-07-09 18:19:51 -0600
by
acetousk
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge remote-tracking branch 'refs/remotes/origin/master'
2 parents
51502a1b
01241fe4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
0 deletions
data/MjmlSetupData.xml
service/mjml/MjmlServices.xml
data/MjmlSetupData.xml
View file @
7e2aa82
This diff is collapsed.
Click to expand it.
service/mjml/MjmlServices.xml
View file @
7e2aa82
...
...
@@ -62,6 +62,7 @@ along with this software (see the LICENSE.md file). If not, see
<service-call
name=
"mjml.MjmlServices.get#GlobalGrapeVarList"
out-map=
"context"
/>
<set
field=
"defaultLocation"
value=
"dbresource://grapesjs/template/default.json"
/>
<set
field=
"dataRaw"
from=
"ec.resource.getLocationReference(defaultLocation).getText()"
/>
<if
condition=
"!dataRaw"
><log
level=
"error"
message=
"Template not found at ${defaultLocation}. Please load seed data for moqui-mjml."
/></if>
<set
field=
"htmlLocation"
from=
"grapesJsResource.location + '/' + htmlFile?.dbResourceId + '.html'"
/>
<set
field=
"grapesLocation"
from=
"grapesJsResource.location + '/' + grapesFile?.dbResourceId + '.json'"
/>
<script>
<![CDATA[
...
...
Please
register
or
sign in
to post a comment