mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-07-05 22:27:36 +02:00
feat(about): invitation rule files
This commit is contained in:
7
modules/about/client/templates/invitations-rules-en.md
Normal file
7
modules/about/client/templates/invitations-rules-en.md
Normal file
@@ -0,0 +1,7 @@
|
||||
## This is the `INVITATIONS 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/invitations-rules-xx.md`.
|
||||
|
||||
The `xx` is the language flag, like `zh`,`en` etc.
|
||||
7
modules/about/client/templates/invitations-rules-zh.md
Normal file
7
modules/about/client/templates/invitations-rules-zh.md
Normal file
@@ -0,0 +1,7 @@
|
||||
## 这是 `INVITATIONS RULES` 邀请函规则文档
|
||||
|
||||
这些规则内容是从模板文件读取, 它完全支持 `markdown` 语法风格.
|
||||
|
||||
如果你想修改规则内容, 请编辑 .md 文件, 它存放于 `modules/about/client/templates/invitations-rules-xx.md`.
|
||||
|
||||
`xx` 代表语言标识符, 如 `zh`,`en` 等.
|
||||
@@ -0,0 +1,4 @@
|
||||
<section ng-controller="AboutController as vm">
|
||||
<div marked src="'/modules/about/client/templates/invitations-rules-'+vm.lang+'.md'" compile="true">
|
||||
</div>
|
||||
</section>
|
||||
Reference in New Issue
Block a user