add tooltip

master
MaysWind 2016-12-11 01:07:31 +08:00
parent f02c5556b7
commit faf32a42b6
3 changed files with 3 additions and 1 deletions

View File

@ -28,6 +28,7 @@ Expand=展开
Collapse=折叠
Remove Task=删除任务
Clear Stopped Tasks=清空已结束任务
Click to view task detail=点击查看任务详情
By File Name=按文件名
By File Size=按文件大小
By Progress=按进度

View File

@ -32,6 +32,7 @@
'Collapse': 'Collapse',
'Remove Task': 'Remove Task',
'Clear Stopped Tasks': 'Clear Stopped Tasks',
'Click to view task detail': 'Click to view task detail',
'By File Name': 'By File Name',
'By File Size': 'By File Size',
'By Progress': 'By Progress',

View File

@ -43,7 +43,7 @@
</div>
<div class="task-files">
<span ng-bind="task.totalLength | readableVolumn"></span>
<a ng-href="#/task/detail/{{task.gid}}">
<a ng-href="#/task/detail/{{task.gid}}" title="{{'Click to view task detail' | translate}}">
<span ng-if="task.files" ng-bind="('format.settings.file-count' | translate: {count: task.selectedFileCount})"></span>
</a><i class="icon-error fa fa-times" ng-if="task && task.status == 'error' && task.errorDescription" title="{{task.errorDescription | translate}}"></i><i class="icon-seeder fa fa-arrow-up" ng-if="task && task.status == 'active' && task.seeder" title="{{'Seeding' | translate}}"></i>
<a class="pointer-cursor" ng-if="task && task.status == 'error' && task.errorDescription && !task.bittorrent" ng-click="restart(task)" title="{{'Restart' | translate}}" translate>Restart</a>