1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-05 09:44:26 +00:00
gitea/templates/repo/issue/view_content
wxiaoguang 36c0840cf1
Merge template functions "dict/Dict/mergeinto" (#23932)
One of the steps in #23328


Before there were 3 different but similar functions: dict/Dict/mergeinto

The code was just copied & pasted, no test.

This PR defines a new stable `dict` function, it covers all the 3 old
functions behaviors, only +160 -171


Future developers do not need to think about or guess the different dict
functions, just use one: `dict`

Why use `dict` but not `Dict`? Because there are far more `dict` than
`Dict` in code already ......
2023-04-07 09:39:08 -05:00
..
add_reaction.tmpl Use data-tooltip-content for tippy tooltip (#23649) 2023-03-24 18:35:38 +08:00
attachments.tmpl Refactor ctx in templates (#23105) 2023-03-02 11:44:06 -06:00
comments_delete_time.tmpl Use data-tooltip-content for tippy tooltip (#23649) 2023-03-24 18:35:38 +08:00
comments.tmpl Merge template functions "dict/Dict/mergeinto" (#23932) 2023-04-07 09:39:08 -05:00
context_menu.tmpl Fix aria.js bugs: incorrect role element problem, mobile focus problem, tippy problem (#23450) 2023-03-17 11:08:05 +08:00
pull_merge_instruction.tmpl Refactor hiding-methods, remove jQuery show/hide, remove .hide class, remove inline style=display:none (#22950) 2023-02-19 12:06:14 +08:00
pull.tmpl Fix "Updating branch by merge" bug in "update_branch_by_merge.tmpl" (#23790) 2023-03-30 13:00:49 -04:00
reactions.tmpl Merge template functions "dict/Dict/mergeinto" (#23932) 2023-04-07 09:39:08 -05:00
reference_issue_dialog.tmpl Make sure fmt catches all templates (#20979) 2022-08-31 23:58:54 +08:00
sidebar.tmpl Refactor authors dropdown (send get request from frontend to avoid long wait time) (#23890) 2023-04-07 08:11:02 +08:00
update_branch_by_merge.tmpl Fix "Updating branch by merge" bug in "update_branch_by_merge.tmpl" (#23790) 2023-03-30 13:00:49 -04:00