You are here

cms_content_sync_introduction.html.twig in CMS Content Sync 8

Template file for the introduction page.

File

templates/cms_content_sync_introduction.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Template file for the introduction page.
  5. */
  6. #}
  7. <h2>Site support</h2>
  8. The following entity types you're using can be synchronized by Content Sync:
  9. <table>
  10. <thead>
  11. <tr>
  12. <th>
  13. Name
  14. </th>
  15. <th>
  16. Supported
  17. </th>
  18. </tr>
  19. </thead>
  20. <tbody>
  21. {% for type in supported_entity_types %}
  22. {% if type.is_supported %}
  23. <tr>
  24. <td>{{ type.entity_type }}.{{ type.bundle }}</td>
  25. {% if type.optional_field_not_supported %}
  26. <td class="warning">
  27. Partially
  28. {% if type.hint %}
  29. ({{ type.hint }})
  30. {% endif %}
  31. <br>
  32. The following optional fields are not supported:<br>
  33. <ul>
  34. {% for field in type.unsupported_optional_fields %}
  35. <li>{{ field }}</li>
  36. {% endfor %}
  37. </ul>
  38. </td>
  39. {% else %}
  40. <td class="info">
  41. Yes
  42. {% if type.hint %}
  43. ({{ type.hint }})
  44. {% endif %}
  45. </td>
  46. {% endif %}
  47. </tr>
  48. {% endif %}
  49. {% endfor %}
  50. </tbody>
  51. </table>
  52. <br><br>
  53. The following entity types you're using can <strong>NOT</strong> be synchronized by Content Sync:
  54. <table>
  55. <thead>
  56. <tr>
  57. <th>
  58. Name
  59. </th>
  60. <th>
  61. Reason
  62. </th>
  63. </tr>
  64. </thead>
  65. <tbody>
  66. {% for type in supported_entity_types %}
  67. {% if not type.is_supported %}
  68. <tr>
  69. <td>{{ type.entity_type }}.{{ type.bundle }}</td>
  70. {% if type.security_concerns %}
  71. <td class="error">Security concerns</td>
  72. {% elseif type.is_config_entity %}
  73. <td class="error">Config entities are not supported yet</td>
  74. {% elseif type.no_entity_type_handler %}
  75. <td class="error">Not yet implemented</td>
  76. {% elseif type.required_field_not_supported %}
  77. <td class="error">
  78. The following required fields are not yet supported:<br>
  79. <ul>
  80. {% for field in type.unsupported_required_fields %}
  81. <li>{{ field }}</li>
  82. {% endfor %}
  83. </ul>
  84. {% if type.optional_field_not_supported %}
  85. Also, the following optional fields are not yet supported:<br>
  86. <ul>
  87. {% for field in type.unsupported_optional_fields %}
  88. <li>{{ field }}</li>
  89. {% endfor %}
  90. </ul>
  91. {% endif %}
  92. </td>
  93. {% endif %}
  94. </tr>
  95. {% endif %}
  96. {% endfor %}
  97. </tbody>
  98. </table>
  99. <br><br>
  100. <p>For further information about Content Sync, please checkout our <a target="_blank" href="https://edge-box.atlassian.net/wiki/spaces/SUP/pages/143982665/Technical+Requirements">Technical Requirements</a> and <a target="_blank" href="https://edge-box.atlassian.net/wiki/spaces/SUP/">step-by-step tutorials</a>.</p>