0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-24 19:22:56 +01:00
gitea/templates/user
wxiaoguang 31bb9f3247
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
2024-02-18 10:52:02 +01:00
..
auth Refactor more code in templates (#29236) 2024-02-18 10:52:02 +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-18 01:48:59 +00:00
code.tmpl Fix inconsistent user profile layout across tabs (#25625) 2023-07-06 18:59:24 +00:00
heatmap.tmpl Fix more "locale" usages (#27259) 2023-09-25 20:42:40 +08:00
profile.tmpl Always use ctx.Locale.Tr inside templates (#27231) 2023-09-25 08:56:50 +00:00