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

_menu.twig « templates « CoreAdminHome « plugins - github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 5ec9b95cbd621b66496374b9de2c9f45cdc258b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{% if adminMenu|length > 1 %}
    <div class="Menu Menu--admin">
        <ul class="Menu-tabList">
        {% for name,submenu in adminMenu %}
            {% if submenu._hasSubmenu %}
            <li>
                <span>{{ name|translate }}</span>
                <ul>
                {% for sname,url in submenu %}
                    {% if sname|slice(0,1) != '_' %}
                    <li>
                        <a href='index.php{{ url._url|urlRewriteWithParameters }}'
                           {% if currentAdminMenuName is defined and sname==currentAdminMenuName %}class='active'{% endif %}>{{ sname|translate }}</a>
                    </li>
                    {% endif %}
                {% endfor %}
                </ul>
            </li>
            {% endif %}
        {% endfor %}
        </ul>
    </div>
{% endif %}