2015-11-25 20:10:25 -05:00
|
|
|
{{template "base/head" .}}
|
2023-02-01 17:56:10 -05:00
|
|
|
<div role="main" aria-label="{{.Title}}" class="page-content repository wiki start">
|
2015-11-25 20:10:25 -05:00
|
|
|
{{template "repo/header" .}}
|
2015-12-07 17:30:52 -05:00
|
|
|
<div class="ui container">
|
2023-06-23 15:51:43 -04:00
|
|
|
<div class="ui center segment gt-py-5">
|
|
|
|
{{svg "octicon-book" 48}}
|
2022-06-27 16:58:46 -04:00
|
|
|
<h2>{{.locale.Tr "repo.wiki.welcome"}}</h2>
|
|
|
|
<p>{{.locale.Tr "repo.wiki.welcome_desc"}}</p>
|
2018-11-28 06:26:14 -05:00
|
|
|
{{if and .CanWriteWiki (not .Repository.IsMirror)}}
|
2023-09-18 18:05:31 -04:00
|
|
|
<a class="ui primary button" href="{{.RepoLink}}/wiki?action=_new">{{.locale.Tr "repo.wiki.create_first_page"}}</a>
|
2015-12-07 17:30:52 -05:00
|
|
|
{{end}}
|
|
|
|
</div>
|
2015-11-25 20:10:25 -05:00
|
|
|
</div>
|
|
|
|
</div>
|
2015-12-07 17:30:52 -05:00
|
|
|
{{template "base/footer" .}}
|