diff options
author | wxiaoguang <wxiaoguang@gmail.com> | 2023-09-25 20:42:40 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-25 20:42:40 +0800 |
commit | 93bd4351bfb4a2f5f37ecb80d50496d044240e00 (patch) | |
tree | 4443b001284cf4f4f6932b909b9b70317b2428f7 /templates/user/dashboard/feeds.tmpl | |
parent | 7960ba7e2bbe2eb6f98f6d99f2ce105468cdf56e (diff) | |
download | gitea-93bd4351bfb4a2f5f37ecb80d50496d044240e00.tar.gz gitea-93bd4351bfb4a2f5f37ecb80d50496d044240e00.zip |
Fix more "locale" usages (#27259)
Diffstat (limited to 'templates/user/dashboard/feeds.tmpl')
-rw-r--r-- | templates/user/dashboard/feeds.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/user/dashboard/feeds.tmpl b/templates/user/dashboard/feeds.tmpl index 81406515e5..a03da1072d 100644 --- a/templates/user/dashboard/feeds.tmpl +++ b/templates/user/dashboard/feeds.tmpl @@ -113,7 +113,7 @@ <div class="flex-item-body">{{ctx.Locale.Tr "action.review_dismissed_reason"}}</div> <div class="flex-item-body">{{index .GetIssueInfos 2 | RenderEmoji $.Context}}</div> {{end}} - <div class="flex-item-body">{{TimeSince .GetCreate $.locale}}</div> + <div class="flex-item-body">{{TimeSince .GetCreate ctx.Locale}}</div> </div> <div class="flex-item-trailing"> {{svg (printf "octicon-%s" (ActionIcon .GetOpType)) 32 "text grey gt-mr-2"}} |