From cdeb11100fcc30f2626e513362534a8df0541af2 Mon Sep 17 00:00:00 2001 From: Andy Miller Date: Thu, 25 Aug 2016 21:40:37 -0600 Subject: [PATCH] Added clear-tmp to clear dropdown --- languages/en.yaml | 3 ++- themes/grav/templates/dashboard.html.twig | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/languages/en.yaml b/languages/en.yaml index 322d245c..231b31c8 100644 --- a/languages/en.yaml +++ b/languages/en.yaml @@ -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" \ No newline at end of file + 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" diff --git a/themes/grav/templates/dashboard.html.twig b/themes/grav/templates/dashboard.html.twig index c02647ab..12406cc9 100644 --- a/themes/grav/templates/dashboard.html.twig +++ b/themes/grav/templates/dashboard.html.twig @@ -17,6 +17,7 @@
  • {{ "PLUGIN_ADMIN.CLEAR_CACHE_ASSETS_ONLY"|tu }}
  • {{ "PLUGIN_ADMIN.CLEAR_CACHE_IMAGES_ONLY"|tu }}
  • {{ "PLUGIN_ADMIN.CLEAR_CACHE_CACHE_ONLY"|tu }}
  • +
  • {{ "PLUGIN_ADMIN.CLEAR_CACHE_TMP_ONLY"|tu }}