|
|
|
@ -236,14 +236,19 @@ if ($_['suggestedOverwriteCliUrl']) { |
|
|
|
|
<?php if ($_['cron_log']): ?> |
|
|
|
|
<p class="cronlog inlineblock"> |
|
|
|
|
<?php if ($_['lastcron'] !== false): |
|
|
|
|
$human_time = OC_Util::formatDate($_['lastcron']); |
|
|
|
|
$relative_time = relative_modified_date($_['lastcron']); |
|
|
|
|
$absolute_time = OC_Util::formatDate($_['lastcron']); |
|
|
|
|
if (time() - $_['lastcron'] <= 3600): ?> |
|
|
|
|
<span class="cronstatus success"></span> |
|
|
|
|
<?php p($l->t("Last cron was executed at %s.", array($human_time))); |
|
|
|
|
else: ?> |
|
|
|
|
<span class="crondate" original-title="<?php p($absolute_time);?>">
|
|
|
|
|
<?php p($l->t("Last cron job execution: %s.", array($relative_time)));?> |
|
|
|
|
</span> |
|
|
|
|
<?php else: ?> |
|
|
|
|
<span class="cronstatus error"></span> |
|
|
|
|
<?php p($l->t("Last cron was executed at %s. This is more than an hour ago, something seems wrong.", array($human_time))); |
|
|
|
|
endif; |
|
|
|
|
<span class="crondate" original-title="<?php p($absolute_time);?>">
|
|
|
|
|
<?php p($l->t("Last cron job execution: %s. Something seems wrong.", array($relative_time)));?> |
|
|
|
|
</span> |
|
|
|
|
<?php endif; |
|
|
|
|
else: ?> |
|
|
|
|
<span class="cronstatus error"></span> |
|
|
|
|
<?php p($l->t("Cron was not executed yet!")); |
|
|
|
|