You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/templates/repo/diff
Yevhen Pavlov a36c620583
Display file mode for new file and file mode changes (#24966)
This MR introduces the addition of file mode display support for both
new file creation and file mode changes, following a similar approach as
GitLab.

GitLab:

![изображение](https://github.com/go-gitea/gitea/assets/1969460/4c0d0d74-30b2-486c-ac12-ef2355b04c96)


Gitea:

![изображение](https://github.com/go-gitea/gitea/assets/1969460/8237fe99-2507-42c0-a40c-cd52ad355ab7)

Replaces: https://github.com/go-gitea/gitea/pull/23159
Closes: https://github.com/go-gitea/gitea/issues/23021

---------

Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: delvh <dev.lh@web.de>
Co-authored-by: Giteabot <teabot@gitea.io>
2 years ago
..
blob_excerpt.tmpl Improve accessibility when (re-)viewing files (#24817) 2 years ago
box.tmpl Display file mode for new file and file mode changes (#24966) 2 years ago
comment_form.tmpl Introduce GitHub markdown editor, keep EasyMDE as fallback (#23876) 2 years ago
comment_form_datahandler.tmpl Make sure fmt catches all templates (#20979) 2 years ago
comments.tmpl Improve and fix bugs surrounding reactions (#24760) 2 years ago
compare.tmpl Remove fluid on compare diff page (#24627) 2 years ago
conversation.tmpl Start cleaning the messy ".ui.left / .ui.right", improve label list page, fix stackable menu (#24393) 2 years ago
csv_diff.tmpl Fix CSV diff for added/deleted files (#21189) 2 years ago
escape_title.tmpl Switch Unicode Escaping to a VSCode-like system (#19990) 3 years ago
image_diff.tmpl Improve "new-menu" (#24465) 2 years ago
new_comment.tmpl Do not reload page after adding comments in Pull Request reviews (#13877) 4 years ago
new_review.tmpl Add markdown preview to Submit Review Textarea (#24672) 2 years ago
options_dropdown.tmpl Expand/Collapse all changed files (#23639) 2 years ago
section_code.tmpl Switch Unicode Escaping to a VSCode-like system (#19990) 3 years ago
section_split.tmpl Improve accessibility when (re-)viewing files (#24817) 2 years ago
section_unified.tmpl Improve accessibility when (re-)viewing files (#24817) 2 years ago
stats.tmpl Group template helper functions, remove `Printf`, improve template error messages (#23982) 2 years ago
whitespace_dropdown.tmpl Fix incorrect `toggle` buttons (#23676) 2 years ago