diff --git a/addons/gamification/data/goal_base.xml b/addons/gamification/data/goal_base.xml index 7c23ae81020..66dd7be7431 100644 --- a/addons/gamification/data/goal_base.xml +++ b/addons/gamification/data/goal_base.xml @@ -1,5 +1,99 @@ + + + + + + Reminder for Goal Update + + Reminder ${object.name} + + +

You have not updated your progress for the goal ${object.definition_id.name} (currently reached at ${object.completeness}%) for at least ${object.remind_update_delay} days. Do not forget to do it.

+ +

If you have not changed your score yet, you can use the button "The current value is up to date" to indicate so.

+ ]]>
+
+ + + Simple Challenge Report Progress + + ${object.name} + +

The following message contains the current progress for the challenge ${object.name}

+ +% if object.visibility_mode == 'personal': + + + + + + + + % for line in ctx["challenge_lines"]: + = 100: + style="font-weight:bold;" + % endif + > + + + + + + % endfor +
GoalTargetCurrentCompleteness
${line['name']}${line['target']} + % if line['suffix']: + ${line['suffix']} + % endif + ${line['current']} + % if line['suffix']: + ${line['suffix']} + % endif + ${line['completeness']} %
+% else: + % for line in ctx["challenge_lines"]: + + + + + + + + + + + % for goal in line['goals']: + = 100: + style="font-weight:bold;" + % endif + > + + + + + + % endfor +
${line['name']}
#PersonCompletenessCurrent
${goal['rank']}${goal['name']}${goal['completeness']}%${goal['current']}/${line['target']} + % if line['suffix']: + ${line['suffix']} + % endif +
+ +

+ + % endfor +% endif + ]]>
+
+ +
+ @@ -111,97 +205,4 @@ - - - - - - Reminder for Goal Update - - Reminder ${object.name} - - -

You have not updated your progress for the goal ${object.definition_id.name} (currently reached at ${object.completeness}%) for at least ${object.remind_update_delay} days. Do not forget to do it.

- -

If you have not changed your score yet, you can use the button "The current value is up to date" to indicate so.

- ]]>
-
- - - Simple Challenge Report Progress - - ${object.name} - -

The following message contains the current progress for the challenge ${object.name}

- -% if object.visibility_mode == 'personal': - - - - - - - - % for line in ctx["challenge_lines"]: - = 100: - style="font-weight:bold;" - % endif - > - - - - - - % endfor -
GoalTargetCurrentCompleteness
${line['name']}${line['target']} - % if line['suffix']: - ${line['suffix']} - % endif - ${line['current']} - % if line['suffix']: - ${line['suffix']} - % endif - ${line['completeness']} %
-% else: - % for line in ctx["challenge_lines"]: - - - - - - - - - - - % for goal in line['goals']: - = 100: - style="font-weight:bold;" - % endif - > - - - - - - % endfor -
${line['name']}
#PersonCompletenessCurrent
${goal['rank']}${goal['name']}${goal['completeness']}%${goal['current']}/${line['target']} - % if line['suffix']: - ${line['suffix']} - % endif -
- -

- - % endfor -% endif - ]]>
-
- -