[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"> -->
|
+ <!-- <template id="listing"> -->
|
||||||
+ <!-- <ul> -->
|
+ <!-- <ul> -->
|
||||||
+ <!-- <li t-foreach="objects" t-as="object"> -->
|
+ <!-- <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"/> -->
|
+ <!-- <t t-esc="object.display_name"/> -->
|
||||||
+ <!-- </a> -->
|
+ <!-- </a> -->
|
||||||
+ <!-- </li> -->
|
+ <!-- </li> -->
|
||||||
|
|
|
@ -30,9 +30,9 @@ Index: addons/openacademy/views/openacademy.xml
|
||||||
+ <templates>
|
+ <templates>
|
||||||
+ <t t-name="kanban-box">
|
+ <t t-name="kanban-box">
|
||||||
+ <div
|
+ <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_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">
|
+ <div class="oe_dropdown_kanban">
|
||||||
+ <!-- dropdown menu -->
|
+ <!-- dropdown menu -->
|
||||||
+ <div class="oe_dropdown_toggle">
|
+ <div class="oe_dropdown_toggle">
|
||||||
|
|
|
@ -1742,7 +1742,7 @@ attributes are:
|
||||||
<t t-name="PetToy">
|
<t t-name="PetToy">
|
||||||
<div class="oe_petstore_pettoy" t-att-data-id="item.id">
|
<div class="oe_petstore_pettoy" t-att-data-id="item.id">
|
||||||
<p><t t-esc="item.name"/></p>
|
<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>
|
</div>
|
||||||
</t>
|
</t>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue