mirror of
https://github.com/go-gitea/gitea
synced 2024-12-26 02:24:27 +00:00
24c66c5096
Partially backport #29985, fix some template errors. * fix the manual-merge form * fix the 404 page
11 lines
571 B
Handlebars
11 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" .}}
|