Added clear-tmp to clear dropdown

This commit is contained in:
Andy Miller
2016-08-25 21:40:37 -06:00
parent 4c71b38746
commit cdeb11100f
2 changed files with 3 additions and 1 deletions

View File

@@ -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"

View File

@@ -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>