mirror of
https://github.com/go-gitea/gitea
synced 2025-12-07 05:18:29 +00:00
Always use ctx.Locale.Tr inside templates (#27231)
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
{{else if .Location}}
|
||||
{{svg "octicon-location"}} {{.Location}}
|
||||
{{else}}
|
||||
{{svg "octicon-calendar"}} {{$.locale.Tr "user.joined_on" (DateTime "short" .CreatedUnix) | Safe}}
|
||||
{{svg "octicon-calendar"}} {{ctx.Locale.Tr "user.joined_on" (DateTime "short" .CreatedUnix) | Safe}}
|
||||
{{end}}
|
||||
</div>
|
||||
</li>
|
||||
|
||||
Reference in New Issue
Block a user