diff options
| author | Thibault Delavallée <tde@odoo.com> | 2019-08-21 09:09:31 +0000 |
|---|---|---|
| committer | Thibault Delavallée <tde@odoo.com> | 2019-08-21 12:50:51 +0000 |
| commit | 241453aaecfdd8e18aa3fe477cbc28c3f22601e7 (patch) | |
| tree | d811c13a98d7d03feaf0598acb6bc8799777d77a /addons/website_mail/static/src/xml/website_mail.xml | |
| parent | 226e21c403a0bd7a44accfe7c24085585dffc85b (diff) | |
[MOV] website_mail: rename portal related files
PURPOSE
Fix frontend rating and clean a bit module organization
SPECIFICATIONS
In order to ease understanding of portal chatter dependencies let us name
files according to guidelines. In this commit we rename a bit files in
website mail to understand which widgets and portal parts are impacted by
website mail bridge module.
Assets are also moved in their own file to ease module discovering.
LINKS
Task 2057301
PR #35870
Diffstat (limited to 'addons/website_mail/static/src/xml/website_mail.xml')
| -rw-r--r-- | addons/website_mail/static/src/xml/website_mail.xml | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/addons/website_mail/static/src/xml/website_mail.xml b/addons/website_mail/static/src/xml/website_mail.xml deleted file mode 100644 index 70f51435c3b..00000000000 --- a/addons/website_mail/static/src/xml/website_mail.xml +++ /dev/null @@ -1,23 +0,0 @@ -<templates id="template" xml:space="preserve"> - - <t t-name="website_mail.publish_short"> - <t t-if="is_publisher" t-ignore="true"> - <div t-attf-class="float-right js_publish_management #{object.website_published and 'css_published' or 'css_unpublished'}" t-att-data-id="res_id" t-att-data-object="res_model" t-att-data-controller="publish_controller"> - <button class="btn btn-danger js_publish_btn">Unpublished</button> - <button class="btn btn-success js_publish_btn">Published</button> - </div> - </t> - </t> - - <t t-extend="portal.chatter_messages"> - <t t-jquery=".o_portal_chatter_message_title" t-operation="before"> - <t t-call="website_mail.publish_short"> - <t t-set="res_model" t-value="'mail.message'"/> - <t t-set="res_id" t-value="message.id"/> - <t t-set="object" t-value="message"/> - <t t-set="is_publisher" t-value="widget.options['is_user_publisher']"/> - </t> - </t> - </t> - -</templates> |
