diff options
Diffstat (limited to 'plugins/GeoIp2/templates/_updaterNextRunTime.twig')
-rw-r--r-- | plugins/GeoIp2/templates/_updaterNextRunTime.twig | 9 |
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 |