[FIX] doc: remaining instances of ruby-style interpolation in templates
fixes #3157
This commit is contained in:
parent
894a898e9e
commit
2275ab5d95
|
@ -133,7 +133,7 @@ Index: addons/openacademy/templates.xml
|
|||
+ <!-- <template id="listing"> -->
|
||||
+ <!-- <ul> -->
|
||||
+ <!-- <li t-foreach="objects" t-as="object"> -->
|
||||
+ <!-- <a t-attf-href="#{ root }/objects/#{ object.id }"> -->
|
||||
+ <!-- <a t-attf-href="{{ root }}/objects/{{ object.id }}"> -->
|
||||
+ <!-- <t t-esc="object.display_name"/> -->
|
||||
+ <!-- </a> -->
|
||||
+ <!-- </li> -->
|
||||
|
|
|
@ -30,9 +30,9 @@ Index: addons/openacademy/views/openacademy.xml
|
|||
+ <templates>
|
||||
+ <t t-name="kanban-box">
|
||||
+ <div
|
||||
+ t-attf-class="oe_kanban_color_#{kanban_getcolor(record.color.raw_value)}
|
||||
+ t-attf-class="oe_kanban_color_{{kanban_getcolor(record.color.raw_value)}}
|
||||
+ oe_kanban_global_click_edit oe_semantic_html_override
|
||||
+ oe_kanban_card #{record.group_fancy==1 ? 'oe_kanban_card_fancy' : ''}">
|
||||
+ oe_kanban_card {{record.group_fancy==1 ? 'oe_kanban_card_fancy' : ''}}">
|
||||
+ <div class="oe_dropdown_kanban">
|
||||
+ <!-- dropdown menu -->
|
||||
+ <div class="oe_dropdown_toggle">
|
||||
|
|
|
@ -1742,7 +1742,7 @@ attributes are:
|
|||
<t t-name="PetToy">
|
||||
<div class="oe_petstore_pettoy" t-att-data-id="item.id">
|
||||
<p><t t-esc="item.name"/></p>
|
||||
<p><img t-attf-src="data:image/jpg;base64,#{item.image}"/></p>
|
||||
<p><img t-attf-src="data:image/jpg;base64,{{item.image}}"/></p>
|
||||
</div>
|
||||
</t>
|
||||
|
||||
|
|
Loading…
Reference in New Issue