gitea/templates/repo/diff
bytedream 3a37d63d61
Allow renaming/moving binary/LFS files in the UI (#34350)
Adds the ability to rename/move binary files like binary blobs or images
and files that are too large in the web ui.
This was purposed in #24722, along with the ability edit images via an
upload of a new image, which I didn't implement here (could be done in a
separate PR).

Binary file content:

![binary](https://github.com/user-attachments/assets/61d9ff71-25d3-4832-9288-452cdefc7283)

File too large:

![toolarge](https://github.com/user-attachments/assets/3b42dbd0-e76a-4c3c-92d2-52ebffedea64)

GitHub does the same (I've copied the text from there):

![gh](https://github.com/user-attachments/assets/e1499813-fb71-4544-9d58-086046a5f13e)
2025-06-16 17:15:07 -07:00
..
blob_excerpt.tmpl Refactor tmpl and blob_excerpt (#32967) 2024-12-25 00:51:13 +08:00
box.tmpl Allow renaming/moving binary/LFS files in the UI (#34350) 2025-06-16 17:15:07 -07:00
comment_form.tmpl Fix various misalignments and overflows (#34227) 2025-04-17 10:32:41 +00:00
comment_form_datahandler.tmpl Make sure fmt catches all templates (#20979) 2022-08-31 23:58:54 +08:00
comments.tmpl Hide/disable unusable UI elements when a repository is archived (#33459) 2025-01-31 20:47:31 +08:00
compare.tmpl Refactor commit message rendering and fix bugs (#34412) 2025-05-09 20:42:35 +08:00
conversation.tmpl Fix various UI problems (#34243) 2025-04-19 08:43:22 +00:00
conversation_outdated.tmpl Improve user experience for outdated comments (#29050) 2024-02-08 01:50:48 +00:00
csv_diff.tmpl Fix CSV diff for added/deleted files (#21189) 2022-09-17 10:45:32 +08:00
escape_title.tmpl Refactor tmpl and blob_excerpt (#32967) 2024-12-25 00:51:13 +08:00
image_diff.tmpl Fix various trivial frontend problems (#34263) 2025-04-24 09:11:54 +08:00
new_comment.tmpl Do not reload page after adding comments in Pull Request reviews (#13877) 2021-01-08 23:49:55 +02:00
new_review.tmpl Hide/disable unusable UI elements when a repository is archived (#33459) 2025-01-31 20:47:31 +08:00
options_dropdown.tmpl Use `git diff-tree` for `DiffFileTree` on diff pages (#33514) 2025-02-28 00:58:25 +00:00
section_code.tmpl Add template linting via djlint (#25212) 2023-06-14 18:17:58 +00:00
section_split.tmpl Refactor tmpl and blob_excerpt (#32967) 2024-12-25 00:51:13 +08:00
section_unified.tmpl De-emphasize signed commits (#31160) 2024-12-28 04:18:30 +08:00
stats.tmpl Migrate margin and padding helpers to tailwind (#30043) 2024-03-24 17:42:49 +01:00
whitespace_dropdown.tmpl code optimization (#31315) 2024-06-11 21:07:10 +08:00