diff options
Diffstat (limited to 'addons/hr_holidays/static/src/components/thread_viewer/thread_viewer.xml')
| -rw-r--r-- | addons/hr_holidays/static/src/components/thread_viewer/thread_viewer.xml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/addons/hr_holidays/static/src/components/thread_viewer/thread_viewer.xml b/addons/hr_holidays/static/src/components/thread_viewer/thread_viewer.xml new file mode 100644 index 00000000000..b670d5d8c61 --- /dev/null +++ b/addons/hr_holidays/static/src/components/thread_viewer/thread_viewer.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<templates xml:space="preserve"> + <t t-inherit="mail.ThreadViewer" t-inherit-mode="extension"> + <xpath expr="//*[@name='loadingCondition']" position="before"> + <t t-if="threadViewer.thread.correspondent and threadViewer.thread.correspondent.out_of_office_date_end"> + <div class="o_ThreadViewer_outOfOffice alert alert-primary" t-esc="getOutOfOfficeText()" role="alert"/> + </t> + </xpath> + </t> +</templates> |
