summaryrefslogtreecommitdiff
path: root/addons/gamification/static/src/xml
diff options
context:
space:
mode:
authorXavier Morel <xmo@odoo.com>2015-09-28 11:37:46 +0200
committerXavier Morel <xmo@odoo.com>2015-09-28 11:37:46 +0200
commita2388c762e8f33a98e66a34ef26f01e12da30735 (patch)
treea19d828aa9833074ea5b2dc1eb7193a01f4c87e0 /addons/gamification/static/src/xml
parentc764b703ca8c83373f89b77f5005a982d18624cb (diff)
[FIX] gamification: incorrect format breaking challenge acceptation
Reported by @yelizariev closes #8737
Diffstat (limited to 'addons/gamification/static/src/xml')
-rw-r--r--addons/gamification/static/src/xml/gamification.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/addons/gamification/static/src/xml/gamification.xml b/addons/gamification/static/src/xml/gamification.xml
index 6316ca886f0..5fbd57cbcc2 100644
--- a/addons/gamification/static/src/xml/gamification.xml
+++ b/addons/gamification/static/src/xml/gamification.xml
@@ -8,7 +8,7 @@
<t t-name="gamification.ChallengeSummary">
<div class="oe_goal">
<div>
- <a class="oe_update_challenge oe_e" rol="button" t-attf-id="{challenge.id}">e</a>
+ <a class="oe_update_challenge oe_e" rol="button" t-att-id="challenge.id">e</a>
<h4><t t-esc="challenge.name" /></h4>
</div>
@@ -67,7 +67,7 @@
<div class="oe_goal_progress_background"></div>
<div class="oe_goal_progress" t-attf-style="#{line.display_mode == 'progress' ? 'width: '+goal.completeness+'%;' : 'width:0;'}"></div>
</t>
-
+
<div class="oe_cell col0"><t t-esc="goal.rank" /></div>
<div class="oe_cell col1"><img class="oe_user_avatar" t-attf-alt="#{goal.name}" t-attf-data-id="#{goal.user_id}"/></div>
<div class="oe_cell col2">
@@ -105,7 +105,7 @@
<h4>Invited Challenges</h4>
<ul t-foreach="challenges" t-as="challenge" class="oe_goals_list">
<li>
- <strong><a class="oe_challenge_reply" t-attf-title="#{challenge.description.value ? challenge.description.value : ''}" t-attf-id="{challenge.id}" title="more details..."><t t-esc="challenge.name"/></a></strong>
+ <strong><a class="oe_challenge_reply" t-attf-title="#{challenge.description.value ? challenge.description.value : ''}" t-att-id="challenge.id" title="more details..."><t t-esc="challenge.name"/></a></strong>
</li>
</ul>
</div>