diff options
| author | Aaron Bohy <aab@odoo.com> | 2015-08-20 15:29:54 +0200 |
|---|---|---|
| committer | Aaron Bohy <aab@odoo.com> | 2015-09-01 20:57:13 +0200 |
| commit | a0cbf891af58f029e2c52779617ad7eeb8d26eb3 (patch) | |
| tree | 92091e11e51a025f91427d51d1abc614090369ea /addons/mail/static/src/xml/mail.xml | |
| parent | 58a46c90cd896772a0b462379bd0a5a440877993 (diff) | |
[REM] *: remove chat menu and timeline view
Diffstat (limited to 'addons/mail/static/src/xml/mail.xml')
| -rw-r--r-- | addons/mail/static/src/xml/mail.xml | 233 |
1 files changed, 0 insertions, 233 deletions
diff --git a/addons/mail/static/src/xml/mail.xml b/addons/mail/static/src/xml/mail.xml deleted file mode 100644 index f1de2b68daf..00000000000 --- a/addons/mail/static/src/xml/mail.xml +++ /dev/null @@ -1,233 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<templates> - -<div t-name="TimelineView.buttons" class="o_timeline_buttons"> - <t t-if="widget.options.action_buttons !== false"> - <button type="button" class="o_timeline_button_new btn btn-primary btn-sm"> - New message - </button> - <t t-if="!widget.options.readonly and widget.options.show_write_to_followers"> - <span class="oe_alternative"> - <span class="oe_fade">or</span> - <div class="oe_bounce_container"> - <t t-if="widget.options.compose_placeholder"> - <a class="o_timeline_share text-info"><t t-raw="widget.options.compose_placeholder"/></a> - </t> - <t t-if="! widget.options.compose_placeholder"> - <a class="o_timeline_share text-info">Write to my followers</a> - </t> - </div> - </span> - </t> - </t> -</div> - -<div t-name="TimelineWall" t-attf-class="o_timeline #{widget.options.view_inbox ? 'o_timeline_inbox' : 'o_timeline_chatter'}"> - <div class="o_timeline_buttons"/> - <div class="o_timeline-placeholder"></div> -</div> - -<t t-name="ComposeMessage"> - <div t-if="widget.show_composer and !widget.options.readonly" - class="o_timeline_msg o_timeline_msg_composer_compact"> - <div class="o_timeline_msg o_timeline_msg_composer"> - <div class="o_timeline_msg_center"> - <div class="o_timeline_msg_content"> - <button t-if="! widget.is_log" class="oe_full" title="Open the full mail composer"> - <i class='fa fa-pencil-square-o'/> - </button> - <t t-call="ThreadListRecipients"/> - <t t-if="widget.is_log and widget.options.internal_subtypes.length > 1"> - <label>Activity</label> - <select class=""> - <t t-foreach="widget.options.internal_subtypes" t-as="subtype"> - <option t-att-value="subtype['id']"><t t-raw="subtype['name']"/></option> - </t> - </select> - </t> - <textarea class="field_text"></textarea> - </div> - <div class="o_timeline_msg_footer"> - <div class="o_timeline_msg_attachment_list"></div> - <div class="btn-group btn-group-sm"> - <button type="button" class="oe_post btn btn-primary"> - <t t-if="!widget.is_log">Send</t> - <t t-if="widget.is_log">Log</t> - </button> - <t t-call="ComposeMessage.AddAttachment"/> - </div> - </div> - </div> - </div> - </div> - - <div t-if="widget.show_compact_message and !widget.show_composer and !widget.options.readonly" - class="o_timeline_msg o_timeline_msg_composer_compact"> - <t t-if="!widget.options.view_inbox"> - <div class="field_text o_timeline_compact o_timeline_compact_record"> - <div class="btn-group btn-group-sm"> - <button type="button" class="o_timeline_compose_post btn btn-primary" - t-if="widget.options.compose_placeholder"> - <t t-raw="widget.options.compose_placeholder"/> - </button> - <button type="button" class="o_timeline_compose_post btn btn-primary" - t-if="!widget.options.compose_placeholder and !widget.options.view_inbox" - title="Send a message. Followers will be notified."> - New message - </button> - </div> - <t t-if="widget.options.display_log_button"> - <span class="text-muted o_timeline_sep_word">or</span> - <div class="btn-group btn-group-sm"> - <button class="o_timeline_compose_log btn btn-link btn-small" - title="Log a note. Followers will not be notified."> - Log an internal note - </button> - </div> - </t> - </div> - </t> - </div> - - <span t-if="!(widget.show_compact_message and !widget.show_composer) and !widget.show_composer" - class="oe_placeholder_compose"></span> -</t> - -<!-- - ComposeMessage.AddAttachment template - Small template to be inserted in the composition for add attachments - --> -<t t-name="ComposeMessage.AddAttachment"> - <span class="oe_attachment_file"> - <span class="oe_add"> - <!-- uploader of file --> - <button class="oe_attach"><i class="fa fa-paperclip"/></button> - <span class='oe_attach_label'>Attach a file</span> - <t t-call="HiddenInputFile"> - <t t-set="fileupload_id" t-value="widget.fileupload_id"/> - <t t-set="fileupload_action" t-translation="off">/web/binary/upload_attachment</t> - <input type="hidden" name="model" value="mail.compose.message"/> - <input type="hidden" name="id" value="0"/> - <input type="hidden" name="session_id" t-att-value="widget.session.session_id"/> - </t> - </span> - </span> -</t> - -<!-- - template to the recipients list - --> -<t t-name="ThreadListRecipients"> - <div class="o_timeline_list_recipients" t-if="!widget.is_log"> - To: - <t t-if="!widget.is_private"> - <span class="o_timeline_all_follower"> - <t t-if="widget.parent_thread.parent_message.record_name"> - Followers of - <t t-raw="'"' + widget.parent_thread.parent_message.record_name + '"'"/> - </t> - <t t-if="!widget.parent_thread.parent_message.record_name and widget.options.view_mailbox"> - My Followers </t> - <t t-if="!widget.parent_thread.parent_message.record_name and !widget.options.view_mailbox"> - Followers of this document </t> - </span> - </t> - <t t-set="inc" t-value="0"/> - <t t-foreach="widget.partner_ids" t-as="partner"> - <t t-if="widget.is_private or (widget.user_pid != partner[0])"> - <t t-if="!widget.is_private and inc==0"> and </t> - <span t-attf-class="o_timeline_partner_follower #{inc>=3?'oe_hidden':''}"> - <t t-if="inc" t-raw="', '"/> - <a t-if="widget.options.show_link" - t-attf-href="#model=res.partner&id=#{partner[0]}"> - <t t-esc="partner[1]"/> - </a> - <t t-if="!widget.options.show_link" t-esc="partner[1]"/> - </span> - <t t-set="inc" t-value="inc+1"/> - </t> - </t> - - <t t-if="widget.partner_ids.length > 3"> - <span class="oe_more"> - , <a><t t-esc="widget.partner_ids.length - 3"/> others...</a> - </span> - </t> - - <div class="o_timeline_recipients" t-if="!widget.is_log"> - <t t-foreach='widget.recipients' t-as='recipient'> - <label t-attf-title="Add as recipient and follower (reason: #{recipient.reason})"> - <input type="checkbox" - t-att-checked="recipient.checked ? 'checked' : undefined" - t-att-data="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> - </label> - </t> - </div> - </div> - <div class="o_timeline_is_log" t-if="widget.is_log"> - <span class="text-muted"> - Log an internal note which will not be sent to followers. - Note that users reading the document can read internal notes. - </span> - </div> -</t> - -<div t-name="MailThread" class="oe_thread"> - <div t-attf-class="#{widget.options.view_inbox ? 'o_timeline_thread_parent' : ''}"> - <t t-raw="widget.content"/> - </div> - <t t-if="!widget.messages.length and !widget.root"> - <t t-call="NoMessage" /> - </t> -</div> - -<!-- - mail.thread.message.attachments template - Template used to display attachments in a mail.message - --> -<t t-name="ThreadMessageAttachments"> - <t t-foreach='widget.format_attachments(record)' t-as='attachment'> - <div t-attf-class="oe_attachment oe_preview #{attachment.upload ? 'oe_uploading' : ''}"> - <a class="o_image" t-att-href='attachment.url' target="_blank" t-att-data-mimetype="attachment.mimetype" t-attf-data-src="/web/image/#{attachment.id}/100x80"> - <div class='oe_name'><t t-raw='attachment.name'/></div> - </a> - <div class='oe_delete oe_e'> - <i class='fa fa-times-circle' title="Delete this attachment" t-att-data-id="attachment.id"/> - </div> - <div class='oe_progress_bar'> - uploading - </div> - </div> - </t> -</t> - -<t t-name="MessageReadUnread"> - <i t-if="record.options.show_read" title="Done" - class="oe_read fa fa-check" t-att-data-id="record.id"/> - <i t-if="record.is_favorite and record.options.show_unread" title="Set back to Todo" - class="oe_unread fa fa-inbox" t-att-data-id="record.id"/> - <i t-if="!record.is_favorite and record.options.show_unread" title="Move to Inbox" - class="oe_unread fa fa-inbox" t-att-data-id="record.id"/> -</t> - -<t t-name="NoMessage"> - <div class="oe_view_nocontent">No message.</div> -</t> - -<!-- - ComposeMessage.ButtonTopBar - render of the button on the user bar for open wizard compose message - --> -<t t-name="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>
\ No newline at end of file |
