matomo / plugins /CoreHome /templates /getSystemSummary.twig
Leon4gr45's picture
Upload source files chunk 27
7929f62 verified
Raw
History Blame Contribute Delete
924 Bytes
<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>