Fix module canvas backgrounds, clear dummy badges, add SVG upload, new template creation, and {jednotkova_cena} variable
This commit is contained in:
1 parent
ab74922b93
commit
3dc5778155
3 files changed
+463
-238
No files matched your search
@@ -197,6 +197,10 @@ export function renderEmailHtml(campaign: NewsletterCampaign): string {
|
||||
</html>`;
|
||||
}
|
||||
|
||||
export function renderSingleModuleHtml(m: any, campaign: NewsletterCampaign): string {
|
||||
return renderModule(m, campaign);
|
||||
}
|
||||
|
||||
function renderModule(m: any, campaign: NewsletterCampaign): string {
|
||||
switch (m.type) {
|
||||
case 'announcement':
|
||||
|
||||
Reference in new issue
Block a user