gitea/templates/repo/diff
silverwind 73b63d9311
Replace ajax with fetch, improve image diff ()
1. Dropzone attachment removal, pretty simple replacement
2. Image diff: The previous code fetched every image twice, once via
`img[src]` and once via `$.ajax`. Now it's only fetched once and a
second time only when necessary. The image diff code was partially
rewritten.

---------

Co-authored-by: Giteabot <teabot@gitea.io>
..
blob_excerpt.tmpl Fix more "locale" usages ()
box.tmpl Replace ajax with fetch, improve image diff ()
comment_form.tmpl Always use `ctx.Locale.Tr` inside templates ()
comment_form_datahandler.tmpl
comments.tmpl Fix more "locale" usages ()
compare.tmpl Penultimate round of `db.DefaultContext` refactor ()
conversation.tmpl Always use `ctx.Locale.Tr` inside templates ()
csv_diff.tmpl
escape_title.tmpl cleanup locale function usage ()
image_diff.tmpl Replace ajax with fetch, improve image diff ()
new_comment.tmpl
new_review.tmpl Always use `ctx.Locale.Tr` inside templates ()
options_dropdown.tmpl Always use `ctx.Locale.Tr` inside templates ()
section_code.tmpl Add template linting via djlint ()
section_split.tmpl Fix more "locale" usages ()
section_unified.tmpl Fix more "locale" usages ()
stats.tmpl Always use `ctx.Locale.Tr` inside templates ()
whitespace_dropdown.tmpl Fix more "locale" usages ()