mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-07-05 11:59:08 +02:00
feat(core): add many view`s page_title
This commit is contained in:
@@ -114,7 +114,14 @@
|
||||
ADMIN_USER_EDIT: 'Edit User',
|
||||
ADMIN_TORRENTS_LIST: 'Torrents LIst',
|
||||
PASSWORD_FORGOT: 'Password forgot',
|
||||
PASSWORD_RESET: 'Password reset'
|
||||
PASSWORD_RESET: 'Password reset',
|
||||
MESSAGES_LIST: 'messages',
|
||||
STATUS_ACCOUNT: 'Account Status',
|
||||
STATUS_UPLOADED: 'Uploaded',
|
||||
STATUS_SEEDING: 'Seeding',
|
||||
STATUS_DOWNLOADING: 'Downloading',
|
||||
SCORE_DETAIL: 'Score detail',
|
||||
INVITATIONS: 'Invitations'
|
||||
},
|
||||
|
||||
//sign in, sign up, password
|
||||
|
||||
@@ -114,7 +114,14 @@
|
||||
ADMIN_USER_EDIT: '编辑用户',
|
||||
ADMIN_TORRENTS_LIST: '种子管理',
|
||||
PASSWORD_FORGOT: '找回密码',
|
||||
PASSWORD_RESET: '重设密码'
|
||||
PASSWORD_RESET: '重设密码',
|
||||
MESSAGES_LIST: '站内消息',
|
||||
STATUS_ACCOUNT: '帐户状态',
|
||||
STATUS_UPLOADED: '我的种子',
|
||||
STATUS_SEEDING: '正在做种',
|
||||
STATUS_DOWNLOADING: '正在下载',
|
||||
SCORE_DETAIL: '积分详情',
|
||||
INVITATIONS: '我的邀请'
|
||||
},
|
||||
|
||||
//sign in, sign up, password
|
||||
|
||||
@@ -18,7 +18,10 @@
|
||||
})
|
||||
.state('invitations.detail', {
|
||||
url: '/detail',
|
||||
templateUrl: '/modules/invitations/client/views/detail.client.view.html'
|
||||
templateUrl: '/modules/invitations/client/views/detail.client.view.html',
|
||||
data: {
|
||||
pageTitle: 'PAGETITLE.INVITATIONS'
|
||||
}
|
||||
});
|
||||
}
|
||||
}());
|
||||
|
||||
@@ -18,7 +18,10 @@
|
||||
})
|
||||
.state('messages.inbox', {
|
||||
url: '/inbox',
|
||||
templateUrl: '/modules/messages/client/views/inbox.client.view.html'
|
||||
templateUrl: '/modules/messages/client/views/inbox.client.view.html',
|
||||
data: {
|
||||
pageTitle: 'PAGETITLE.MESSAGES_LIST'
|
||||
}
|
||||
});
|
||||
}
|
||||
}());
|
||||
|
||||
@@ -73,19 +73,31 @@
|
||||
})
|
||||
.state('status.account', {
|
||||
url: '/account',
|
||||
templateUrl: '/modules/users/client/views/status/account.client.view.html'
|
||||
templateUrl: '/modules/users/client/views/status/account.client.view.html',
|
||||
data: {
|
||||
pageTitle: 'PAGETITLE.STATUS_ACCOUNT'
|
||||
}
|
||||
})
|
||||
.state('status.uploaded', {
|
||||
url: '/uploaded',
|
||||
templateUrl: '/modules/users/client/views/status/uploaded.client.view.html'
|
||||
templateUrl: '/modules/users/client/views/status/uploaded.client.view.html',
|
||||
data: {
|
||||
pageTitle: 'PAGETITLE.STATUS_UPLOADED'
|
||||
}
|
||||
})
|
||||
.state('status.seeding', {
|
||||
url: '/seeding',
|
||||
templateUrl: '/modules/users/client/views/status/seeding.client.view.html'
|
||||
templateUrl: '/modules/users/client/views/status/seeding.client.view.html',
|
||||
data: {
|
||||
pageTitle: 'PAGETITLE.STATUS_SEEDING'
|
||||
}
|
||||
})
|
||||
.state('status.downloading', {
|
||||
url: '/downloading',
|
||||
templateUrl: '/modules/users/client/views/status/downloading.client.view.html'
|
||||
templateUrl: '/modules/users/client/views/status/downloading.client.view.html',
|
||||
data: {
|
||||
pageTitle: 'PAGETITLE.STATUS_DOWNLOADING'
|
||||
}
|
||||
})
|
||||
.state('score', {
|
||||
abstract: true,
|
||||
@@ -94,7 +106,10 @@
|
||||
})
|
||||
.state('score.detail', {
|
||||
url: '/detail',
|
||||
templateUrl: '/modules/users/client/views/score/detail.client.view.html'
|
||||
templateUrl: '/modules/users/client/views/score/detail.client.view.html',
|
||||
data: {
|
||||
pageTitle: 'PAGETITLE.SCORE_DETAIL'
|
||||
}
|
||||
})
|
||||
.state('authentication', {
|
||||
abstract: true,
|
||||
|
||||
Reference in New Issue
Block a user