|
2 | 2 | <odoo> |
3 | 3 | <template id="survey_google_review_link" inherit_id="survey.survey_fill_form_done"> |
4 | 4 | <xpath expr="//div[@class='o_survey_finished mt32 mb32']/h1" position="after"> |
5 | | - <t t-set="has_five_star_rating" t-value="False"/> |
| 5 | + <t t-set="has_five_star_rating" t-value="False" /> |
6 | 6 | <t t-foreach="answer.user_input_line_ids" t-as="line"> |
7 | | - <t t-if="line.question_id.question_type == 'star_rating' and line.value_star_rating == 5"> |
8 | | - <t t-set="has_five_star_rating" t-value="True"/> |
| 7 | + <t |
| 8 | + t-if="line.question_id.question_type == 'star_rating' and line.value_star_rating == 5" |
| 9 | + > |
| 10 | + <t t-set="has_five_star_rating" t-value="True" /> |
9 | 11 | </t> |
10 | 12 | </t> |
11 | | - <div t-if="has_five_star_rating" class="o_survey_google_review mt-5 mb-5 p-4 text-center" style="background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.2);"> |
| 13 | + <div |
| 14 | + t-if="has_five_star_rating" |
| 15 | + class="o_survey_google_review mt-5 mb-5 p-4 text-center" |
| 16 | + style="background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.2);" |
| 17 | + > |
12 | 18 | <div class="mb-3"> |
13 | | - <i class="fa fa-star text-warning" style="font-size: 2em; margin: 0 5px;"/> |
14 | | - <i class="fa fa-star text-warning" style="font-size: 2em; margin: 0 5px;"/> |
15 | | - <i class="fa fa-star text-warning" style="font-size: 2em; margin: 0 5px;"/> |
16 | | - <i class="fa fa-star text-warning" style="font-size: 2em; margin: 0 5px;"/> |
17 | | - <i class="fa fa-star text-warning" style="font-size: 2em; margin: 0 5px;"/> |
| 19 | + <i |
| 20 | + class="fa fa-star text-warning" |
| 21 | + style="font-size: 2em; margin: 0 5px;" |
| 22 | + /> |
| 23 | + <i |
| 24 | + class="fa fa-star text-warning" |
| 25 | + style="font-size: 2em; margin: 0 5px;" |
| 26 | + /> |
| 27 | + <i |
| 28 | + class="fa fa-star text-warning" |
| 29 | + style="font-size: 2em; margin: 0 5px;" |
| 30 | + /> |
| 31 | + <i |
| 32 | + class="fa fa-star text-warning" |
| 33 | + style="font-size: 2em; margin: 0 5px;" |
| 34 | + /> |
| 35 | + <i |
| 36 | + class="fa fa-star text-warning" |
| 37 | + style="font-size: 2em; margin: 0 5px;" |
| 38 | + /> |
18 | 39 | </div> |
19 | | - <h3 class="text-white mb-3" style="font-weight: 600;">Share your experience and help others discover us</h3> |
20 | | - <a href="https://g.page/r/Cbenqo4Sl0LDEBM/review?utm_source=survey&utm_medium=5star&utm_campaign=satisfaction_survey" target="_blank" class="btn btn-light btn-lg px-5 py-3" style="font-size: 1.2em; font-weight: 600; border-radius: 50px; box-shadow: 0 5px 15px rgba(0,0,0,0.3); transition: all 0.3s ease;"> |
21 | | - <i class="fa fa-google me-2" style="color: #4285f4;"/> |
| 40 | + <h3 |
| 41 | + class="text-white mb-3" |
| 42 | + style="font-weight: 600;" |
| 43 | + >Share your experience and help others discover us</h3> |
| 44 | + <a |
| 45 | + href="https://g.page/r/Cbenqo4Sl0LDEBM/review?utm_source=survey&utm_medium=5star&utm_campaign=satisfaction_survey" |
| 46 | + target="_blank" |
| 47 | + class="btn btn-light btn-lg px-5 py-3" |
| 48 | + style="font-size: 1.2em; font-weight: 600; border-radius: 50px; box-shadow: 0 5px 15px rgba(0,0,0,0.3); transition: all 0.3s ease;" |
| 49 | + > |
| 50 | + <i class="fa fa-google me-2" style="color: #4285f4;" /> |
22 | 51 | Leave a Google Review |
23 | 52 | </a> |
24 | 53 | </div> |
|
0 commit comments