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.

63 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. <div class="container readable">
  11. <div class="jumbotron">
  12. <h1>Thank you!</h1>
  13. <p>
  14. Hello, <b t-esc="consent.partner_id.display_name"/>
  15. </p>
  16. <p>
  17. We asked you to authorize us to process your data in this data processing activity:
  18. <b t-esc="consent.activity_id.display_name"/>
  19. </p>
  20. <t t-raw="consent.activity_id.description or ''"/>
  21. <p t-if="consent.accepted">
  22. You have <b class="text-success">accepted</b> such processing.
  23. </p>
  24. <p t-else="">
  25. You have <b class="text-danger">rejected</b> such processing.
  26. </p>
  27. <p>
  28. We have recorded this action on your side.
  29. </p>
  30. <p>
  31. If it was a mistake, you can undo it here:
  32. <div class="text-center">
  33. <a
  34. t-if="consent.accepted"
  35. t-att-href="consent._url(False)"
  36. class="btn btn-danger btn-lg"
  37. >
  38. I <b>reject</b> this processing of my data
  39. </a>
  40. <a
  41. t-else=""
  42. t-att-href="consent._url(True)"
  43. class="btn btn-success btn-lg"
  44. >
  45. I <b>accept</b> this processing of my data
  46. </a>
  47. </div>
  48. </p>
  49. <p>
  50. Thanks for your response.
  51. </p>
  52. <p class="text-muted">
  53. Sincerely,<br/>
  54. <i t-raw="consent.activity_id.controller_id.with_context(show_address=True, html_format=True).name_get()[0][1]"/>
  55. </p>
  56. </div>
  57. </div>
  58. </t>
  59. </template>
  60. </data>