Remove red if we managed to report to atleast one discovery server (fixes #1427)

This commit is contained in:
Audrius Butkevicius 2015-03-09 21:08:32 +00:00
parent 03bbf273b3
commit f15c416e59
2 changed files with 2 additions and 2 deletions

View File

@ -319,7 +319,7 @@
<span ng-if="announceServersFailed.length == 0" class="data text-success"> <span ng-if="announceServersFailed.length == 0" class="data text-success">
<span>OK</span> <span>OK</span>
</span> </span>
<span ng-if="announceServersFailed.length != 0" class="data text-danger"> <span ng-if="announceServersFailed.length != 0" class="data" ng-class="{'text-danger': announceServersFailed.length == announceServersTotal}">
<span popover data-trigger="hover" data-placement="bottom" data-content="{{announceServersFailed.join('\n')}}"> <span popover data-trigger="hover" data-placement="bottom" data-content="{{announceServersFailed.join('\n')}}">
{{announceServersTotal-announceServersFailed.length}}/{{announceServersTotal}} {{announceServersTotal-announceServersFailed.length}}/{{announceServersTotal}}
</span> </span>

File diff suppressed because one or more lines are too long