0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-02-11 00:24:40 +01:00
gitea/modules/templates
wxiaoguang 2a828e2798
Clarify path param naming (#32969)
In history (from some legacy frameworks), both `:name` and `name` are
supported as path path name, `:name` is an alias to `name`.

To make code consistent, now we should only use `name` but not `:name`.

Also added panic check in related functions to make sure the name won't
be abused in case some downstreams still use them.
2024-12-24 13:47:45 +00:00
..
eval
scopedtmpl
vars
base.go
dynamic.go
helper_test.go Refactor template & test related code (#32938) 2024-12-22 15:33:19 +00:00
helper.go Clarify path param naming (#32969) 2024-12-24 13:47:45 +00:00
htmlrenderer_test.go
htmlrenderer.go Refactor template & test related code (#32938) 2024-12-22 15:33:19 +00:00
mailer.go
static.go
templates_bindata.go
util_avatar.go Refactor markup render system (#32533) 2024-11-18 13:25:42 +08:00
util_date_legacy.go Refactor template ctx and render utils (#32422) 2024-11-05 14:04:26 +08:00
util_date_test.go
util_date.go Update golangci-lint to v1.62.2, fix issues (#32845) 2024-12-15 02:31:07 +00:00
util_dict.go
util_format_test.go Refactor template & test related code (#32938) 2024-12-22 15:33:19 +00:00
util_format.go Refactor template & test related code (#32938) 2024-12-22 15:33:19 +00:00
util_json.go
util_misc.go
util_render_legacy.go Refactor template ctx and render utils (#32422) 2024-11-05 14:04:26 +08:00
util_render_test.go Fix issue title rendering and refactor legacy function names (#32703) 2024-12-04 01:39:33 +00:00
util_render.go Fix issue title rendering and refactor legacy function names (#32703) 2024-12-04 01:39:33 +00:00
util_slice.go
util_string.go Do not display attestation-manifest and use short sha256 instead of full sha256 (#32851) 2024-12-16 10:22:49 +08:00
util_test.go