From: Jakob Sack Date: Sat, 28 Feb 2015 20:48:19 +0000 (+0100) Subject: Add absolute time of last cronjob as hover tip X-Git-Tag: v8.1.0alpha1~373^2~2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=0efed5c216315e9feae45f3193c510d9007f682a;p=nextcloud-server.git Add absolute time of last cronjob as hover tip --- diff --git a/settings/js/admin.js b/settings/js/admin.js index face18beef0..34bc2466048 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 1de1e2851b7..7ed1afbd26e 100644 --- a/settings/templates/admin.php +++ b/settings/templates/admin.php @@ -237,13 +237,18 @@ if ($_['suggestedOverwriteCliUrl']) {

- t("Last cron was executed %s.", array($human_time))); - else: ?> + + t("Last cron was executed %s.", array($human_time)));?> + + - t("Last cron was executed %s. Something seems wrong.", array($human_time))); - endif; + + t("Last cron was executed %s. Something seems wrong.", array($human_time)));?> + + t("Cron was not executed yet!"));