aboutsummaryrefslogtreecommitdiffstats
path: root/templates/user/settings/security/webauthn.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/user/settings/security/webauthn.tmpl
parent7960ba7e2bbe2eb6f98f6d99f2ce105468cdf56e (diff)
downloadgitea-93bd4351bfb4a2f5f37ecb80d50496d044240e00.tar.gz
gitea-93bd4351bfb4a2f5f37ecb80d50496d044240e00.zip
Fix more "locale" usages (#27259)
Diffstat (limited to 'templates/user/settings/security/webauthn.tmpl')
-rw-r--r--templates/user/settings/security/webauthn.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/user/settings/security/webauthn.tmpl b/templates/user/settings/security/webauthn.tmpl
index 213e10cbaf..28d8511fb4 100644
--- a/templates/user/settings/security/webauthn.tmpl
+++ b/templates/user/settings/security/webauthn.tmpl
@@ -10,7 +10,7 @@
</div>
<div class="flex-item-main">
<div class="flex-item-title">{{.Name}}</div>
- <span class="flex-item-body time">{{TimeSinceUnix .CreatedUnix $.locale}}</span>
+ <span class="flex-item-body time">{{TimeSinceUnix .CreatedUnix ctx.Locale}}</span>
</div>
<div class="flex-item-trailing">
<button class="ui red tiny button delete-button" data-modal-id="delete-registration" data-url="{{$.Link}}/webauthn/delete" data-id="{{.ID}}">