Skip to content

Commit

Permalink
Merge PR #1468 into 17.0
Browse files Browse the repository at this point in the history
Signed-off-by hbrunn
  • Loading branch information
OCA-git-bot committed Nov 22, 2024
2 parents ce46528 + 48a3b12 commit e228d34
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions mail_activity_board/static/src/components/chatter/chatter.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,16 @@
t-inherit-mode="extension"
>
<xpath expr="//button[hasclass('o-mail-Chatter-activity')]" position="after">
<button
class="btn btn-link o_ChatterTopbar_button"
type="button"
t-att-disabled="!state.thread.hasWriteAccess"
t-on-click="_onListActivity"
>
<i class="fa fa-list" /> View Activities
</button>
<t t-if="props.hasActivities">
<button
class="btn btn-link o_ChatterTopbar_button"
type="button"
t-att-disabled="!state.thread.hasWriteAccess"
t-on-click="_onListActivity"
>
<i class="fa fa-list" /> View Activities
</button>
</t>
</xpath>
</t>
</templates>

0 comments on commit e228d34

Please sign in to comment.