From bcfec96dbb12fb6fe503ebe1a3c9bf7cfa8ad555 Mon Sep 17 00:00:00 2001 From: OldHawk Date: Mon, 19 Mar 2018 15:39:51 +0800 Subject: [PATCH] feat(about): add seed and download rules --- modules/about/client/templates/download-rules-en.md | 7 +++++++ modules/about/client/templates/download-rules-zh.md | 7 +++++++ modules/about/client/views/downloadRules.client.view.html | 4 ++++ 3 files changed, 18 insertions(+) create mode 100644 modules/about/client/templates/download-rules-en.md create mode 100644 modules/about/client/templates/download-rules-zh.md create mode 100644 modules/about/client/views/downloadRules.client.view.html diff --git a/modules/about/client/templates/download-rules-en.md b/modules/about/client/templates/download-rules-en.md new file mode 100644 index 00000000..9264bc46 --- /dev/null +++ b/modules/about/client/templates/download-rules-en.md @@ -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. \ No newline at end of file diff --git a/modules/about/client/templates/download-rules-zh.md b/modules/about/client/templates/download-rules-zh.md new file mode 100644 index 00000000..d0cefd32 --- /dev/null +++ b/modules/about/client/templates/download-rules-zh.md @@ -0,0 +1,7 @@ +## 这是 `SEED AND DOWNLOAD RULES` 发种规则文档 + +这些规则内容是从模板文件读取, 它完全支持 `markdown` 语法风格. + +如果你想修改规则内容, 请编辑 .md 文件, 它存放于 `modules/about/client/templates/download-rules-xx.md`. + +`xx` 代表语言标识符, 如 `zh`,`en` 等. \ No newline at end of file diff --git a/modules/about/client/views/downloadRules.client.view.html b/modules/about/client/views/downloadRules.client.view.html new file mode 100644 index 00000000..718ac583 --- /dev/null +++ b/modules/about/client/views/downloadRules.client.view.html @@ -0,0 +1,4 @@ +
+ +
\ No newline at end of file