mirror of
https://github.com/go-gitea/gitea
synced 2024-11-16 15:01:07 +01:00
24c66c5096
Partially backport #29985, fix some template errors. * fix the manual-merge form * fix the 404 page
10 lines
571 B
Handlebars
10 lines
571 B
Handlebars
{{template "base/head" .}}
|
|
<div role="main" aria-label="{{.Title}}" class="page-content {{if .IsRepo}}repository{{end}}">
|
|
{{if .IsRepo}}{{template "repo/header" .}}{{end}}
|
|
<div class="ui container center">
|
|
<img style="margin: 50px 0; max-width: 80vw" src="{{AssetUrlPrefix}}/img/404.png" alt="404">
|
|
<p>{{if .NotFoundPrompt}}{{.NotFoundPrompt}}{{else}}{{ctx.Locale.Tr "error404" | Safe}}{{end}}</p>
|
|
{{if .NotFoundGoBackURL}}<a class="ui button green" href="{{.NotFoundGoBackURL}}">{{ctx.Locale.Tr "go_back"}}</a>{{end}}
|
|
</div>
|
|
</div>
|
|
{{template "base/footer" .}}
|