2015-11-26 02:10:25 +01:00
|
|
|
{{template "base/head" .}}
|
2023-02-01 23:56:10 +01:00
|
|
|
<div role="main" aria-label="{{.Title}}" class="page-content repository wiki start">
|
2015-11-26 02:10:25 +01:00
|
|
|
{{template "repo/header" .}}
|
2015-12-07 23:30:52 +01:00
|
|
|
<div class="ui container">
|
|
|
|
<div class="ui center segment">
|
2020-02-11 18:02:41 +01:00
|
|
|
{{svg "octicon-book" 32}}
|
2022-06-27 22:58:46 +02:00
|
|
|
<h2>{{.locale.Tr "repo.wiki.welcome"}}</h2>
|
|
|
|
<p>{{.locale.Tr "repo.wiki.welcome_desc"}}</p>
|
2018-11-28 12:26:14 +01:00
|
|
|
{{if and .CanWriteWiki (not .Repository.IsMirror)}}
|
2022-06-27 22:58:46 +02:00
|
|
|
<a class="ui green button" href="{{.RepoLink}}/wiki?action=_new">{{.locale.Tr "repo.wiki.create_first_page"}}</a>
|
2015-12-07 23:30:52 +01:00
|
|
|
{{end}}
|
|
|
|
</div>
|
2015-11-26 02:10:25 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
2015-12-07 23:30:52 +01:00
|
|
|
{{template "base/footer" .}}
|