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

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Winkler <github@lw1.at>2018-07-25 01:26:06 +0300
committerThomas Steur <tsteur@users.noreply.github.com>2018-07-25 01:26:06 +0300
commitb7e77d84d83643346f54b9e99191d6ea850f70bd (patch)
tree239db8c280493adc37d70b8c58baba69ce43be9f /plugins/Marketplace
parent521cbbe4c5e28caa18fdf233880cb39060de8722 (diff)
use JS handler for installing all paid plugins (#12783)
Diffstat (limited to 'plugins/Marketplace')
-rw-r--r--plugins/Marketplace/templates/paid-plugins-install-list.twig12
1 files changed, 4 insertions, 8 deletions
diff --git a/plugins/Marketplace/templates/paid-plugins-install-list.twig b/plugins/Marketplace/templates/paid-plugins-install-list.twig
index 9a322245d7..6c2feb4754 100644
--- a/plugins/Marketplace/templates/paid-plugins-install-list.twig
+++ b/plugins/Marketplace/templates/paid-plugins-install-list.twig
@@ -11,12 +11,8 @@
</ul>
<p>
- <a href="{{ linkTo({'action': 'installAllPaidPlugins', 'nonce': installNonce}) }}" class="btn">
- {{ 'Marketplace_InstallAllPurchasedPluginsAction'|translate(paidPluginsToInstallAtOnce|length) }}
- </a>
-
- <a href="{{ linkTo({'rand': random(999999)}) }}" class="btn-flat">
- Cancel
- </a>
+ <input role="install" type="button" data-href="{{ linkTo({'action': 'installAllPaidPlugins', 'nonce': installNonce}) }}"
+ value="{{ 'Marketplace_InstallAllPurchasedPluginsAction'|translate(paidPluginsToInstallAtOnce|length) }}">
+ <input role="cancel" type="button" value="{{ 'General_Cancel'|translate }}"/>
</p>
-</div> \ No newline at end of file
+</div>