You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/templates
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
1 year ago
..
admin Use "Safe" modifier for manually constructed safe HTML strings in templates (#29227) 1 year ago
api/packages/pypi Remove incorrect HTML self close tag (#23748) 2 years ago
base Auto-update the system status in admin dashboard (#29163) 1 year ago
code Fix 500 error of searching commits (#28576) 1 year ago
custom Add footer extra links template (#9576) 5 years ago
devtest Improve CSS helper naming (#28769) 1 year ago
explore Add support for sha256 repositories (#23894) 1 year ago
mail Refactor locale&string&template related code (#29165) 1 year ago
org Use "Safe" modifier for manually constructed safe HTML strings in templates (#29227) 1 year ago
package Fix some RPM registry flaws (#28782) 1 year ago
projects Use full width for project boards (#28225) 1 year ago
repo Use "Safe" modifier for manually constructed safe HTML strings in templates (#29227) 1 year ago
shared Refactor more code in templates (#29236) 1 year ago
status Clean up template locale usage (#27856) 1 year ago
swagger Refactor more code in templates (#29236) 1 year ago
user Refactor more code in templates (#29236) 1 year ago
webhook Change webhook-type in create-view (#29114) 1 year ago
home.tmpl Fix more "locale" usages (#27259) 2 years ago
install.tmpl Fix more "locale" usages (#27259) 2 years ago
post-install.tmpl Always use `ctx.Locale.Tr` inside templates (#27231) 2 years ago