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

glossary.twig « templates « API « plugins - github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: fc593742c9e8a91d3ea191b0ffe5c2b4e722a798 (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
40
41
42
43
{% extends isWidget ? 'empty.twig' : 'admin.twig' %}

{% set title %}{{ 'API_Glossary'|translate }}{% endset %}

{% block content %}
    <h2 piwik-enriched-headline>{{ title }}</h2>

    {{ 'API_LearnAboutCommonlyUsedTerms'|translate(
                '<a href="#metrics">'~ 'General_Metrics'|translate ~ '</a>',
                '<a href="#reports">' ~ 'General_Reports'|translate ~ '</a>')|raw
    }}

    <!-- {{ metrics|length }} metrics, {{ reports|length }} reports -->

    <a id="metrics"></a>
    <h2>{{ 'General_Metrics'|translate }}</h2>
    <table>
    {% for metric in metrics %}
        <tr>
            <td>
                <h3>{{ metric.name }}</h3>
            </td>
            <td>
                {{ metric.documentation|raw }}

                <br/><span style="color: #bbb;">{{ metric.id }} (API)</span>
            </td>
        </tr>
    {% endfor %}
    </table>

    <a id="reports"></a>
    <h2>{{ 'General_Reports'|translate }}</h2>


    {% for report in reports %}
        <h3>{{ report.name }}</h3>
        <p>{{ report.documentation|raw }}</p>
    {% endfor %}



{% endblock %}