2015-11-25 20:10:25 -05:00
|
|
|
{{template "base/head" .}}
|
|
|
|
<div class="repository wiki start">
|
|
|
|
{{template "repo/header" .}}
|
2015-12-07 17:30:52 -05:00
|
|
|
<div class="ui container">
|
|
|
|
<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>
|
2018-11-28 06:26:14 -05:00
|
|
|
{{if and .CanWriteWiki (not .Repository.IsMirror)}}
|
2015-12-07 17:30:52 -05:00
|
|
|
<a class="ui green button" href="{{.RepoLink}}/wiki/_new">{{.i18n.Tr "repo.wiki.create_first_page"}}</a>
|
|
|
|
{{end}}
|
|
|
|
</div>
|
2015-11-25 20:10:25 -05:00
|
|
|
</div>
|
|
|
|
</div>
|
2015-12-07 17:30:52 -05:00
|
|
|
{{template "base/footer" .}}
|