change 'cronstatus' to 'status' so that it can be used in other apps too
This commit is contained in:
parent
c5e41450f6
commit
97c60fd217
2 changed files with 5 additions and 5 deletions
|
@ -412,13 +412,13 @@ table.grid td.date{
|
|||
.cronlog {
|
||||
margin-left: 10px;
|
||||
}
|
||||
.cronstatus {
|
||||
.status {
|
||||
display: inline-block;
|
||||
height: 16px;
|
||||
width: 16px;
|
||||
vertical-align: text-bottom;
|
||||
}
|
||||
.cronstatus.success {
|
||||
.status.success {
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
|
|
|
@ -290,18 +290,18 @@ if ($_['cronErrors']) {
|
|||
$relative_time = relative_modified_date($_['lastcron']);
|
||||
$absolute_time = OC_Util::formatDate($_['lastcron']);
|
||||
if (time() - $_['lastcron'] <= 3600): ?>
|
||||
<span class="cronstatus success"></span>
|
||||
<span class="status success"></span>
|
||||
<span class="crondate" original-title="<?php p($absolute_time);?>">
|
||||
<?php p($l->t("Last cron job execution: %s.", [$relative_time]));?>
|
||||
</span>
|
||||
<?php else: ?>
|
||||
<span class="cronstatus error"></span>
|
||||
<span class="status error"></span>
|
||||
<span class="crondate" original-title="<?php p($absolute_time);?>">
|
||||
<?php p($l->t("Last cron job execution: %s. Something seems wrong.", [$relative_time]));?>
|
||||
</span>
|
||||
<?php endif;
|
||||
else: ?>
|
||||
<span class="cronstatus error"></span>
|
||||
<span class="status error"></span>
|
||||
<?php p($l->t("Cron was not executed yet!"));
|
||||
endif; ?>
|
||||
</p>
|
||||
|
|
Loading…
Reference in a new issue