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

newVersionAvailable.twig « templates « CoreUpdater « plugins - github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 348b78923b59dd125ba6060f91e600737f7b5bb9 (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
48
49
50
{% extends '@CoreUpdater/layout.twig' %}
{% import '@CorePluginsAdmin/macros.twig' as pluginsMacro %}

{% block content %}

    <div class="header">
        <h1>{{ 'CoreUpdater_ThereIsNewVersionAvailableForUpdate'|translate }}</h1>
    </div>

    <div class="content">

        {% if can_auto_update %}
            <p>{{ 'CoreUpdater_YouCanUpgradeAutomaticallyOrDownloadPackage'|translate(piwik_new_version) }}</p>
        {% else %}
            <p>{{ 'Installation_SystemCheckAutoUpdateHelp'|translate }}</p>
            <p>{{ 'CoreUpdater_YouMustDownloadPackageOrFixPermissions'|translate(piwik_new_version) }}
                {{ makeWritableCommands|raw }}
            </p>
        {% endif %}

        {% if can_auto_update %}
            <form id="oneclickupdate" action="index.php">
                <input type="hidden" name="module" value="CoreUpdater"/>
                <input type="hidden" name="action" value="oneClickUpdate"/>
                <input id="updateAutomatically" type="submit" class="btn" value="{{ 'CoreUpdater_UpdateAutomatically'|translate }}"/>
                {% endif %}
                <a class="btn"
                   href="{{ piwik_latest_version_url }}?cb={{ piwik_new_version }}">{{ 'CoreUpdater_DownloadX'|translate(piwik_new_version) }}</a><br/>
                {% if can_auto_update %}
            </form>
        {% endif %}

        {% if incompatiblePlugins %}
            <p>{{ 'CoreUpdater_IncompatbilePluginsWillBeDisabledInfo'|translate(piwik_new_version) }}</p>

            <ul>
                {% for plugin in incompatiblePlugins %}
                    <li>{{ pluginsMacro.missingRequirementsInfo(plugin.getPluginName, plugin.getInformation, plugin.getMissingDependencies(piwik_new_version), marketplacePlugins) }}</li>
                {% endfor %}
            </ul>
        {% endif %}

    </div>

    <div class="footer">
        <a href="index.php">&laquo; {{ 'General_BackToPiwik'|translate }}</a>
    </div>

{% endblock %}