From cd8bb578f73d0362576746fe0182b1f847e9f70b Mon Sep 17 00:00:00 2001 From: Conrad Vermeulen Date: Wed, 24 Oct 2007 00:08:39 +0000 Subject: [PATCH] KTS-2414 "Implement a dashlet for the scheduler" Updated. When no jobs have been run, it says they were last run 1974 weeks ago... Changed this! --- templates/ktcore/dashlets/scheduler.smarty | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/templates/ktcore/dashlets/scheduler.smarty b/templates/ktcore/dashlets/scheduler.smarty index 56f3a76..f166fa9 100644 --- a/templates/ktcore/dashlets/scheduler.smarty +++ b/templates/ktcore/dashlets/scheduler.smarty @@ -8,11 +8,13 @@  Administration page

+{if !$lasttime} {if $isDue} {i18n arg_time=$timedif}The tasks were scheduled to be run #time# ago.{/i18n} {else} {i18n arg_time=$timedif}The tasks are scheduled to be run in #time#.{/i18n} {/if} +{/if}

@@ -42,7 +44,7 @@ {i18n}Please ensure that the scheduler is listed in your cron jobs. The line to be added to the crontab to implement the cron job is: {/i18n}

- +

-- libgit2 0.21.4