mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2026-05-07 19:17:07 +02:00
Added clear-tmp to clear dropdown
This commit is contained in:
@@ -77,6 +77,7 @@ PLUGIN_ADMIN:
|
||||
CLEAR_CACHE_ASSETS_ONLY: "Assets Only"
|
||||
CLEAR_CACHE_IMAGES_ONLY: "Images Only"
|
||||
CLEAR_CACHE_CACHE_ONLY: "Cache Only"
|
||||
CLEAR_CACHE_TMP_ONLY: "Tmp Only"
|
||||
DASHBOARD: "Dashboard"
|
||||
UPDATES_AVAILABLE: "Updates Available"
|
||||
DAYS: "Days"
|
||||
@@ -588,4 +589,4 @@ PLUGIN_ADMIN:
|
||||
SESSION_PATH: "The session path"
|
||||
SESSION_PATH_HELP: "Use only if you choose a custom base URL (you rewrite the site domain / subfolder)"
|
||||
CUSTOM_BASE_URL: "Custom base URL"
|
||||
CUSTOM_BASE_URL_HELP: "Use if you want to rewrite the site domain or use a different subfolder than the one used by Grav. Example: http://localhost"
|
||||
CUSTOM_BASE_URL_HELP: "Use if you want to rewrite the site domain or use a different subfolder than the one used by Grav. Example: http://localhost"
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
<li><a data-clear-cache-type="assets-only" data-clear-cache="{{ uri.addNonce(clear_cache_url ~'/cleartype' ~ config.system.param_sep ~ 'assets-only', 'admin-form', 'admin-nonce') }}" href="#">{{ "PLUGIN_ADMIN.CLEAR_CACHE_ASSETS_ONLY"|tu }}</a></li>
|
||||
<li><a data-clear-cache-type="images-only" data-clear-cache="{{ uri.addNonce(clear_cache_url ~'/cleartype' ~ config.system.param_sep ~ 'images-only', 'admin-form', 'admin-nonce') }}" href="#">{{ "PLUGIN_ADMIN.CLEAR_CACHE_IMAGES_ONLY"|tu }}</a></li>
|
||||
<li><a data-clear-cache-type="cache-only" data-clear-cache="{{ uri.addNonce(clear_cache_url ~'/cleartype' ~ config.system.param_sep ~ 'cache-only', 'admin-form', 'admin-nonce') }}" href="#">{{ "PLUGIN_ADMIN.CLEAR_CACHE_CACHE_ONLY"|tu }}</a></li>
|
||||
<li><a data-clear-cache-type="tmp-only" data-clear-cache="{{ uri.addNonce(clear_cache_url ~'/cleartype' ~ config.system.param_sep ~ 'tmp-only', 'admin-form', 'admin-nonce') }}" href="#">{{ "PLUGIN_ADMIN.CLEAR_CACHE_TMP_ONLY"|tu }}</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user