diff options
author | wxiaoguang <wxiaoguang@gmail.com> | 2024-02-19 12:25:58 +0100 |
---|---|---|
committer | Earl Warren <contact@earl-warren.org> | 2024-02-19 22:58:33 +0100 |
commit | c7c20ff5ab6dd84eed79115c00c3f230963cc105 (patch) | |
tree | 998d938c6038d96395607c6b897a28e444219100 /templates | |
parent | Fix c/p error in inline documentation (#29148) (diff) | |
download | forgejo-c7c20ff5ab6dd84eed79115c00c3f230963cc105.tar.xz forgejo-c7c20ff5ab6dd84eed79115c00c3f230963cc105.zip |
Remove DataRaceCheck (#29258)
Since #26254, it started using `{{ctx.Locale.Tr ...}}`
Now the `ctx` seems stable enough, so the check could be removed.
(cherry picked from commit 567a68a0bf78c8d70f08c8ab948fdbb455225aa9)
Diffstat (limited to 'templates')
-rw-r--r-- | templates/base/footer.tmpl | 1 | ||||
-rw-r--r-- | templates/base/head.tmpl | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/templates/base/footer.tmpl b/templates/base/footer.tmpl index d65a3626a4..fed426a469 100644 --- a/templates/base/footer.tmpl +++ b/templates/base/footer.tmpl @@ -16,6 +16,5 @@ <script src="{{AssetUrlPrefix}}/js/index.js?v={{AssetVersion}}" onerror="alert('Failed to load asset files from ' + this.src + '. Please make sure the asset files can be accessed.')"></script> {{template "custom/footer" .}} - {{ctx.DataRaceCheck $.Context}} </body> </html> diff --git a/templates/base/head.tmpl b/templates/base/head.tmpl index d865d58b8e..a202ad7dd1 100644 --- a/templates/base/head.tmpl +++ b/templates/base/head.tmpl @@ -31,7 +31,6 @@ {{template "custom/header" .}} </head> <body hx-headers='{"x-csrf-token": "{{.CsrfToken}}"}' hx-swap="outerHTML" hx-ext="morph" hx-push-url="false"> - {{ctx.DataRaceCheck $.Context}} {{template "custom/body_outer_pre" .}} <div class="full height"> |