From cf79417490c5b093165f68f57effc44780844e22 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Wed, 13 Jul 2016 09:59:42 +0200 Subject: [PATCH] Use tooltip for background job execution time --- settings/js/admin.js | 2 +- settings/templates/admin.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/settings/js/admin.js b/settings/js/admin.js index 34e258065c..fb59b3ba02 100644 --- a/settings/js/admin.js +++ b/settings/js/admin.js @@ -35,7 +35,7 @@ $(document).ready(function(){ } ); }); - $('#backgroundjobs span.crondate').tipsy({gravity: 's', live: true}); + $('#backgroundjobs span.crondate').tooltip({placement: 'top'}); $('#backgroundjobs input').change(function(){ if($(this).is(':checked')){ diff --git a/settings/templates/admin.php b/settings/templates/admin.php index 93c9dca715..e5b0908944 100644 --- a/settings/templates/admin.php +++ b/settings/templates/admin.php @@ -290,12 +290,12 @@ if ($_['cronErrors']) { $absolute_time = OC_Util::formatDate($_['lastcron']); if (time() - $_['lastcron'] <= 3600): ?> - + t("Last cron job execution: %s.", [$relative_time]));?> - + t("Last cron job execution: %s. Something seems wrong.", [$relative_time]));?>