mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-07-07 21:54:08 +02:00
feat(about): add manual of FAQ
This commit is contained in:
@@ -123,6 +123,14 @@
|
||||
pageTitle: 'PAGETITLE.REPORT_RULES'
|
||||
}
|
||||
})
|
||||
.state('about.manual.faq', {
|
||||
url: '/faq',
|
||||
templateUrl: '/modules/about/client/views/faq.client.view.html',
|
||||
data: {
|
||||
roles: ['user', 'oper', 'admin'],
|
||||
pageTitle: 'PAGETITLE.MANUAL_FAQ'
|
||||
}
|
||||
})
|
||||
.state('about.black', {
|
||||
url: '/black',
|
||||
templateUrl: '/modules/about/client/views/black.client.view.html',
|
||||
|
||||
1
modules/about/client/templates/manual-faq-en.md
Normal file
1
modules/about/client/templates/manual-faq-en.md
Normal file
@@ -0,0 +1 @@
|
||||
## MANUAL FAQ
|
||||
1
modules/about/client/templates/manual-faq-zh.md
Normal file
1
modules/about/client/templates/manual-faq-zh.md
Normal file
@@ -0,0 +1 @@
|
||||
## 问题解答
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
 
|
||||
|
||||
#### How to calculate the level?
|
||||
#### :white_small_square: How to calculate the level?
|
||||
1. User score level calculation formula is: `sqrt(score number / %(scoreConfig.levelStep)s)`.
|
||||
1. Level`1` score is: `1 * 1 * %(scoreConfig.levelStep)s`.
|
||||
1. Level`2` score is: `2 * 2 * %(scoreConfig.levelStep)s`.
|
||||
@@ -14,5 +14,5 @@
|
||||
|
||||
 
|
||||
|
||||
#### How to use the level?
|
||||
#### :white_small_square: How to use the level?
|
||||
_The management group is making relevant level rights and interests, please keep the attention, thank you!_
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
 
|
||||
|
||||
#### 如何计算用户等级?
|
||||
#### :white_small_square: 如何计算用户等级?
|
||||
1. 用户积分级别数学计算公式为: `sqrt(score number / %(scoreConfig.levelStep)s)`.
|
||||
1. 级别`1` 需要积分累计: `1 * 1 * %(scoreConfig.levelStep)s`.
|
||||
1. 级别`2` 需要积分累计: `2 * 2 * %(scoreConfig.levelStep)s`.
|
||||
@@ -14,5 +14,5 @@
|
||||
|
||||
 
|
||||
|
||||
#### 如何使用用户等级?
|
||||
#### :white_small_square: 如何使用用户等级?
|
||||
_管理组正在制定相关的级别权益,请保持关注,谢谢!_
|
||||
|
||||
4
modules/about/client/views/faq.client.view.html
Normal file
4
modules/about/client/views/faq.client.view.html
Normal file
@@ -0,0 +1,4 @@
|
||||
<section ng-controller="AboutController as vm"
|
||||
ng-init="vm.getTemplateFileContent('/modules/about/client/templates/manual-faq-'+vm.lang+'.md')">
|
||||
<span ng-bind-html="vm.getTemplateMarkedContent()"></span>
|
||||
</section>
|
||||
@@ -28,6 +28,8 @@
|
||||
ui-sref-active="active">{{'ABOUT.MENU_ABOUT_MANUAL_REQUEST_RULES' | translate}}</a>
|
||||
<a ui-sref="about.manual.reportRules" class="list-group-item"
|
||||
ui-sref-active="active">{{'ABOUT.MENU_ABOUT_MANUAL_REPORT_RULES' | translate}}</a>
|
||||
<a ui-sref="about.manual.faq" class="list-group-item"
|
||||
ui-sref-active="active">{{'ABOUT.MENU_ABOUT_MANUAL_FAQ' | translate}}</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-8 col-md-9 padding-bottom-30 manual-line-height">
|
||||
|
||||
@@ -208,6 +208,7 @@
|
||||
FORBID_RULES: 'Forbid And Punish Rules',
|
||||
REQUEST_RULES: 'Requests Rules',
|
||||
REPORT_RULES: 'Report Rules',
|
||||
MANUAL_FAQ: 'FAQ',
|
||||
BLACK: 'Client Black List',
|
||||
MAKER: 'Torrents Maker Group',
|
||||
OPERLIST: 'Admin/Oper List',
|
||||
@@ -624,6 +625,7 @@
|
||||
MENU_ABOUT_MANUAL_FORBID_PUNISH_RULES: 'Forbid And Punish Rules Detail',
|
||||
MENU_ABOUT_MANUAL_REQUEST_RULES: 'Requests Rules Detail',
|
||||
MENU_ABOUT_MANUAL_REPORT_RULES: 'Report Rules Detail',
|
||||
MENU_ABOUT_MANUAL_FAQ: 'FAQ',
|
||||
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>.',
|
||||
|
||||
@@ -208,6 +208,7 @@
|
||||
FORBID_RULES: '禁令与处罚细则',
|
||||
REQUEST_RULES: '求种细则',
|
||||
REPORT_RULES: '投诉与举报细则',
|
||||
MANUAL_FAQ: '问题解答',
|
||||
BLACK: '禁止客户端列表',
|
||||
MAKER: '资源压制小组',
|
||||
OPERLIST: 'Admin/Oper 列表',
|
||||
@@ -624,6 +625,7 @@
|
||||
MENU_ABOUT_MANUAL_FORBID_PUNISH_RULES: '禁令与处罚细则',
|
||||
MENU_ABOUT_MANUAL_REQUEST_RULES: '求种细则',
|
||||
MENU_ABOUT_MANUAL_REPORT_RULES: '投诉与举报细则',
|
||||
MENU_ABOUT_MANUAL_FAQ: '问题解答',
|
||||
CLIENT_BLACK_LIST: '禁止客户端列表',
|
||||
MAKER_GROUP: '资源压制小组',
|
||||
BLACK_TOOLTIP: '<h4>提示:</h4>下面列出的所有客户端都已被服务器禁止,使用它们将不能下载到任何数据, 如需其它帮助,请与我们的 <strong><a href="mailto:{{admin}}">系统管理员</a> </strong>联系.',
|
||||
|
||||
Reference in New Issue
Block a user