diff --git a/settings/js/admin.js b/settings/js/admin.js index face18beef..34bc246604 100644 --- a/settings/js/admin.js +++ b/settings/js/admin.js @@ -39,6 +39,8 @@ $(document).ready(function(){ } ); }); + $('#backgroundjobs span.crondate').tipsy({fade: true, gravity: 's', live: true}); + $('#backgroundjobs input').change(function(){ if($(this).attr('checked')){ var mode = $(this).val(); diff --git a/settings/templates/admin.php b/settings/templates/admin.php index a82d5ee854..b7ea77a993 100644 --- a/settings/templates/admin.php +++ b/settings/templates/admin.php @@ -236,14 +236,19 @@ if ($_['suggestedOverwriteCliUrl']) {
- t("Last cron was executed at %s.", array($human_time))); - else: ?> + + t("Last cron job execution: %s.", array($relative_time)));?> + + - t("Last cron was executed at %s. This is more than an hour ago, something seems wrong.", array($human_time))); - endif; + + t("Last cron job execution: %s. Something seems wrong.", array($relative_time)));?> + + t("Cron was not executed yet!"));