summaryrefslogtreecommitdiffstats
path: root/templates/repo/settings/webhook/history.tmpl
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2023-09-25 20:42:40 +0800
committerGitHub <noreply@github.com>2023-09-25 20:42:40 +0800
commit93bd4351bfb4a2f5f37ecb80d50496d044240e00 (patch)
tree4443b001284cf4f4f6932b909b9b70317b2428f7 /templates/repo/settings/webhook/history.tmpl
parent7960ba7e2bbe2eb6f98f6d99f2ce105468cdf56e (diff)
downloadgitea-93bd4351bfb4a2f5f37ecb80d50496d044240e00.tar.gz
gitea-93bd4351bfb4a2f5f37ecb80d50496d044240e00.zip
Fix more "locale" usages (#27259)
Diffstat (limited to 'templates/repo/settings/webhook/history.tmpl')
-rw-r--r--templates/repo/settings/webhook/history.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/settings/webhook/history.tmpl b/templates/repo/settings/webhook/history.tmpl
index fd404ae834..3c21a42421 100644
--- a/templates/repo/settings/webhook/history.tmpl
+++ b/templates/repo/settings/webhook/history.tmpl
@@ -25,7 +25,7 @@
<a class="ui primary sha label toggle button show-panel" data-panel="#info-{{.ID}}">{{.UUID}}</a>
</div>
<span class="text grey">
- {{TimeSince .Delivered.AsTime $.locale}}
+ {{TimeSince .Delivered.AsTime ctx.Locale}}
</span>
</div>
<div class="info gt-hidden" id="info-{{.ID}}">