forgejo/templates/shared/user
wxiaoguang 81925ebb0c
Refactor more code in templates ()
Follow .

* 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 () 2023-05-26 18:58:11 +02:00
avatarlink.tmpl Use template context function for avatar rendering () 2023-08-10 11:19:39 +08:00
name.tmpl Always use whole user name as link () 2023-10-30 09:53:16 +00:00
namelink.tmpl Timeline and color tweaks () 2022-11-19 12:02:30 +08:00
org_profile_avatar.tmpl Add word-break to organization name and description () 2023-10-25 10:40:39 +00:00
profile_big_avatar.tmpl Refactor more code in templates () 2024-02-19 22:58:32 +01:00