Revert "components/downtime: Add downtime end time information in view"
This reverts commit 863330e50d
.
refs #8845
This commit is contained in:
parent
1652f1e1ae
commit
8860181bcc
|
@ -103,12 +103,7 @@ if (isset($delDowntimeForm)) {
|
||||||
<li class="comment-item">
|
<li class="comment-item">
|
||||||
<h3>
|
<h3>
|
||||||
<span class="author"><?= $this->escape($downtime->author_name) ?></span>
|
<span class="author"><?= $this->escape($downtime->author_name) ?></span>
|
||||||
<span class="info">
|
<?= $this->timeAgo($downtime->entry_time) ?>
|
||||||
<? printf($this->translate('Added %s.'), $this->timeAgo($downtime->entry_time)) ?>
|
|
||||||
<? if ($downtime->is_in_effect) {
|
|
||||||
printf($this->translate('Expires %s.'), $this->timeUntil($downtime->end));
|
|
||||||
} ?>
|
|
||||||
</span>
|
|
||||||
<?= $deleteButton ?>
|
<?= $deleteButton ?>
|
||||||
</h3>
|
</h3>
|
||||||
<p> <span class="sr-only"><?= $this->translate('Downtime'); ?></span><?= $state; ?> - <?= str_replace(array('\r\n', '\n'), '<br>', $commentText); ?></p>
|
<p> <span class="sr-only"><?= $this->translate('Downtime'); ?></span><?= $state; ?> - <?= str_replace(array('\r\n', '\n'), '<br>', $commentText); ?></p>
|
||||||
|
|
|
@ -263,7 +263,7 @@ td.state {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
font-size: 0.857em;
|
font-size: 0.857em;
|
||||||
|
|
||||||
.info {
|
.time-ago {
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
color: #919191;
|
color: #919191;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue