Added Go Discover button. Hide groups bar if there are no groups.

This commit is contained in:
Jesús Ángel 2018-12-03 13:22:58 +01:00
parent 83fe4170d6
commit 438cc0138b

View File

@ -28,13 +28,16 @@
Full OS name: {{ agentOS }}
</md-tooltip>
</div>
<div class="wz-text-truncatable" flex>
<span class="wz-text-bold wz-text-link" ng-click="goDiscover()"><i class="fa fa-fw fa-compass" aria-hidden="true"></i> Discover</span>
</div>
</md-card-content>
</md-card>
</div>
<div layout="row" layout-padding class="wz-padding-top-0 wz-padding-bottom-0">
<div layout="row" layout-padding class="wz-padding-top-0 wz-padding-bottom-0" ng-if="agent.group && agent.group.length">
<md-card flex class="wz-metric-color wz-md-card wz-no-padding">
<md-card-content layout="row" class="wz-padding-metric">
<div class="wz-word-break" flex ng-if="agent.group">
<div class="wz-word-break" flex >
Groups: <span ng-repeat="group in agent.group" class="wz-text-bold wz-text-link" ng-click="goGroups(agent,$index)">{{ group }}&nbsp;</span>
</div>
</md-card-content>