personal_data.tpl 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. {% extends 'layout/layout_1_col.tpl'|get_template %}
  2. {% import 'default/macro/macro.tpl' as display %}
  3. {% block content %}
  4. <div class="row">
  5. {% set columns = '12' %}
  6. {% if social_menu_block %}
  7. <div class="col-md-3">
  8. <div class="social-network-menu">
  9. {{ social_avatar_block }}
  10. {{ social_menu_block }}
  11. </div>
  12. </div>
  13. {% set columns = '9' %}
  14. {% endif %}
  15. <div class="col-md-{{ columns }}">
  16. {{ display.panel('PersonalDataIntroductionTitle' | get_lang , 'PersonalDataIntroductionText' | get_lang) }}
  17. {{ display.collapse('', 'PersonalDataKeptOnYou' | get_lang, personal_data.data, false, 'false') }}
  18. {% if personal_data.responsible %}
  19. {{ display.panel('PersonalDataResponsibleOrganizationTitle' | get_lang , personal_data.responsible ) }}
  20. {% endif %}
  21. {% if personal_data.treatment %}
  22. <div class="panel personal-data-treatment">
  23. <div class="panel-title">{{ 'PersonalDataTreatmentTitle' | get_lang }}</div>
  24. <div class="personal-data-treatment-description">
  25. {% for treatment in personal_data.treatment %}
  26. {% if treatment.content %}
  27. <div class="sub-section">
  28. <div class="panel-sub-title">{{ treatment.title }}</div>
  29. <div class="panel-body">{{ treatment.content }}</div>
  30. </div>
  31. {% endif %}
  32. {% endfor %}
  33. </div>
  34. </div>
  35. {% endif %}
  36. {% if personal_data.officer_name %}
  37. {% set officer_data %}
  38. <div class="panel personal-data-responsible">
  39. <div class="panel-title">{{ 'PersonalDataOfficerName' | get_lang }}</div>
  40. <div class="personal-data-responsible-description">
  41. <a href="mailto:{{ personal_data.officer_email }}">{{ personal_data.officer_name }}</a>
  42. </div>
  43. <div class="panel-title">{{ 'PersonalDataOfficerRole' | get_lang }}</div>
  44. <div class="personal-data-responsible-description">
  45. {{ personal_data.officer_role }}
  46. </div>
  47. </div>
  48. {% endset %}
  49. {{ display.panel('PersonalDataOfficer' | get_lang , officer_data ) }}
  50. {% endif %}
  51. {% if term_link %}
  52. {{ display.panel('TermsAndConditions'|get_lang, term_link ) }}
  53. {% endif %}
  54. {{ display.panel('PersonalDataPermissionsYouGaveUs' | get_lang, permission) }}
  55. </div>
  56. </div>
  57. {% endblock %}