cms_content_sync-3.0.x-dev/modules/cms_content_sync_health/templates/cms_content_sync_sync_health_overview.html.twig
modules/cms_content_sync_health/templates/cms_content_sync_sync_health_overview.html.twig
{#
/**
* @file
* Template file for the show usage modal.
*/
#}
<h2>
{{ 'Sync Core'|trans }}
</h2>
{% for host, core in sync_cores %}
<h3>{{ host }}</h3>
{% if core %}
<div class="messages messages--status">Sync Core version: {{ core.version }}</div>
{% else %}
<div class="messages messages--error">Offline</div>
{% endif %}
{% endfor %}
<br>
<h2>
{{ 'Config issues'|trans }}
</h2>
<h3>{{ 'Local version differences'|trans }}</h3>
{% if version_differences.local %}
<div class="messages messages--error">
The Flows of this site need to be updated:
<ul>
{% for msg in version_differences.local %}
<li>{{ msg }}</li>
{% endfor %}
</ul>
</div>
{% else %}
<div class="messages messages--status">
All Flows from your local site are up to date.
</div>
{% endif %}
<h3>{{ 'Remote version differences'|trans }}</h3>
<a href="{{ path('entity.cms_content_sync.sync_health.version_mismatches') }}" class="button">{{ 'Check'|t }}</a>
<br>
<h2>
{{ 'Sync issues'|trans }}
</h2>
{% if push_failures_hard.total or pull_failures_hard.total or error_log %}
<div class="messages messages--warning">
{% if push_failures_hard.total %}
<div>There were errors pushing {{ push_failures_hard.total }} entities.</div>
{% endif %}
{% if pull_failures_hard.total %}
<div>There were errors pulling {{ pull_failures_hard.total }} entities.</div>
{% endif %}
{% if error_log %}
Last 10 Content Sync error messages:
<ul>
{% for msg in error_log %}
<li>{{ msg|raw }}</li>
{% endfor %}
</ul>
{% endif %}
</div>
{% endif %}
{% if warning_log or site_log_disabled %}
<div class="messages messages--warning">
{% if site_log_disabled %}
<div>The site log is disabled, so there's no report on log messages available.</div>
{% endif %}
{% if warning_log %}
Last 10 Content Sync warning messages:
<ul>
{% for msg in warning_log %}
<li>{{ msg|raw }}</li>
{% endfor %}
</ul>
{% endif %}
</div>
{% endif %}
{% if not push_failures_hard.total and not pull_failures_hard.total and not error_log and not warning_log and not site_log_disabled %}
<div class="messages messages--status">
There were no errors pushing or pulling entities on this site.
</div>
{% endif %}
