summaryrefslogtreecommitdiff
path: root/addons/rating_project/data/project_data.xml
diff options
context:
space:
mode:
authorFabien Pinckaers <fp@openerp.com>2016-07-02 06:23:25 +0200
committerFabien Pinckaers <fp@openerp.com>2016-07-02 18:33:55 +0200
commitfb289e0b5d7efdf3c74fa9080da7b6f29dc3ff8e (patch)
tree4dbfac2f9faa7817e398c30f24c4f768e80d4c90 /addons/rating_project/data/project_data.xml
parent580129522f4c0e53dbdaee38c51537413dfa3020 (diff)
[SEC] rating: escape feedback, text2html to avoid js injection
[IMP] rating: website rating page: reviewed design, rate on click, update on submit [IMP] rating_project: rating_status: 'no' instead of False [IMP] rating_project/issue: smileys insteaf of thumbs for consistency in kanban [IMP] rating: allow to update an existing rating (feedback + rate) [IMP] rating: consistency on rating names (statisfied, not satisfied, higly dissatisfed) [IMP] rating: avoid deadend after rating, button to go to Odoo [IMP] rating: res_config better sentence
Diffstat (limited to 'addons/rating_project/data/project_data.xml')
-rw-r--r--addons/rating_project/data/project_data.xml11
1 files changed, 6 insertions, 5 deletions
diff --git a/addons/rating_project/data/project_data.xml b/addons/rating_project/data/project_data.xml
index 1332a726e39..864fbd334c3 100644
--- a/addons/rating_project/data/project_data.xml
+++ b/addons/rating_project/data/project_data.xml
@@ -57,8 +57,9 @@
<tr>
<td style="text-align:center;">
<h2 style="font-weight:300;font-size:18px;">
- Tell us how you feel about our service
+ Tell us how you feel about our service:
</h2>
+ <div style="text-color: #888888">(click on one of these smileys)</div>
</td>
</tr>
<tr>
@@ -67,17 +68,17 @@
<tr>
<td>
<a href="/rating/${access_token}/10">
- <img alt="Great" src="/rating/static/src/img/rating_10.png" title="It was great"/>
+ <img alt="Satisfied" src="/rating/static/src/img/rating_10.png" title="Satisfied"/>
</a>
</td>
<td>
<a href="/rating/${access_token}/5">
- <img alt="Okay" src="/rating/static/src/img/rating_5.png" title="It was okay"/>
+ <img alt="Not satisfied" src="/rating/static/src/img/rating_5.png" title="Not satisfied"/>
</a>
</td>
<td>
<a href="/rating/${access_token}/1">
- <img alt="Bad" src="/rating/static/src/img/rating_1.png" title="It wasn't good"/>
+ <img alt="Highly Dissatisfied" src="/rating/static/src/img/rating_1.png" title="Highly Dissatisfied"/>
</a>
</td>
</tr>
@@ -96,7 +97,7 @@
<p>This customer survey has been sent because your task has been moved to the stage <b>${object.stage_id.name}</b></p>
% endif
% if object.project_id.rating_status == 'periodic':
- <p>This customer survey has been sent <b>${object.project_id.rating_status_period}</b> as long as the task is in the <b>${object.stage_id.name}</b> stage.
+ <p>This customer survey is send <b>${object.project_id.rating_status_period}</b> as long as the task is in the <b>${object.stage_id.name}</b> stage.
% endif
<p>Email automatically sent by <a href="https://www.odoo.com/page/project-management" style="color:#a24689;text-decoration:none;">Odoo Project</a> for <a href="${object.project_id.company_id.website}" style="color:#a24689;text-decoration:none;">${object.project_id.company_id.name}</a></p>
</td></tr>