gitea/templates/repo/diff
wxiaoguang 36c0840cf1
Merge template functions "dict/Dict/mergeinto" ()
One of the steps in 


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 ......
..
blob_excerpt.tmpl Fix code view (diff) broken layout ()
box.tmpl Introduce GitHub markdown editor, keep EasyMDE as fallback ()
comment_form.tmpl Introduce GitHub markdown editor, keep EasyMDE as fallback ()
comment_form_datahandler.tmpl Make sure fmt catches all templates ()
comments.tmpl Merge template functions "dict/Dict/mergeinto" ()
compare.tmpl Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none ()
conversation.tmpl Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none ()
csv_diff.tmpl Fix CSV diff for added/deleted files ()
escape_title.tmpl Switch Unicode Escaping to a VSCode-like system ()
image_diff.tmpl Remove incorrect HTML self close tag ()
new_comment.tmpl Do not reload page after adding comments in Pull Request reviews ()
new_review.tmpl Introduce GitHub markdown editor, keep EasyMDE as fallback ()
options_dropdown.tmpl Fix incorrect `toggle` buttons ()
section_code.tmpl Switch Unicode Escaping to a VSCode-like system ()
section_split.tmpl Merge template functions "dict/Dict/mergeinto" ()
section_unified.tmpl Merge template functions "dict/Dict/mergeinto" ()
stats.tmpl Use a general Eval function for expressions in templates. ()
whitespace_dropdown.tmpl Fix incorrect `toggle` buttons ()