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:
authorStefan Giehl <stefan@matomo.org>2020-02-27 10:23:17 +0300
committerGitHub <noreply@github.com>2020-02-27 10:23:17 +0300
commitf28c7fa6cb6c63c8f459206448c7dcb93568099e (patch)
tree55168edfd9c5e2802bf6c0ace2fed4584cb79f52 /plugins/GeoIp2/templates/_updaterNextRunTime.twig
parentbcbdf42154ff40af6ce8276234ffbae19e0370d4 (diff)
Removes GeoIp Legacy support (#15521)
* Removes GeoIp Legacy support * move rendering provider configuration to the provider, to allow other providers to define an own one * move related translations to GeoIp2 plugin * Adds some UI tests * Apply review feedback
Diffstat (limited to 'plugins/GeoIp2/templates/_updaterNextRunTime.twig')
-rw-r--r--plugins/GeoIp2/templates/_updaterNextRunTime.twig9
1 files changed, 9 insertions, 0 deletions
diff --git a/plugins/GeoIp2/templates/_updaterNextRunTime.twig b/plugins/GeoIp2/templates/_updaterNextRunTime.twig
new file mode 100644
index 0000000000..ab5b273be6
--- /dev/null
+++ b/plugins/GeoIp2/templates/_updaterNextRunTime.twig
@@ -0,0 +1,9 @@
+{% if nextRunTime|default is not empty %}
+ {% if date(nextRunTime.getTimestamp()) <= date() %}
+ {{ 'GeoIp2_UpdaterScheduledForNextRun'|translate }}
+ {% else %}
+ {{ 'GeoIp2_UpdaterWillRunNext'|translate('<strong>' ~ nextRunTime.toString() ~ '</strong>')|raw }}
+ {% endif %}
+{% else %}
+ {{ 'GeoIp2_UpdaterIsNotScheduledToRun'|translate }}
+{% endif %} \ No newline at end of file