forgejo/templates/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
..
auth Refactor more code in templates (#29236) 2024-02-19 22:58:32 +01:00
dashboard Rework markup link rendering (#26745) 2024-01-15 08:49:24 +00:00
notification Refactor template empty checks (#28351) 2023-12-04 15:48:42 -06:00
overview Fix project counter in organization/individual profile (#28068) 2023-11-18 11:02:42 +08:00
settings Use "Safe" modifier for manually constructed safe HTML strings in templates (#29227) 2024-02-19 22:58:32 +01:00
code.tmpl
heatmap.tmpl
profile.tmpl [MODERATION] User blocking 2024-02-05 15:56:45 +01:00