change page name

This commit is contained in:
MaysWind 2016-05-16 21:20:52 +08:00
parent 920cfb39b8
commit 38469b607d
5 changed files with 6 additions and 6 deletions

View file

@ -100,8 +100,8 @@
<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>
</li>
<li data-href-match="/scheduling">
<a href="#/scheduling"><i class="fa fa-hourglass-half"></i> <span ng-bind="('Scheduling' | translate) + (globalStat && globalStat.numWaiting > 0 ? ' (' + globalStat.numWaiting + ')' : '')">Scheduling</span></a>
<li data-href-match="/waiting">
<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 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>

View file

@ -64,7 +64,7 @@
if (location == 'downloading') {
invokeMethod = aria2RpcService.tellActive;
} else if (location == 'scheduling') {
} else if (location == 'waiting') {
invokeMethod = aria2RpcService.tellWaiting;
params = [0, 1000];
} else if (location == 'downloaded') {

View file

@ -7,7 +7,7 @@
templateUrl: 'views/list.html',
controller: 'DownloadListController'
})
.when('/scheduling', {
.when('/waiting', {
templateUrl: 'views/list.html',
controller: 'DownloadListController'
})

View file

@ -15,7 +15,7 @@
'Settings': 'Settings',
'Download': 'Download',
'Downloading': 'Downloading',
'Scheduling': 'Scheduling',
'Waiting': 'Waiting',
'Stopped': 'Stopped',
'Toggle Navigation': 'Toggle Navigation',
'Loading': 'Loading...',

View file

@ -15,7 +15,7 @@
'Settings': '系统设置',
'Download': '下载',
'Downloading': '正在下载',
'Scheduling': '正在排队',
'Waiting': '正在等待',
'Stopped': '已停止',
'Toggle Navigation': '切换导航',
'Loading': '正在加载...',