Trigger panel: added host technical name, fixes #192.

This commit is contained in:
Alexander Zobnin
2016-07-31 17:12:53 +03:00
parent d75cb8f9b3
commit e75a714e22
3 changed files with 32 additions and 2 deletions

View File

@@ -9,6 +9,11 @@
Host
</div>
</th>
<th ng-if="ctrl.panel.hostTechNameField" style="width: 15%">
<div class="triggers-panel-table-header-inner pointer">
Technical Name
</div>
</th>
<th ng-if="ctrl.panel.statusField" style="width: 85px">
<div class="triggers-panel-table-header-inner pointer">Status</div>
</th>
@@ -38,6 +43,12 @@
</div>
</td>
<td ng-if="ctrl.panel.hostTechNameField">
<div>
<span><strong>{{trigger.hostTechName}}</strong></span>
</div>
</td>
<td ng-if="ctrl.panel.statusField" style="background-color: {{trigger.color}}; color: white">
<div>
{{ctrl.triggerStatusMap[trigger.value]}}