| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<templates xml:space="preserve"> |
| 3 |
<t t-inherit="portal.Chatter" t-inherit-mode="extension"> |
| 4 |
<xpath expr="//div[hasclass('o-mail-Chatter-top')]/*[1]" position="before"> |
| 5 |
<div t-if="env.displayRating and ratingStats and ratingStats.total" class="my-2" t-att-class="{ 'mb-4':props.twoColumns }"> |
| 6 |
<t t-call="portal_rating.rating_card"> |
| 7 |
<t t-set="two_columns" t-value="props.twoColumns"/> |
| 8 |
<t t-set="rating_stats" t-value="ratingStats"/> |
| 9 |
<t t-set="selected_rating" t-value="state.thread?.selectedRating"/> |
| 10 |
</t> |
| 11 |
</div> |
| 12 |
</xpath> |
| 13 |
</t> |
| 14 |
</templates> |