diff options
Diffstat (limited to 'addons/mail/static/src/xml/mail_chatter.xml')
| -rw-r--r-- | addons/mail/static/src/xml/mail_chatter.xml | 98 |
1 files changed, 0 insertions, 98 deletions
diff --git a/addons/mail/static/src/xml/mail_chatter.xml b/addons/mail/static/src/xml/mail_chatter.xml deleted file mode 100644 index 860633d6096..00000000000 --- a/addons/mail/static/src/xml/mail_chatter.xml +++ /dev/null @@ -1,98 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<templates> - - <t t-name="mail.chatter.ComposeMessage"> - <div class="mail_chatter_message_composer"> - <!-- Log a Note (subtypes)--> - <t t-if="widget.options.is_log"> - <span class="text-muted"> - Log an internal note which will not be sent to followers.<br/> - Note that users reading the document can read internal notes. - </span> - <!-- Internal subtypes --> - <div t-att-class="'form-group col-md-8 ' + (widget.options.internal_subtypes.length <= 1 ? ' hide' : '')"> - <label class="col-sm-2 control-label">Activity</label> - <div class="col-sm-4"> - <select class="form-control o_mail_chatter_compose_message_subtype_select"> - <t t-foreach="widget.options.internal_subtypes" t-as="subtype"> - <option t-att-value="subtype['id']"><t t-raw="subtype['name']"/></option> - </t> - </select> - </div> - </div> - </t> - <!-- New Message (list of followers)--> - <t t-if="!widget.options.is_log"> - <!-- Text for followers --> - <span class="text-muted"> - To: Followers of - <t t-if="widget.options.record_name"> - <t t-raw="'"' + widget.options.record_name + '"'"/> - </t> - <t t-if="!widget.options.record_name"> - this document - </t> - </span> - <!-- List of followers --> - <div class="o_mail_chatter_compose_message_suggested_partners"> - <t t-foreach='widget.suggested_partners' t-as='recipient'> - <div t-attf-title="Add as recipient and follower (reason: #{recipient.reason})"> - <input type="checkbox" - t-att-checked="recipient.checked ? 'checked' : undefined" - t-att-data-fullname="recipient.full_name"/> - <t t-esc="recipient.name"/> - <t t-if="recipient.email_address">(<t t-esc="recipient.email_address"/>)</t> - <t t-if="!recipient.email_address">(no email address)</t> - </div> - </t> - </div> - </t> - <!-- Composer Message --> - <t t-call="mail.ComposeMessage"/> - </div> - </t> - - - <t t-name="mail.chatter.ChatterMailThread"> - <div class="o_mail_chatter o_mail_thread"> - <!-- Compose buttons ('new message' and 'log a note') --> - <div class="o_mail_chatter_compose_buttons"> - <button type="button" class="btn btn-sm btn-primary o_mail_chatter_button_new_message" title="Send a message"> - New message - </button> - <button t-if="widget.options.display_log_button" class="btn btn-sm btn-link o_mail_chatter_button_log_note" title="Log a note. Followers will not be notified."> - Log an internal note - </button> - </div> - - <!-- wrap div for ChatterMailComposeMessage --> - <div class="o_mail_chatter_compose_message"/> - <!-- Message list --> - <div class="o_mail_chatter_messages"/> - </div> - </t> - - <t t-name="mail.chatter.ChatterMailThread.messages"> - <t t-if="widget.get('messages').length"> - <t t-call="mail.Thread.messages"/> - <t t-call="mail.Thread.load_more"/> - </t> - <t t-if="!widget.get('messages').length"> - No Messages. - </t> - </t> - - <!-- - ComposeMessage.ButtonTopBar - render of the button on the user bar for open wizard compose message - --> - <t t-name="mail.ComposeMessageTopButton"> - <li title='Compose new Message' class="oe_topbar_item oe_topbar_compose_full_email"> - <a href="#"> - <i class="fa fa-envelope-o fa-fw"></i> - </a> - </li> - </t> - - -</templates> |
