[IMP] website_mail: mailing editor buttons

Button "Save and continue" was wrongly named as it worked only once the template
is not in edit mode (so already saved).
Hide the button to only get it in readonly mode and rename it for better
understanding of its purpose. (opw 614563)
This commit is contained in:
Ravi Gohil 2014-12-01 13:04:37 +05:30 committed by Martin Trigaux
parent aba75e7578
commit 1fe6e8172d
1 changed files with 3 additions and 3 deletions

View File

@ -7,7 +7,7 @@
<t t-call="website.layout">
<div id="wrap" class="container" t-ignore="True">
<div id="email_template" class="mb32" t-att-style="mode != 'email_template' and 'display: none' or ''">
<a class="mt16 btn btn-default pull-right"
<a class="mt16 btn btn-default pull-right css_editable_mode_hidden"
t-attf-href="/web#return_label=Website&amp;model=#{model}&amp;id=#{res_id}&amp;view_type=form">
Back
</a>
@ -32,9 +32,9 @@
</div>
</div>
<div id="email_designer" class="mb32" t-att-style="mode != 'email_designer' and 'display: none' or ''">
<a class="mt16 btn btn-primary pull-right"
<a class="mt16 btn btn-primary pull-right css_editable_mode_hidden"
t-attf-href="/web#return_label=Website&amp;model=#{model}&amp;id=#{res_id}&amp;view_type=form">
Save and Continue
Back to the mass mailing
</a>
<h1 class="page-header mt16">
Design Your Email