Welcome to mirror list, hosted at ThFree Co, Russian Federation.

getSystemCheckWidget.twig « templates « Installation « plugins - github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 7f10dc06e1bda1114b8c8583dbfff00d457de7c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<div class="widgetBody system-check">
    {% if not numErrors and not numWarnings %}
        <p class="system-success"><span class="icon-ok"></span> {{ 'Installation_SystemCheckNoErrorsOrWarnings'|translate }}</p>
    {% endif %}

    {% if numErrors %}
        <p class="system-errors"><span class="icon-error"></span> {{ 'General_Errors'|translate }}:</p>
        <ul>
            {% for error in errors %}
                <li title="{{ error.getLongErrorMessage|e('html_attr') }}">{{ error.getLabel }}</li>
            {% endfor %}
        </ul>
    {% endif %}

    {% if numWarnings %}

        <p class="system-warnings">

            {% if numErrors %}
                <br />
            {% endif %}

            <span class="icon-warning"></span> {{ 'General_Warnings'|translate }}:
        </p>
        <ul>
            {% for warning in warnings %}
                <li title="{{ warning.getLongErrorMessage|e('html_attr') }}">{{ warning.getLabel }}</li>
            {% endfor %}
        </ul>
    {% endif %}

    {% if numErrors or numWarnings %}
        <p>
            <br />
            <a href="{{ linkTo({'module': 'Installation', 'action': 'systemCheckPage'}) }}"
            >{{ 'Installation_SystemCheckViewFullSystemCheck'|translate }}</a>
        </p>
    {% endif %}
</div>