forgejo-federation/templates/shared/user
wxiaoguang 81925ebb0c
Refactor more code in templates (#29236)
Follow #29165.

* Introduce JSONTemplate to help to render JSON templates
* Introduce JSEscapeSafe for templates. Now only use `{{ ... |
JSEscape}}` instead of `{{ ... | JSEscape | Safe}}`
* Simplify "UserLocationMapURL" useage

(cherry picked from commit 31bb9f3247388b993c61a10190cfd512408ce57e)
2024-02-19 22:58:32 +01:00
..
authorlink.tmpl Show bot label next to username when rendering autor link if the user is a bot (#24943) 2023-05-26 18:58:11 +02:00
avatarlink.tmpl Use template context function for avatar rendering (#26385) 2023-08-10 11:19:39 +08:00
name.tmpl Always use whole user name as link (#27815) 2023-10-30 09:53:16 +00:00
namelink.tmpl Timeline and color tweaks (#21799) 2022-11-19 12:02:30 +08:00
org_profile_avatar.tmpl Add word-break to organization name and description (#26624) 2023-10-25 10:40:39 +00:00
profile_big_avatar.tmpl Refactor more code in templates (#29236) 2024-02-19 22:58:32 +01:00