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

user.twig « templates « Morpheus « plugins - github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 416f12e11678d5b58dc4b7f3d3e830f3598c1921 (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
44
45
46
47
{% extends 'layout.twig' %}

{% set categoryTitle %}{{ 'CoreAdminHome_Administration'|translate }}{% endset %}

{% set bodyClass = postEvent('Template.bodyClass', 'admin') %}

{% block body %}
    {% if userIsAnonymous %}
        {% set topMenuModule = 'Feedback' %}
        {% set topMenuAction = 'index' %}
    {% else %}
        {% if currentModule != 'Feedback' %}
            {% set topMenuModule = 'UsersManager' %}
            {% set topMenuAction = 'userSettings' %}
        {% endif %}
    {% endif %}
    {{ parent() }}
{% endblock %}

{% block root %}
    {% include "@CoreHome/_topScreen.twig" %}

    {% import 'ajaxMacros.twig' as ajax %}
    {{ ajax.requestErrorDiv(emailSuperUser|default('')) }}
    {{ postEvent("Template.beforeContent", "user", currentModule) }}

    <div id="container">

        {% if showMenu is not defined or showMenu %}
            {% include "@CoreHome/_userMenu.twig" %}
        {% endif %}

        <div id="content" class="admin user">

            {% include "@CoreHome/_notifications.twig" %}

            <div class="ui-confirm" id="alert">
                <h2></h2>
                <input role="no" type="button" value="{{ 'General_Ok'|translate }}"/>
            </div>

            {% block content %}
            {% endblock %}

        </div>
    </div>
{% endblock %}