Revert "components/downtime: Add downtime end time information in view"

This reverts commit 863330e50d.

refs #8845
This commit is contained in:
Alexander Fuhr 2015-08-03 13:40:32 +02:00
parent 1652f1e1ae
commit 8860181bcc
2 changed files with 2 additions and 7 deletions

View File

@ -103,12 +103,7 @@ if (isset($delDowntimeForm)) {
<li class="comment-item">
<h3>
<span class="author"><?= $this->escape($downtime->author_name) ?></span>
<span class="info">
<? 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>
<?= $this->timeAgo($downtime->entry_time) ?>
<?= $deleteButton ?>
</h3>
<p> <span class="sr-only"><?= $this->translate('Downtime'); ?></span><?= $state; ?> - <?= str_replace(array('\r\n', '\n'), '<br>', $commentText); ?></p>

View File

@ -263,7 +263,7 @@ td.state {
margin: 0;
font-size: 0.857em;
.info {
.time-ago {
font-style: italic;
color: #919191;
}