diff --git a/templates/repo/issue/view_content/pull.tmpl b/templates/repo/issue/view_content/pull.tmpl index 409af3a5d5..128a4cc03c 100644 --- a/templates/repo/issue/view_content/pull.tmpl +++ b/templates/repo/issue/view_content/pull.tmpl @@ -360,7 +360,7 @@ {{if and $.StillCanManualMerge (not $showGeneralMergeForm)}}
-
+ {{.CsrfTokenHtml}}
diff --git a/templates/status/404.tmpl b/templates/status/404.tmpl index 74bb8762bd..86aa7587ff 100644 --- a/templates/status/404.tmpl +++ b/templates/status/404.tmpl @@ -1,14 +1,10 @@ {{template "base/head" .}} -
+
{{if .IsRepo}}{{template "repo/header" .}}{{end}}
-

404

+ 404

{{if .NotFoundPrompt}}{{.NotFoundPrompt}}{{else}}{{ctx.Locale.Tr "error404" | Safe}}{{end}}

{{if .NotFoundGoBackURL}}{{ctx.Locale.Tr "go_back"}}{{end}} - -
-
- {{if .ShowFooterVersion}}

{{ctx.Locale.Tr "admin.config.app_ver"}}: {{AppVer}}

{{end}}
{{template "base/footer" .}}