summaryrefslogtreecommitdiff
path: root/addons/gamification/static/src/xml/gamification.xml
diff options
context:
space:
mode:
authorMartin Trigaux <mat@openerp.com>2013-04-18 12:32:29 +0200
committerMartin Trigaux <mat@openerp.com>2013-04-18 12:32:29 +0200
commit06159a516abb7203d997d2dcb77b0fcc849c2b5a (patch)
treefc92b02df31748b842def1e2cd6d0b10529518cf /addons/gamification/static/src/xml/gamification.xml
parent5c082c36a7ceb81322501551c9726e6cbdad6238 (diff)
[IMP] show suggested threads
bzr revid: mat@openerp.com-20130418103229-xkyu6qyzdola03hn
Diffstat (limited to 'addons/gamification/static/src/xml/gamification.xml')
-rw-r--r--addons/gamification/static/src/xml/gamification.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/addons/gamification/static/src/xml/gamification.xml b/addons/gamification/static/src/xml/gamification.xml
index adcd6fa37b0..22c1233d336 100644
--- a/addons/gamification/static/src/xml/gamification.xml
+++ b/addons/gamification/static/src/xml/gamification.xml
@@ -1,5 +1,6 @@
<templates>
<t t-name="gamification.user_wall_sidebar" class="oe_gamification_user_wall_sidebar">
+ <div class="oe_gamification_suggestion"><em>No challenge suggestions</em></div>
<div class="oe_gamification_goal"><em>Your goal list is empty</em></div>
</t>
<t t-name="gamification.goal_list_to_do">
@@ -63,4 +64,17 @@
</div>
</t>
+ <t t-name="gamification.challenge_suggestions">
+ <h3>Suggested challenges</h3>
+ <div t-foreach="widget.challenge_suggestions.info" t-as="challenge" class="oe_challenge">
+ <p>
+ <strong><t t-esc="challenge.name"/></strong> <a class="oe_challenge_reply">reply</a>
+ <t t-if="challenge.description.value">
+ <br/>
+ <em><t t-esc="challenge.description.value"/></em>
+ </t>
+ </p>
+ </div>
+ </t>
+
</templates>