|
|
|
@ -7,7 +7,7 @@
|
|
|
|
<h2>{{ctx.Locale.Tr "repo.wiki.welcome"}}</h2>
|
|
|
|
<h2>{{ctx.Locale.Tr "repo.wiki.welcome"}}</h2>
|
|
|
|
<p>{{ctx.Locale.Tr "repo.wiki.welcome_desc"}}</p>
|
|
|
|
<p>{{ctx.Locale.Tr "repo.wiki.welcome_desc"}}</p>
|
|
|
|
{{if and .CanWriteWiki (not .Repository.IsMirror)}}
|
|
|
|
{{if and .CanWriteWiki (not .Repository.IsMirror)}}
|
|
|
|
<a class="ui primary button" href="{{.RepoLink}}/wiki?action=_new">{{ctx.Locale.Tr "repo.wiki.create_first_page"}}</a>
|
|
|
|
<a class="ui primary button tw-mr-0" href="{{.RepoLink}}/wiki?action=_new">{{ctx.Locale.Tr "repo.wiki.create_first_page"}}</a>
|
|
|
|
{{end}}
|
|
|
|
{{end}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|