modify display style of bittorrent tracker in task detail page

This commit is contained in:
MaysWind 2017-08-16 21:41:39 +08:00
parent c5a764c51c
commit 7aae26f02b

View file

@ -143,7 +143,7 @@
title="{{(context.collapseTrackers ? 'Expand' : 'Collapse') | translate}}"></i>
</div>
<div class="setting-value col-sm-8">
<div class="auto-ellipsis" ng-bind="serverAddress" title="{{serverAddress}}"
<div class="auto-ellipsis" ng-bind="serverAddress.length ? serverAddress.join(',') : serverAddress" title="{{serverAddress.length ? serverAddress.join(',') : serverAddress}}"
ng-repeat="serverAddress in task.bittorrent.announceList | limitTo: (context.collapseTrackers ? 1 : task.bittorrent.announceList.length)"></div>
</div>
</div>