summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/components/thread_viewer/thread_viewer.xml
diff options
context:
space:
mode:
Diffstat (limited to 'addons/mail/static/src/components/thread_viewer/thread_viewer.xml')
-rw-r--r--addons/mail/static/src/components/thread_viewer/thread_viewer.xml46
1 files changed, 0 insertions, 46 deletions
diff --git a/addons/mail/static/src/components/thread_viewer/thread_viewer.xml b/addons/mail/static/src/components/thread_viewer/thread_viewer.xml
deleted file mode 100644
index 93202f6e423..00000000000
--- a/addons/mail/static/src/components/thread_viewer/thread_viewer.xml
+++ /dev/null
@@ -1,46 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<templates xml:space="preserve">
-
- <t t-name="mail.ThreadViewer" owl="1">
- <div class="o_ThreadViewer" t-att-data-thread-local-id="threadViewer and threadViewer.thread and threadViewer.thread.localId">
- <t t-if="threadViewer">
- <t t-if="threadViewer.isShowingLoading" name="loadingCondition">
- <div class="o_ThreadViewer_loading">
- <span><i class="o_ThreadViewer_loadingIcon fa fa-spinner fa-spin" title="Loading..." role="img"/>Loading...</span>
- </div>
- </t>
- <t t-elif="threadViewer.threadCache.isLoaded">
- <MessageList
- class="o_ThreadViewer_messageList"
- hasMessageCheckbox="props.hasMessageCheckbox"
- hasScrollAdjust="props.hasScrollAdjust"
- hasSquashCloseMessages="props.hasSquashCloseMessages"
- haveMessagesAuthorRedirect="props.haveMessagesAuthorRedirect"
- haveMessagesMarkAsReadIcon="props.haveMessagesMarkAsReadIcon"
- haveMessagesReplyIcon="props.haveMessagesReplyIcon"
- order="props.order"
- selectedMessageLocalId="props.selectedMessageLocalId"
- threadViewerLocalId="threadViewer.localId"
- t-ref="messageList"
- />
- </t>
- <t t-if="props.hasComposer">
- <Composer
- class="o_ThreadViewer_composer"
- attachmentsDetailsMode="props.composerAttachmentsDetailsMode"
- composerLocalId="threadViewer.thread.composer.localId"
- hasCurrentPartnerAvatar="props.hasComposerCurrentPartnerAvatar"
- hasSendButton="props.hasComposerSendButton"
- hasTextInputSendOnEnterEnabled="(threadViewer.thread.model === 'mail.channel' and threadViewer.thread.mass_mailing) ? false : undefined"
- hasThreadTyping="props.hasComposerThreadTyping"
- isCompact="(threadViewer.thread.model === 'mail.channel' and threadViewer.thread.mass_mailing) ? false : undefined"
- showAttachmentsExtensions="props.showComposerAttachmentsExtensions"
- showAttachmentsFilenames="props.showComposerAttachmentsFilenames"
- t-ref="composer"
- />
- </t>
- </t>
- </div>
- </t>
-
-</templates>