Commit 6350cd4f authored by Jérome Perrin's avatar Jérome Perrin

CRM: adjust send email warning for mass workflow

parent 61f0ccb1
......@@ -37,7 +37,12 @@
<value> <unicode encoding="cdata"><![CDATA[
<div tal:condition="python: context.getPortalType() == \'Mail Message\'" class="error" i18n:translate="" i18n:domain="erp5_ui">\n
<h2>Warning</h2>An email will be sent to <span i18n:name="mto" tal:replace="python: \', \'.join([recipient.getDefaultEmailText() or \'\' for recipient in context.getDestinationValueList()])"/>\n
<tal:block tal:condition="not: request/mass_workflow_action | nothing">\n
<h2>Warning</h2>An email will be sent to <span i18n:name="mto" tal:replace="python: \', \'.join([recipient.getDefaultEmailText() or \'\' for recipient in context.getDestinationValueList()])"/>\n
</tal:block>\n
<tal:block tal:condition="request/mass_workflow_action | nothing">\n
<h2>Warning</h2>An email will be sent to each recipent.\n
</tal:block>\n
</div>
]]></unicode> </value>
......
686
\ No newline at end of file
687
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment