From 72ed945a6be1798e6934927e1a69d4f3813d6283 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bal=C3=A1zs=20Kov=C3=A1cs?= Date: Tue, 11 Sep 2018 01:34:51 +0200 Subject: [PATCH] Mosaico template cleanup * fixed merge tags * added support to hide sponsor (this migt casue a "Saved model is obsolete" warning that can be safely ignored) * added support to change html title * altogether very similar to this commit: c36071524da81694c068cf548f0ece78c7566d23 --- .../mosaico/templates/versafix-1/index.html | 260 +++++++++--------- 1 file changed, 130 insertions(+), 130 deletions(-) diff --git a/public/mosaico/templates/versafix-1/index.html b/public/mosaico/templates/versafix-1/index.html index 2747dcac..01156a32 100644 --- a/public/mosaico/templates/versafix-1/index.html +++ b/public/mosaico/templates/versafix-1/index.html @@ -39,8 +39,8 @@ widget: text; help: Alternative text will be shown on email clients that does not download image automatically; } - sponsor { label: Sponsor; properties: visible=true src url alt; category: hidden } - titleText {label:Title Text;category: hidden;} + sponsorVisible { label: Sponsor; extend: visible;} + titleText {label:HTML Title; extend: text;} gutterVisible { label: Show Gutter; extend: visible } socialIconType { label: Icon Version; widget: select; options: bw=Black and White|colors=Colors; } bigSocialIconType { label: Icon Version; widget: select; options:bw=Black and White|colors=Colors|rdcol=Rounded Colors|rdbl=Rounded Black; } @@ -49,7 +49,7 @@ preheaderLinkOption { label: Unsubscribe Link; widget: select; - options: [profile_link]=Profile|[unsubscribe_link]=Unsubscribe|none=None; + options: [LINK_PREFERENCES]=Profile|[LINK_UNSUBSCRIBE]=Unsubscribe|none=None; help: If -None- is selected, preHeader text will be shown; } @@ -111,7 +111,7 @@ frameTheme:preview { -ko-background-color: @[backgroundColor] } template preheaderText { label: Preheader; } - template { label: Page; theme: frameTheme; properties: preheaderVisible=true; version: 1.1.17; } + template { label: Page; theme: frameTheme; properties: preheaderVisible=true sponsorVisible=true; version: 1.1.17; } footerBlock { label: Unsubscribe Block; theme: frameTheme } @@ -390,7 +390,7 @@ -->
- + @@ -401,7 +401,7 @@ -->
- +
- + @@ -445,7 +445,7 @@
- +
@@ -471,7 +471,7 @@ -->
- +
- +
- + @@ -598,8 +598,8 @@ -->
- - + + @@ -617,8 +617,8 @@ -->
- - + + @@ -636,8 +636,8 @@ -->
- - + + @@ -675,8 +675,8 @@ -->
- - + + @@ -694,8 +694,8 @@ -->
- - + + @@ -773,14 +773,14 @@
- +
- +
@@ -803,8 +803,8 @@ -->
- - + +
- - + +
- - + +
- - + +
- - + +
- - + +
- - + +
- - + +
- - + +
- - + +
- - + +