Merge PR #1468 into 17.0

Signed-off-by hbrunn
pull/1509/head
OCA-git-bot 2024-11-22 15:59:06 +00:00
commit e228d345ba
1 changed files with 10 additions and 8 deletions

View File

@ -6,14 +6,16 @@
t-inherit-mode="extension" t-inherit-mode="extension"
> >
<xpath expr="//button[hasclass('o-mail-Chatter-activity')]" position="after"> <xpath expr="//button[hasclass('o-mail-Chatter-activity')]" position="after">
<button <t t-if="props.hasActivities">
class="btn btn-link o_ChatterTopbar_button" <button
type="button" class="btn btn-link o_ChatterTopbar_button"
t-att-disabled="!state.thread.hasWriteAccess" type="button"
t-on-click="_onListActivity" t-att-disabled="!state.thread.hasWriteAccess"
> t-on-click="_onListActivity"
<i class="fa fa-list" /> View Activities >
</button> <i class="fa fa-list" /> View Activities
</button>
</t>
</xpath> </xpath>
</t> </t>
</templates> </templates>