change page name
This commit is contained in:
parent
920cfb39b8
commit
38469b607d
|
@ -100,8 +100,8 @@
|
||||||
<li data-href-match="/downloading">
|
<li data-href-match="/downloading">
|
||||||
<a href="#/downloading"><i class="fa fa-arrow-down"></i> <span ng-bind="('Downloading' | translate) + (globalStat && globalStat.numActive > 0 ? ' (' + globalStat.numActive + ')' : '')">Downloading</span></a>
|
<a href="#/downloading"><i class="fa fa-arrow-down"></i> <span ng-bind="('Downloading' | translate) + (globalStat && globalStat.numActive > 0 ? ' (' + globalStat.numActive + ')' : '')">Downloading</span></a>
|
||||||
</li>
|
</li>
|
||||||
<li data-href-match="/scheduling">
|
<li data-href-match="/waiting">
|
||||||
<a href="#/scheduling"><i class="fa fa-hourglass-half"></i> <span ng-bind="('Scheduling' | translate) + (globalStat && globalStat.numWaiting > 0 ? ' (' + globalStat.numWaiting + ')' : '')">Scheduling</span></a>
|
<a href="#/waiting"><i class="fa fa-hourglass-half"></i> <span ng-bind="('Waiting' | translate) + (globalStat && globalStat.numWaiting > 0 ? ' (' + globalStat.numWaiting + ')' : '')">Scheduling</span></a>
|
||||||
</li>
|
</li>
|
||||||
<li data-href-match="/stopped">
|
<li data-href-match="/stopped">
|
||||||
<a href="#/stopped"><i class="fa fa-stop-circle-o"></i> <span ng-bind="('Stopped' | translate) + (globalStat && globalStat.numStopped > 0 ? ' (' + globalStat.numStopped + ')' : '')">Stopped</span></a>
|
<a href="#/stopped"><i class="fa fa-stop-circle-o"></i> <span ng-bind="('Stopped' | translate) + (globalStat && globalStat.numStopped > 0 ? ' (' + globalStat.numStopped + ')' : '')">Stopped</span></a>
|
||||||
|
|
|
@ -64,7 +64,7 @@
|
||||||
|
|
||||||
if (location == 'downloading') {
|
if (location == 'downloading') {
|
||||||
invokeMethod = aria2RpcService.tellActive;
|
invokeMethod = aria2RpcService.tellActive;
|
||||||
} else if (location == 'scheduling') {
|
} else if (location == 'waiting') {
|
||||||
invokeMethod = aria2RpcService.tellWaiting;
|
invokeMethod = aria2RpcService.tellWaiting;
|
||||||
params = [0, 1000];
|
params = [0, 1000];
|
||||||
} else if (location == 'downloaded') {
|
} else if (location == 'downloaded') {
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
templateUrl: 'views/list.html',
|
templateUrl: 'views/list.html',
|
||||||
controller: 'DownloadListController'
|
controller: 'DownloadListController'
|
||||||
})
|
})
|
||||||
.when('/scheduling', {
|
.when('/waiting', {
|
||||||
templateUrl: 'views/list.html',
|
templateUrl: 'views/list.html',
|
||||||
controller: 'DownloadListController'
|
controller: 'DownloadListController'
|
||||||
})
|
})
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
'Settings': 'Settings',
|
'Settings': 'Settings',
|
||||||
'Download': 'Download',
|
'Download': 'Download',
|
||||||
'Downloading': 'Downloading',
|
'Downloading': 'Downloading',
|
||||||
'Scheduling': 'Scheduling',
|
'Waiting': 'Waiting',
|
||||||
'Stopped': 'Stopped',
|
'Stopped': 'Stopped',
|
||||||
'Toggle Navigation': 'Toggle Navigation',
|
'Toggle Navigation': 'Toggle Navigation',
|
||||||
'Loading': 'Loading...',
|
'Loading': 'Loading...',
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
'Settings': '系统设置',
|
'Settings': '系统设置',
|
||||||
'Download': '下载',
|
'Download': '下载',
|
||||||
'Downloading': '正在下载',
|
'Downloading': '正在下载',
|
||||||
'Scheduling': '正在排队',
|
'Waiting': '正在等待',
|
||||||
'Stopped': '已停止',
|
'Stopped': '已停止',
|
||||||
'Toggle Navigation': '切换导航',
|
'Toggle Navigation': '切换导航',
|
||||||
'Loading': '正在加载...',
|
'Loading': '正在加载...',
|
||||||
|
|
Reference in a new issue