Skip to content

Commit

Permalink
monitoring: New layout for object history
Browse files Browse the repository at this point in the history
refs #5543
  • Loading branch information
majentsch committed Oct 1, 2015
1 parent 5b2649a commit 8d12da4
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions modules/monitoring/application/views/scripts/host/history.phtml
Expand Up @@ -110,14 +110,13 @@ if (! $this->compact): ?>
break;
}
?>
<tr class="state <?= $stateClass; ?>">
<td class="state">
<tr>
<td class="state-col state-<?= $stateClass; ?>">
<?php if ($history->getIteratorPosition() % $limit === 0): ?>
<a id="page-<?= $history->getIteratorPosition() / $limit + 1; ?>"></a>
<?php endif ?>
<strong><?= $this->escape($title); ?></strong>
<br>
<?= date('d.m. H:i', $event->timestamp); ?>
<p><?= date('d.m. H:i', $event->timestamp); ?></p>
</td>
<td>
<?php if ($isService): ?>
Expand All @@ -141,10 +140,9 @@ if (! $this->compact): ?>
<?php else: ?>
<?= $this->escape($event->host_name); ?>
<?php endif ?>
<br>
<div>
<p class="plugin-output">
<?= $this->icon($icon, $title); ?> <?= $this->createTicketLinks($msg) ?>
</div>
</p>
</td>
</tr>
<?php endforeach; ?>
Expand Down

0 comments on commit 8d12da4

Please sign in to comment.