feat(about): invitation rule files

This commit is contained in:
OldHawk
2018-03-15 12:37:16 +08:00
parent 5d8096a4f5
commit edeb1da27f
3 changed files with 18 additions and 0 deletions

View 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.

View File

@@ -0,0 +1,7 @@
## 这是 `INVITATIONS RULES` 邀请函规则文档
这些规则内容是从模板文件读取, 它完全支持 `markdown` 语法风格.
如果你想修改规则内容, 请编辑 .md 文件, 它存放于 `modules/about/client/templates/invitations-rules-xx.md`.
`xx` 代表语言标识符, 如 `zh`,`en` 等.

View File

@@ -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>