gitea/templates/shared
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
..
actions Remove autofocus in search box (#28033) 2023-11-20 08:57:46 +00:00
secrets Always use ctx.Locale.Tr inside templates (#27231) 2023-09-25 08:56:50 +00:00
user Refactor more code in templates (#29236) 2024-02-18 10:52:02 +01:00
variables Fix tooltip of variable edit button (#28681) 2024-01-03 06:25:19 +00:00
webhook Change webhook-type in create-view (#29114) 2024-02-15 14:59:48 +01:00
combomarkdowneditor.tmpl cleanup locale function usage (#27227) 2023-09-24 20:31:58 +00:00
issueicon.tmpl Penultimate round of db.DefaultContext refactor (#27414) 2023-10-11 04:24:07 +00:00
issuelist.tmpl Refactor timeutil package (#28623) 2023-12-28 10:09:57 +00:00
searchbottom.tmpl Fix more "locale" usages (#27259) 2023-09-25 20:42:40 +08:00
searchinput.tmpl Remove autofocus in search box (#28033) 2023-11-20 08:57:46 +00:00