mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2026-07-14 01:53:04 +02:00
Use new modal for installing themes too
This commit is contained in:
@@ -107,7 +107,7 @@
|
||||
{% endif %}
|
||||
{% else %}
|
||||
<div class="button-bar success">
|
||||
<a class="button" href="{{ uri.addNonce(base_url_relative ~ '/themes/' ~ theme.slug ~ '/task' ~ config.system.param_sep ~ 'install', 'admin-form', 'admin-nonce') }}"><i class="fa fa-fw fa-plus"></i>{{ "PLUGIN_ADMIN.INSTALL_THEME"|tu }}</a>
|
||||
<a class="button" href="#" data-remodal-target="add-package" data-package-slug="{{ theme.slug }}" data-theme-action="get-package-dependencies"><i class="fa fa-plus"></i> {{ "PLUGIN_ADMIN.INSTALL_THEME"|tu }}</a>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user