1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-04 14:46:57 -05:00
gitea/routers
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
..
api Refactor more code in templates (#29236) 2024-02-18 10:52:02 +01:00
common Rework markup link rendering (#26745) 2024-01-15 08:49:24 +00:00
install Refactor JWT secret generating & decoding code (#29172) 2024-02-16 15:18:30 +00:00
private Simplify how git repositories are opened (#28937) 2024-01-27 21:09:51 +01:00
utils Improve user search display name (#29002) 2024-02-01 17:10:16 +00:00
web Refactor more code in templates (#29236) 2024-02-18 10:52:02 +01:00
init.go Allow to sync tags from admin dashboard (#28045) 2024-01-24 03:02:04 +00:00