cms_content_sync_sync_health_pull.html.twig in CMS Content Sync 2.0.x
Same filename and directory in other branches
Template file for the show usage modal.
1 theme call to cms_content_sync_sync_health_pull.html.twig
- SyncHealth::pulling in modules/
cms_content_sync_health/ src/ Controller/ SyncHealth.php - Render the overview page.
File
modules/cms_content_sync_health/templates/cms_content_sync_sync_health_pull.html.twigView source
- {#
- /**
- * @file
- * Template file for the show usage modal.
- */
- #}
-
- <h2>
- {{ 'Failed pulls'|trans }}
- </h2>
-
- <h3>{{ 'Hard failures'|trans }}</h3>
- {% if pull_failures_hard.total %}
- <div class="messages messages--error">
- There were errors pulling {{ pull_failures_hard.total }} entities:
- <ul>
- {% if pull_failures_hard.different_version %}
- <li>{{ pull_failures_hard.different_version }} times the version was different, i.e. the entity type definition from the source is different to our local definition.</li>
- {% endif %}
- {% if pull_failures_hard.sync_error %}
- <li>{{ pull_failures_hard.sync_error }} times the Content Sync module threw an unexpected error.</li>
- {% endif %}
- {% if pull_failures_hard.internal_error %}
- <li>{{ pull_failures_hard.internal_error }} times the Drupal API or other contrib modules threw an unexpected error.</li>
- {% endif %}
- </ul>
- </div>
- {% else %}
- <div class="messages messages--status">
- No hard failures.
- </div>
- {% endif %}
-
- <h3>{{ 'Soft failures'|trans }}</h3>
- {% if pull_failures_soft.total %}
- <div class="messages messages--warning">
- Pulling {{ pull_failures_soft.total }} entities has been ignored as configured:
- <ul>
- {% if pull_failures_soft.handler_denied %}
- <li>{{ pull_failures_soft.handler_denied }} times the handler was configured to explicitly ignore this entity (e.g. it's not published).</li>
- {% endif %}
- {% if pull_failures_soft.no_flow %}
- <li>{{ pull_failures_soft.no_flow }} times there was no Flow configured to accept the entity.</li>
- {% endif %}
- {% if pull_failures_soft.unknown_pool %}
- <li>{{ pull_failures_soft.unknown_pool }} times the remote Pool didn't exist locally anymore.</li>
- {% endif %}
- </ul>
- You can ignore this information unless you're trying to figure out why a specific entity has not been pulled.
- </div>
- {% else %}
- <div class="messages messages--status">
- No soft failures.
- </div>
- {% endif %}
-