questlab/www/analytics/plugins/Installation/templates/systemCheckPage.twig
2016-04-10 18:55:57 +02:00

27 lines
951 B
Twig
Executable file

{% extends 'admin.twig' %}
{% set title %}{{ 'Installation_SystemCheck'|translate }}{% endset %}
{% block content %}
<h2 piwik-enriched-headline>{{ title }}</h2>
{% if diagnosticReport.hasErrors() %}
<div class="alert alert-danger">
{{ 'Installation_SystemCheckSummaryThereWereErrors'|translate('<strong>','</strong>','<strong><em>','</em></strong>')|raw }}
{{ 'Installation_SeeBelowForMoreInfo'|translate }}
</div>
{% elseif diagnosticReport.hasWarnings() %}
<div class="alert alert-warning">
{{ 'Installation_SystemCheckSummaryThereWereWarnings'|translate }}
{{ 'Installation_SeeBelowForMoreInfo'|translate }}
</div>
{% else %}
<div class="alert alert-success">
{{ 'Installation_SystemCheckSummaryNoProblems'|translate }}
</div>
{% endif %}
{% include "@Installation/_systemCheckSection.twig" %}
{% endblock %}