forgejo/templates/shared
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
..
actions [BRANDING] cosmetic s/Gitea/Forgejo/ in logs, messages, etc. 2024-02-05 16:02:14 +01: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-19 22:58:32 +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-17 23:24:30 +01:00
blocked_users_list.tmpl [MODERATION] User blocking 2024-02-05 15:56:45 +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