Skip to content

Commit

Permalink
[FIX] doc: remaining instances of ruby-style interpolation in templates
Browse files Browse the repository at this point in the history
fixes odoo#3157
  • Loading branch information
xmo-odoo committed Dec 3, 2014
1 parent 894a898 commit 2275ab5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion doc/howtos/backend/exercise-creation
Original file line number Diff line number Diff line change
Expand Up @@ -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> -->
Expand Down
4 changes: 2 additions & 2 deletions doc/howtos/backend/exercise-kanban
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down
2 changes: 1 addition & 1 deletion doc/howtos/web.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 2275ab5

Please sign in to comment.