Add module web_send_message_popup changing the 'Send a message' link to open directly the full featured message popup

This commit is contained in:
Guewen Baconnier
2014-04-25 11:08:41 +02:00
committed by Artem Kostyuk
parent 01c59ec7de
commit 303f7a0aae
3 changed files with 61 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<template>
<t t-extend="mail.compose_message">
<t t-jquery="a.oe_compose_post:eq(0)" t-operation="replace">
<a class="oe_compose_post oe_full" t-if="widget.options.compose_placeholder"><t t-raw="widget.options.compose_placeholder"/></a>
</t>
<t t-jquery="a.oe_compose_post:eq(1)" t-operation="replace">
<a class="oe_compose_post oe_full" t-if="!widget.options.compose_placeholder and !widget.options.view_mailbox">Send a message</a>
</t>
</t>
</template>