Add host_* prefix to fields for hostoverview

A few fields didn't have the host_ prefix (as in the host-detail branch).
This is fixed with this commit

refs #4179
This commit is contained in:
Jannis Moßhammer 2013-07-12 15:14:55 +02:00
parent 30040eaa1b
commit c10752a05a
2 changed files with 7 additions and 7 deletions

View File

@ -31,12 +31,12 @@ class Monitoring_ListController extends ModuleActionController
'host_acknowledged',
'host_output',
'host_in_downtime',
'is_flapping',
'state_type',
'host_is_flapping',
'host_state_type',
'host_handled',
'host_last_state_change',
'notifications_enabled',
'problems'
'host_notifications_enabled',
'host_problems'
// 'host_comment_count'
)
);

View File

@ -59,12 +59,12 @@ $trimArea = $this->getHelper('Trim');
<i class="reactible icon-ok-sign"></i>
</a>
<?php endif; ?>
<?php if ($host->is_flapping): ?>
<?php if ($host->host_is_flapping): ?>
<a href="#" title="<?= 'Flapping' ?>">
<i class="reactible icon-random"></i>
</a>
<?php endif; ?>
<?php if (!$host->notifications_enabled): ?>
<?php if (!$host->host_notifications_enabled): ?>
<a href="#" title="<?= 'Notifications disabled' ?>">
<i class="reactible icon-volume-off"></i>
</a>
@ -87,7 +87,7 @@ $trimArea = $this->getHelper('Trim');
),
array('quote' => false)
);?>
<?php if ($host->state_type === 0): ?>
<?php if ($host->host_state_type === 0): ?>
<a href="#" title="<?= 'Soft state' ?>">
<i class="icon-gears"></i>
</a>