gitea/templates/repo
wxiaoguang b094f9b75d
Improve repo commit view (#33877)
Fix #24623

Major changes:

1. Redirect `/owner/repo/blob/*` requests to `/owner/repo/src/commit/*`
(like GitHub)
2. Add a "view file diff" link (see screenshot below)
3. Refactor "AssertHTMLElement" to generic, now we can accurately assert
existence or number.
4. Add more tests

---------

Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: delvh <dev.lh@web.de>
2025-03-14 07:45:11 +00:00
..
actions
branch
cite
code
diff Full-file syntax highlighting for diff pages (#33766) 2025-03-09 12:51:58 +08:00
editor
find
graph
issue
migrate
projects
pulls
release
settings Fine tune push mirror UI (#33866) 2025-03-14 00:03:21 +00:00
tag
wiki
activity.tmpl
blame.tmpl
branch_dropdown.tmpl
clone_buttons.tmpl
clone_panel.tmpl
code_frequency.tmpl
commit_load_branches_and_tags.tmpl
commit_page.tmpl
commit_sign_badge.tmpl
commit_status.tmpl
commit_statuses.tmpl
commits.tmpl
commits_list.tmpl Improve repo commit view (#33877) 2025-03-14 07:45:11 +00:00
commits_list_small.tmpl
commits_search_dropdown.tmpl
commits_table.tmpl
contributors.tmpl
create.tmpl
create_helper.tmpl
empty.tmpl
file_info.tmpl
forks.tmpl
graph.tmpl
header.tmpl
home.tmpl
home_sidebar_bottom.tmpl
home_sidebar_top.tmpl
icon.tmpl
latest_commit.tmpl
navbar.tmpl
packages.tmpl
pulse.tmpl
recent_commits.tmpl
release_tag_header.tmpl
search.tmpl
search_name.tmpl
star_unstar.tmpl
sub_menu.tmpl
unicode_escape_prompt.tmpl
upload.tmpl
user_cards.tmpl
view_file.tmpl
view_list.tmpl Add material icons for file list (#33837) 2025-03-10 15:57:17 +08:00
watch_unwatch.tmpl
watchers.tmpl