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

getSystemSummary.twig « templates « CoreHome « plugins - github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: aeaa07caed875501a4b6c64c5cdecf565f3dcc42 (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
<div class="widgetBody systemSummary">
    {% for item in items %}
        {% if item is not empty %}
            <div class="systemSummaryItem {% if item.getKey %}{{ item.getKey }}{% endif %}">
                {% if item.getIcon %}<span class="icon {{ item.getIcon }}"></span>{% endif %}

                {% if item.getUrlParams -%}
                    <a href="{{ linkTo(item.getUrlParams) }}" class="itemLabel">
                {% else -%}
                    <span class="itemLabel">
                {% endif -%}

                {{ item.getLabel }}{% if item.getValue %}:{% endif %}

                {%- if item.getUrlParams %}
                    </a>
                {%- else %}
                    </span>
                {%- endif %}

                {% if item.getValue %}<span class="itemValue">{{ item.getValue }}</span>{% endif %}
            </div>
        {% endif %}
    {% endfor %}
    <br />
</div>