summaryrefslogtreecommitdiffstats
path: root/templates/repo/wiki/start.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/repo/wiki/start.tmpl')
-rw-r--r--templates/repo/wiki/start.tmpl16
1 files changed, 16 insertions, 0 deletions
diff --git a/templates/repo/wiki/start.tmpl b/templates/repo/wiki/start.tmpl
new file mode 100644
index 0000000000..757ab9bce0
--- /dev/null
+++ b/templates/repo/wiki/start.tmpl
@@ -0,0 +1,16 @@
+{{template "base/head" .}}
+<div class="repository wiki start">
+ {{template "repo/header" .}}
+ <div class="ui container">
+ {{template "repo/sidebar" .}}
+ <div class="ui center segment">
+ <span class="mega-octicon octicon-book"></span>
+ <h2>{{.i18n.Tr "repo.wiki.welcome"}}</h2>
+ <p>{{.i18n.Tr "repo.wiki.welcome_desc"}}</p>
+ {{if .IsSigned}}
+ <a class="ui green button" href="{{.RepoLink}}/wiki/_new">{{.i18n.Tr "repo.wiki.create_first_page"}}</a>
+ {{end}}
+ </div>
+ </div>
+</div>
+{{template "base/footer" .}} \ No newline at end of file