]> source.dussan.org Git - gitea.git/commit
Refactor template ctx and render utils (#32422)
authorwxiaoguang <wxiaoguang@gmail.com>
Tue, 5 Nov 2024 06:04:26 +0000 (14:04 +0800)
committerGitHub <noreply@github.com>
Tue, 5 Nov 2024 06:04:26 +0000 (14:04 +0800)
commit4a469c8e1b3c1d153316aec9fd8cbdd3e1dd54e8
tree3fc7eae5668299c7dbd5933cd14839bbccacefdd
parentb068dbd40ee3b4dc7d18cdcf168f0c24cea234c0
Refactor template ctx and render utils (#32422)

Clean up the templates
53 files changed:
modules/templates/helper.go
modules/templates/util_date.go
modules/templates/util_date_legacy.go [new file with mode: 0644]
modules/templates/util_render.go
modules/templates/util_render_legacy.go [new file with mode: 0644]
modules/templates/util_render_test.go
routers/web/feed/convert.go
routers/web/org/projects.go
routers/web/repo/issue.go
services/context/context.go
templates/base/head_script.tmpl
templates/explore/repo_list.tmpl
templates/org/team/new.tmpl
templates/org/team/sidebar.tmpl
templates/package/content/cargo.tmpl
templates/package/content/chef.tmpl
templates/package/content/composer.tmpl
templates/package/content/npm.tmpl
templates/package/content/nuget.tmpl
templates/package/content/pub.tmpl
templates/package/content/pypi.tmpl
templates/projects/view.tmpl
templates/repo/branch/list.tmpl
templates/repo/commit_page.tmpl
templates/repo/commits_list.tmpl
templates/repo/commits_list_small.tmpl
templates/repo/diff/compare.tmpl
templates/repo/graph/commits.tmpl
templates/repo/header.tmpl
templates/repo/issue/card.tmpl
templates/repo/issue/fields/checkboxes.tmpl
templates/repo/issue/fields/header.tmpl
templates/repo/issue/fields/markdown.tmpl
templates/repo/issue/filter_actions.tmpl
templates/repo/issue/filter_list.tmpl
templates/repo/issue/labels/label.tmpl
templates/repo/issue/labels/label_list.tmpl
templates/repo/issue/labels/labels_selector_field.tmpl
templates/repo/issue/new_form.tmpl
templates/repo/issue/view_content/comments.tmpl
templates/repo/issue/view_content/pull.tmpl
templates/repo/issue/view_content/sidebar.tmpl
templates/repo/issue/view_title.tmpl
templates/repo/latest_commit.tmpl
templates/repo/pulse.tmpl
templates/repo/settings/collaboration.tmpl
templates/repo/settings/lfs_file_find.tmpl
templates/repo/settings/navbar.tmpl
templates/repo/settings/options.tmpl
templates/repo/view_list.tmpl
templates/shared/issuelist.tmpl
templates/user/dashboard/feeds.tmpl
templates/user/notification/notification_div.tmpl