summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2016-07-13 09:59:42 +0200
committerMorris Jobke <hey@morrisjobke.de>2016-07-13 09:59:42 +0200
commitcf79417490c5b093165f68f57effc44780844e22 (patch)
tree4b2045d86ef071ad8606f9d34a2562514b128520
parente9eb94e8995f5c845868bd4e099f8eb591204943 (diff)
downloadnextcloud-server-cf79417490c5b093165f68f57effc44780844e22.tar.gz
nextcloud-server-cf79417490c5b093165f68f57effc44780844e22.zip
Use tooltip for background job execution time
-rw-r--r--settings/js/admin.js2
-rw-r--r--settings/templates/admin.php4
2 files changed, 3 insertions, 3 deletions
diff --git a/settings/js/admin.js b/settings/js/admin.js
index 34e258065ce..fb59b3ba026 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 93c9dca7153..e5b09089449 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): ?>
<span class="status success"></span>
- <span class="crondate" original-title="<?php p($absolute_time);?>">
+ <span class="crondate" title="<?php p($absolute_time);?>">
<?php p($l->t("Last cron job execution: %s.", [$relative_time]));?>
</span>
<?php else: ?>
<span class="status error"></span>
- <span class="crondate" original-title="<?php p($absolute_time);?>">
+ <span class="crondate" title="<?php p($absolute_time);?>">
<?php p($l->t("Last cron job execution: %s. Something seems wrong.", [$relative_time]));?>
</span>
<?php endif;