You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

64 lines
2.7 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!-- Copyright 2018 Tecnativa - Jairo Llopis
  3. License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
  4. <data>
  5. <template id="form" name="Consent response processed">
  6. <!-- Use web.login_layout because it gets automatically wrapped
  7. by website layout if website is installed, and otherwise includes
  8. all possibly needed assets -->
  9. <t t-call="web.login_layout">
  10. <t t-set="login_card_classes" t-value="'o_consent_form'" />
  11. <div class="container readable">
  12. <div class="jumbotron">
  13. <h1>Thank you!</h1>
  14. <p>
  15. Hello, <b t-esc="consent.partner_id.display_name"/>
  16. </p>
  17. <p>
  18. We asked you to authorize us to process your data in this data processing activity:
  19. <b t-esc="consent.activity_id.display_name"/>
  20. </p>
  21. <t t-raw="consent.activity_id.description or ''"/>
  22. <p t-if="consent.accepted">
  23. You have <b class="text-success">accepted</b> such processing.
  24. </p>
  25. <p t-else="">
  26. You have <b class="text-danger">rejected</b> such processing.
  27. </p>
  28. <p>
  29. We have recorded this action on your side.
  30. </p>
  31. <p>
  32. If it was a mistake, you can undo it here:
  33. <div class="text-center">
  34. <a
  35. t-if="consent.accepted"
  36. t-att-href="consent._url(False)"
  37. class="btn btn-danger btn-lg"
  38. >
  39. I <b>reject</b> this processing of my data
  40. </a>
  41. <a
  42. t-else=""
  43. t-att-href="consent._url(True)"
  44. class="btn btn-success btn-lg"
  45. >
  46. I <b>accept</b> this processing of my data
  47. </a>
  48. </div>
  49. </p>
  50. <p>
  51. Thanks for your response.
  52. </p>
  53. <p class="text-muted">
  54. Sincerely,<br/>
  55. <i t-raw="consent.activity_id.controller_id.with_context(show_address=True, html_format=True).name_get()[0][1]"/>
  56. </p>
  57. </div>
  58. </div>
  59. </t>
  60. </template>
  61. </data>