diff --git a/addons/website_mail/__openerp__.py b/addons/website_mail/__openerp__.py
index 400411ed329..74fe86c6193 100644
--- a/addons/website_mail/__openerp__.py
+++ b/addons/website_mail/__openerp__.py
@@ -26,7 +26,7 @@
'version': '0.1',
'description': """Glue module holding mail improvements for website.""",
'author': 'OpenERP SA',
- 'depends': ['website', 'mail'],
+ 'depends': ['website', 'mail', 'email_template'],
'data': [
'views/snippets.xml',
'views/website_mail.xml',
diff --git a/addons/website_mail/models/email_template.py b/addons/website_mail/models/email_template.py
index aed01c179f7..6d84f91e5ab 100644
--- a/addons/website_mail/models/email_template.py
+++ b/addons/website_mail/models/email_template.py
@@ -30,7 +30,7 @@ class EmailTemplate(osv.Model):
_inherit = 'email.template'
def _get_website_link(self, cr, uid, ids, name, args, context=None):
- return dict((id, _('Edit in Website') % id) for id in ids)
+ return dict((id, _('Open with visual editor') % id) for id in ids)
_columns = {
'website_link': fields.function(
diff --git a/addons/website_mail/static/src/img/blocks/block_three_columns.png b/addons/website_mail/static/src/img/blocks/block_three_columns.png
new file mode 100644
index 00000000000..dd50e0336d3
Binary files /dev/null and b/addons/website_mail/static/src/img/blocks/block_three_columns.png differ
diff --git a/addons/website_mail/static/src/img/blocks/block_two_columns.png b/addons/website_mail/static/src/img/blocks/block_two_columns.png
new file mode 100644
index 00000000000..55a3f0c1c99
Binary files /dev/null and b/addons/website_mail/static/src/img/blocks/block_two_columns.png differ
diff --git a/addons/website_mail/views/email_template_view.xml b/addons/website_mail/views/email_template_view.xml
index 3206eaeaee6..bb346af5e97 100644
--- a/addons/website_mail/views/email_template_view.xml
+++ b/addons/website_mail/views/email_template_view.xml
@@ -6,8 +6,10 @@
+
+ Text Block
+
+ + A Great Headline +++ A good subtitle ++ |
+
|
+
+
+
+
+
+
+ |
+
- Big Message
- |
-
-
- Sell Online. Easily.- - |
-
- Text Block
-
- - A Great Headline --- A good subtitle -- |
-
|
-
-
-
-
-
-
- |
-
- Separator
+
+ Two Columns
|
-
-
+ - |
+ |
-
- Big Picture
-
- A Punchy Headline+ |
+ |
||||||
-
- |
- |||||||
- A Small Subtitle+ |
+ Feature One+ - |
+
+ Feature Two+
-
+
Three Columns
@@ -278,10 +235,67 @@
+
+
-
+
+
+ Separator
+
+
+
+
+
+
+
+
+
+
+ Big Picture
+
+
+
@@ -375,6 +389,30 @@
+
+
+
+
+
+
+ Big Message
+
+
+
@@ -443,8 +481,6 @@
-
-
-
-
-
+ Email From
-
-
+
+
+
+
+
+
+
+
- Email From
+
+
-
+ To (Email)
-
-
+
- To (Email)
+
+
-
+ To (Partners)
-
-
+
- To (Partners)
+
+
-
+ Reply To
-
-
+
- Reply To
+
+
-
+ Subject
-
-
+
- Subject
+
+
-
+
+
+
+ |