show maintenance icon for triggers, closes #299
This commit is contained in:
1
dist/panel-triggers/partials/module.html
vendored
1
dist/panel-triggers/partials/module.html
vendored
@@ -13,6 +13,7 @@
|
||||
<p class="alert-list-title">
|
||||
{{trigger.description}}
|
||||
<span class="zabbix-hostname" ng-if="ctrl.panel.hostField || ctrl.panel.hostTechNameField">
|
||||
<i ng-if="trigger.maintenance" class="fa fa-wrench zbx-maintenance-icon"></i>
|
||||
{{ ctrl.formatHostName(trigger) }}
|
||||
</span>
|
||||
</p>
|
||||
|
||||
@@ -37,9 +37,9 @@
|
||||
<h5 class="section-heading">Options</h5>
|
||||
<gf-form-switch class="gf-form"
|
||||
label-class="width-15"
|
||||
label="Hide hosts in maintenance"
|
||||
checked="ctrl.panel.hideHostsInMaintenance"
|
||||
on-change="ctrl.refresh()">
|
||||
label="Show hosts in maintenance"
|
||||
checked="ctrl.panel.hostsInMaintenance"
|
||||
on-change="ctrl.render()">
|
||||
</gf-form-switch>
|
||||
<div class="gf-form">
|
||||
<label class="gf-form-label width-8">Acknowledged</label>
|
||||
|
||||
Reference in New Issue
Block a user