From ddf2070e7d05c25f4cda1eef42dccac041d518c5 Mon Sep 17 00:00:00 2001 From: MaysWind Date: Sun, 30 Oct 2016 22:36:55 +0800 Subject: [PATCH] support display task paused/waiting status in task list page --- src/views/list.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/views/list.html b/src/views/list.html index 7c35b73..dd2876f 100644 --- a/src/views/list.html +++ b/src/views/list.html @@ -60,14 +60,14 @@
+ ng-bind="task.status === 'waiting' ? '--:--:--' : (task.status === 'paused' ? '' : (task.status === 'active' ? ((0 <= task.remainTime && task.remainTime < 86400) ? (task.remainTime | dateDuration: 'second': 'HH:mm:ss') : ('More Than One Day' | translate)) : ''))"> - + ng-bind="task.status === 'waiting' ? ('Waiting' | translate) : (task.status === 'paused' ? ('Paused' | translate) : (task.status === 'active' ? (!task.seeder || task.downloadSpeed > 0 ? (task.downloadSpeed | readableVolumn) + '/s' : '-') : ''))"> +