diff options
| author | Sébastien Theys <seb@odoo.com> | 2020-08-28 10:16:37 +0000 |
|---|---|---|
| committer | Sébastien Theys <seb@odoo.com> | 2020-08-28 13:43:54 +0000 |
| commit | f9ee1cf5f904116e4d1d70a8eaf4ee1d58b18a3a (patch) | |
| tree | 89425d0677083bb9489e42d47521c4bcf1e4ff44 /addons/mail/static/src/components/thread_viewer/thread_viewer.xml | |
| parent | 98e12901c97a67dc87f21647473754cd6f384d4a (diff) | |
[FIX] mail, *: rename thread viewer to thread view
The "viewer" should be the "parent" not the view itself. This distinction will
become important in a future commit to allow viewers to not display the view in
some situations.
Rename done as a standalone commit to ease diff readability.
Part of task-2310623
closes odoo/odoo#56737
X-original-commit: 1b811e6a972d72de02965adda67c5b039bee023f
Related: odoo/enterprise#12756
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
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.xml | 46 |
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> |
