diff options
author | wxiaoguang <wxiaoguang@gmail.com> | 2024-02-23 01:02:33 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-22 17:02:33 +0000 |
commit | 7a1557d2cc893030ae900c4333eeb12d84b891dc (patch) | |
tree | 4e9e30c2f12419d46dfba40dd17de93bf1248b78 /templates/shared/user | |
parent | f390d5eb4f4db21eeacdf2e7a093f6bd4e87c96f (diff) | |
download | gitea-7a1557d2cc893030ae900c4333eeb12d84b891dc.tar.gz gitea-7a1557d2cc893030ae900c4333eeb12d84b891dc.zip |
Remove unnecessary "Safe" modifier from templates (#29318)
Follow #29165
Diffstat (limited to 'templates/shared/user')
-rw-r--r-- | templates/shared/user/profile_big_avatar.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/shared/user/profile_big_avatar.tmpl b/templates/shared/user/profile_big_avatar.tmpl index 9ea8334881..19a3b25cc5 100644 --- a/templates/shared/user/profile_big_avatar.tmpl +++ b/templates/shared/user/profile_big_avatar.tmpl @@ -81,7 +81,7 @@ </li> {{end}} {{end}} - <li>{{svg "octicon-calendar"}} <span>{{ctx.Locale.Tr "user.joined_on" (DateTime "short" .ContextUser.CreatedUnix) | Safe}}</span></li> + <li>{{svg "octicon-calendar"}} <span>{{ctx.Locale.Tr "user.joined_on" (DateTime "short" .ContextUser.CreatedUnix)}}</span></li> {{if and .Orgs .HasOrgsVisible}} <li> <ul class="user-orgs"> |