mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-25 14:54:24 +02:00
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:
parent
30040eaa1b
commit
c10752a05a
@ -31,12 +31,12 @@ class Monitoring_ListController extends ModuleActionController
|
|||||||
'host_acknowledged',
|
'host_acknowledged',
|
||||||
'host_output',
|
'host_output',
|
||||||
'host_in_downtime',
|
'host_in_downtime',
|
||||||
'is_flapping',
|
'host_is_flapping',
|
||||||
'state_type',
|
'host_state_type',
|
||||||
'host_handled',
|
'host_handled',
|
||||||
'host_last_state_change',
|
'host_last_state_change',
|
||||||
'notifications_enabled',
|
'host_notifications_enabled',
|
||||||
'problems'
|
'host_problems'
|
||||||
// 'host_comment_count'
|
// 'host_comment_count'
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
@ -59,12 +59,12 @@ $trimArea = $this->getHelper('Trim');
|
|||||||
<i class="reactible icon-ok-sign"></i>
|
<i class="reactible icon-ok-sign"></i>
|
||||||
</a>
|
</a>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<?php if ($host->is_flapping): ?>
|
<?php if ($host->host_is_flapping): ?>
|
||||||
<a href="#" title="<?= 'Flapping' ?>">
|
<a href="#" title="<?= 'Flapping' ?>">
|
||||||
<i class="reactible icon-random"></i>
|
<i class="reactible icon-random"></i>
|
||||||
</a>
|
</a>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<?php if (!$host->notifications_enabled): ?>
|
<?php if (!$host->host_notifications_enabled): ?>
|
||||||
<a href="#" title="<?= 'Notifications disabled' ?>">
|
<a href="#" title="<?= 'Notifications disabled' ?>">
|
||||||
<i class="reactible icon-volume-off"></i>
|
<i class="reactible icon-volume-off"></i>
|
||||||
</a>
|
</a>
|
||||||
@ -87,7 +87,7 @@ $trimArea = $this->getHelper('Trim');
|
|||||||
),
|
),
|
||||||
array('quote' => false)
|
array('quote' => false)
|
||||||
);?>
|
);?>
|
||||||
<?php if ($host->state_type === 0): ?>
|
<?php if ($host->host_state_type === 0): ?>
|
||||||
<a href="#" title="<?= 'Soft state' ?>">
|
<a href="#" title="<?= 'Soft state' ?>">
|
||||||
<i class="icon-gears"></i>
|
<i class="icon-gears"></i>
|
||||||
</a>
|
</a>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user