mirror of
https://github.com/go-gitea/gitea
synced 2024-12-29 03:24:40 +01:00
b1cf7f4df1
* Add class to page content to unify top margin Previously pages would individually set this margin but some didn't so content would stick to the header without any space. Resolve this by adding a new class that is added on all pages. The only place where we remove this margin again is on the pages with menu or wrapper in the header. * fix admin notices * fix team pages * fix loading segment on gitgraph for arc-green * fix last missing case Co-authored-by: techknowlogick <techknowlogick@gitea.io>
15 lines
518 B
Handlebars
15 lines
518 B
Handlebars
{{template "base/head" .}}
|
|
<div class="page-content repository wiki start">
|
|
{{template "repo/header" .}}
|
|
<div class="ui container">
|
|
<div class="ui center segment">
|
|
{{svg "octicon-book" 32}}
|
|
<h2>{{.i18n.Tr "repo.wiki.welcome"}}</h2>
|
|
<p>{{.i18n.Tr "repo.wiki.welcome_desc"}}</p>
|
|
{{if and .CanWriteWiki (not .Repository.IsMirror)}}
|
|
<a class="ui green button" href="{{.RepoLink}}/wiki/_new">{{.i18n.Tr "repo.wiki.create_first_page"}}</a>
|
|
{{end}}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{{template "base/footer" .}}
|