mirror of
https://github.com/bringout/oca-ocb-core.git
synced 2026-04-22 18:12:04 +02:00
Initial commit: Core packages
This commit is contained in:
commit
12c29a983b
9512 changed files with 8379910 additions and 0 deletions
|
|
@ -0,0 +1,4 @@
|
|||
.o_ChannelPreviewView_ratingImage {
|
||||
height: $font-size-base;
|
||||
width: $font-size-base;
|
||||
}
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<templates xml:space="preserve">
|
||||
<t t-inherit="mail.ChannelPreviewView" t-inherit-mode="extension">
|
||||
<xpath expr="//*[hasclass('o_ChannelPreviewView_messageBody')]" position="replace">
|
||||
<t t-if="channelPreviewView.isRating">
|
||||
<span class="o_ChannelPreviewView_ratingText">Rating:</span>
|
||||
<img class="o_ChannelPreviewView_ratingImage ms-2" t-att-src="channelPreviewView.thread.lastMessage.rating.ratingImageUrl" t-att-alt="channelPreviewView.thread.lastMessage.rating.ratingText"/>
|
||||
</t>
|
||||
<t t-else="">$0</t>
|
||||
</xpath>
|
||||
</t>
|
||||
</templates>
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
.o_ThreadNeedactionPreview_ratingImage {
|
||||
height: $font-size-base;
|
||||
width: $font-size-base;
|
||||
}
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<templates xml:space="preserve">
|
||||
<t t-inherit="mail.ThreadNeedactionPreview" t-inherit-mode="extension">
|
||||
<xpath expr="//*[hasclass('o_ThreadNeedactionPreview_messageBody')]" position="replace">
|
||||
<t t-if="threadNeedactionPreviewView.isRating">
|
||||
<span class="o_ThreadNeedactionPreview_ratingText">Rating:</span>
|
||||
<img class="o_ThreadNeedactionPreview_ratingImage ms-2" t-att-src="threadNeedactionPreviewView.thread.lastNeedactionMessageAsOriginThread.rating.ratingImageUrl" t-att-alt="threadNeedactionPreviewView.thread.lastNeedactionMessageAsOriginThread.rating.ratingText"/>
|
||||
</t>
|
||||
<t t-else="">$0</t>
|
||||
</xpath>
|
||||
</t>
|
||||
</templates>
|
||||
Loading…
Add table
Add a link
Reference in a new issue