قرینه از
https://github.com/matomo-org/matomo.git
synced 2025-08-21 22:47:43 +00:00

* Migrate plugin list to vue * Simplify cta container conditions * Move start trial feature into component * Remove unused view variables * Migrate loading of plugin list to vue.js * Flag marketplace link as "external raw" * Clean up link building * Migrate plugin search to controller for nonce usage * Update expected screenshots * Apply suggestions from code review Co-authored-by: Michal Kleiner <michal@innocraft.com> * Apply review feedback * Build vue components --------- Co-authored-by: Marc Neudert <marc@innocraft.com> Co-authored-by: Michal Kleiner <michal@innocraft.com>
51 خطوط
1.8 KiB
Twig
51 خطوط
1.8 KiB
Twig
{% extends '@CoreUpdater/layout.twig' %}
|
|
|
|
{% 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 type="hidden" name="nonce" value="{{ nonce|e('html_attr') }}"/>
|
|
<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>{{ plugin.pluginName }}</li>
|
|
{% endfor %}
|
|
</ul>
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
<div class="footer">
|
|
<a href="index.php">« {{ 'General_BackToPiwik'|translate }}</a>
|
|
</div>
|
|
|
|
{% endblock %}
|
|
|