Revert "components/downtime: Add the missing php script tag"

This reverts commit 95ea0e616d.

refs #8845
This commit is contained in:
Alexander Fuhr 2015-08-03 13:38:49 +02:00
parent 95ea0e616d
commit 1652f1e1ae
1 changed files with 2 additions and 2 deletions

View File

@ -104,8 +104,8 @@ if (isset($delDowntimeForm)) {
<h3>
<span class="author"><?= $this->escape($downtime->author_name) ?></span>
<span class="info">
<?php printf($this->translate('Added %s.'), $this->timeAgo($downtime->entry_time)) ?>
<?php if ($downtime->is_in_effect) {
<? 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>