mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-03-05 03:31:04 +01:00
feat(about): requests rule files
This commit is contained in:
@@ -75,6 +75,22 @@
|
||||
pageTitle: 'PAGETITLE.VIP_DETAIL_RULES'
|
||||
}
|
||||
})
|
||||
.state('about.manual.chatRules', {
|
||||
url: '/chatRules',
|
||||
templateUrl: '/modules/about/client/views/chatRules.client.view.html',
|
||||
data: {
|
||||
roles: ['user', 'oper', 'admin'],
|
||||
pageTitle: 'PAGETITLE.CHAT_RULES'
|
||||
}
|
||||
})
|
||||
.state('about.manual.requestRules', {
|
||||
url: '/requestRules',
|
||||
templateUrl: '/modules/about/client/views/requestRules.client.view.html',
|
||||
data: {
|
||||
roles: ['user', 'oper', 'admin'],
|
||||
pageTitle: 'PAGETITLE.REQUEST_RULES'
|
||||
}
|
||||
})
|
||||
.state('about.black', {
|
||||
url: '/black',
|
||||
templateUrl: '/modules/about/client/views/black.client.view.html',
|
||||
|
||||
7
modules/about/client/templates/request-rules-en.md
Normal file
7
modules/about/client/templates/request-rules-en.md
Normal file
@@ -0,0 +1,7 @@
|
||||
## This is the `REQUESTS RULES` of {{vm.appConfig.name}}
|
||||
|
||||
The rules content is read from template file, it is support `markdown` style.
|
||||
|
||||
If you want to change these rules, please modify the .md file at `modules/about/client/templates/request-rules-xx.md`.
|
||||
|
||||
The `xx` is the language flag, like `zh`,`en` etc.
|
||||
7
modules/about/client/templates/request-rules-zh.md
Normal file
7
modules/about/client/templates/request-rules-zh.md
Normal file
@@ -0,0 +1,7 @@
|
||||
## 这是 `REQUESTS RULES` 求种细则文档
|
||||
|
||||
这些规则内容是从模板文件读取, 它完全支持 `markdown` 语法风格.
|
||||
|
||||
如果你想修改规则内容, 请编辑 .md 文件, 它存放于 `modules/about/client/templates/request-rules-xx.md`.
|
||||
|
||||
`xx` 代表语言标识符, 如 `zh`,`en` 等.
|
||||
@@ -4,6 +4,8 @@
|
||||
<div class="list-group panel-menu-list">
|
||||
<a ui-sref="about.manual.userRules" class="list-group-item"
|
||||
ui-sref-active="active">{{'ABOUT.MENU_ABOUT_MANUAL_USER_RULES' | translate}}</a>
|
||||
<a ui-sref="about.manual.chatRules" class="list-group-item"
|
||||
ui-sref-active="active">{{'ABOUT.MENU_ABOUT_MANUAL_CHAT_RULES' | translate}}</a>
|
||||
<a ui-sref="about.manual.userLevelRules" class="list-group-item"
|
||||
ui-sref-active="active">{{'ABOUT.MENU_ABOUT_MANUAL_USER_LEVEL_RULES' | translate}}</a>
|
||||
<a ui-sref="about.manual.scoreRules" class="list-group-item"
|
||||
@@ -16,6 +18,8 @@
|
||||
ui-sref-active="active">{{'ABOUT.MENU_ABOUT_MANUAL_HNR_RULES' | translate}}</a>
|
||||
<a ui-sref="about.manual.vipRules" class="list-group-item"
|
||||
ui-sref-active="active">{{'ABOUT.MENU_ABOUT_MANUAL_VIP_RULES' | translate}}</a>
|
||||
<a ui-sref="about.manual.requestRules" class="list-group-item"
|
||||
ui-sref-active="active">{{'ABOUT.MENU_ABOUT_MANUAL_REQUEST_RULES' | translate}}</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-8 col-md-9">
|
||||
|
||||
4
modules/about/client/views/requestRules.client.view.html
Normal file
4
modules/about/client/views/requestRules.client.view.html
Normal file
@@ -0,0 +1,4 @@
|
||||
<section ng-controller="AboutController as vm">
|
||||
<div marked src="'/modules/about/client/templates/request-rules-'+vm.lang+'.md'" compile="true">
|
||||
</div>
|
||||
</section>
|
||||
@@ -202,6 +202,8 @@
|
||||
INVITATIONS_RULES: 'Invitations Rules',
|
||||
HNR_RULES: 'H&R Rules',
|
||||
VIP_DETAIL_RULES: 'VIP Rules',
|
||||
CHAT_RULES: 'Global Speech Rules',
|
||||
REQUEST_RULES: 'Requests Rules',
|
||||
BLACK: 'Client Black List',
|
||||
MAKER: 'Torrents Maker Group',
|
||||
OPERLIST: 'Admin/Oper List',
|
||||
@@ -613,6 +615,8 @@
|
||||
MENU_ABOUT_MANUAL_INVITATIONS_RULES: 'Invitations Detail Rules',
|
||||
MENU_ABOUT_MANUAL_HNR_RULES: 'H&R Detail Rules',
|
||||
MENU_ABOUT_MANUAL_VIP_RULES: 'VIP Detail Rules',
|
||||
MENU_ABOUT_MANUAL_CHAT_RULES: 'Global Speech Rules',
|
||||
MENU_ABOUT_MANUAL_REQUEST_RULES: 'Requests Rules',
|
||||
CLIENT_BLACK_LIST: 'Client Black List',
|
||||
MAKER_GROUP: 'Torrents Maker Group',
|
||||
BLACK_TOOLTIP: '<h4>Note:</h4>All the clients in the list was forbidden by server and can not announce or get any torrent data, For more help, please contact our <strong><a href="mailto:{{admin}}">administrator</a></strong>.',
|
||||
|
||||
@@ -202,6 +202,8 @@
|
||||
INVITATIONS_RULES: '邀请函细则',
|
||||
HNR_RULES: 'H&R 细则',
|
||||
VIP_DETAIL_RULES: 'VIP 细则',
|
||||
CHAT_RULES: '公共言论行为准则',
|
||||
REQUEST_RULES: '求种细则',
|
||||
BLACK: '禁止客户端列表',
|
||||
MAKER: '资源压制小组',
|
||||
OPERLIST: 'Admin/Oper 列表',
|
||||
@@ -613,6 +615,8 @@
|
||||
MENU_ABOUT_MANUAL_INVITATIONS_RULES: '邀请函细则',
|
||||
MENU_ABOUT_MANUAL_HNR_RULES: 'H&R 细则',
|
||||
MENU_ABOUT_MANUAL_VIP_RULES: 'VIP 细则',
|
||||
MENU_ABOUT_MANUAL_CHAT_RULES: '公共言论行为准则',
|
||||
MENU_ABOUT_MANUAL_REQUEST_RULES: '求种细则',
|
||||
CLIENT_BLACK_LIST: '禁止客户端列表',
|
||||
MAKER_GROUP: '资源压制小组',
|
||||
BLACK_TOOLTIP: '<h4>提示:</h4>下面列出的所有客户端都已被服务器禁止,使用它们将不能下载到任何数据, 如需其它帮助,请与我们的 <strong><a href="mailto:{{admin}}">系统管理员</a> </strong>联系.',
|
||||
@@ -1192,7 +1196,7 @@
|
||||
READ_ONLY_REPLY: '*** 只读话题,不能发表回复!',
|
||||
TITLE_READONLY: '只读',
|
||||
TITLE_VIPONLY: 'vip 专区',
|
||||
TITLE_OPERONLY: 'oper 专区',
|
||||
TITLE_OPERONLY: '管理员专区',
|
||||
TODAY_NEW_COUNT_ALL: '(今日: <mark class="text-danger">{{topic}}</mark> 话题, <mark class="text-danger">{{reply}}</mark> 回复)',
|
||||
TODAY_NEW_COUNT_TOPIC: '(今日: <mark class="text-danger">{{topic}}</mark> 话题)',
|
||||
TODAY_NEW_COUNT_REPLY: '(今日: <mark class="text-danger">{{reply}}</mark> 回复)',
|
||||
|
||||
Reference in New Issue
Block a user