0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-23 02:54:19 +01:00
gitea/templates/swagger
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
..
ui.tmpl Always use ctx.Locale.Tr inside templates (#27231) 2023-09-25 08:56:50 +00:00
v1_json.tmpl Refactor more code in templates (#29236) 2024-02-18 10:52:02 +01:00