mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-03-06 12:11:02 +01:00
feat(about): add seed and download rules
This commit is contained in:
7
modules/about/client/templates/download-rules-en.md
Normal file
7
modules/about/client/templates/download-rules-en.md
Normal file
@@ -0,0 +1,7 @@
|
||||
## This is the `SEED AND DOWNLOAD RULES` of %(appConfig.name)s
|
||||
|
||||
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/download-rules-xx.md`.
|
||||
|
||||
The `xx` is the language flag, like `zh`,`en` etc.
|
||||
7
modules/about/client/templates/download-rules-zh.md
Normal file
7
modules/about/client/templates/download-rules-zh.md
Normal file
@@ -0,0 +1,7 @@
|
||||
## 这是 `SEED AND DOWNLOAD RULES` 发种规则文档
|
||||
|
||||
这些规则内容是从模板文件读取, 它完全支持 `markdown` 语法风格.
|
||||
|
||||
如果你想修改规则内容, 请编辑 .md 文件, 它存放于 `modules/about/client/templates/download-rules-xx.md`.
|
||||
|
||||
`xx` 代表语言标识符, 如 `zh`,`en` 等.
|
||||
@@ -0,0 +1,4 @@
|
||||
<section ng-controller="AboutController as vm"
|
||||
ng-init="vm.getTemplateFileContent('/modules/about/client/templates/download-rules-'+vm.lang+'.md')">
|
||||
<span ng-bind-html="vm.getTemplateMarkedContent()"></span>
|
||||
</section>
|
||||
Reference in New Issue
Block a user