forgejo/templates/repo
wxiaoguang d3b4f9d326 Fix incorrect "blob excerpt" link when comparing files (#31013)
When comparing files between the base repo and forked repo, the "blob
excerpt" link should point to the forked repo, because the commit
doesn't exist in base repo.

Co-authored-by: Giteabot <teabot@gitea.io>
(cherry picked from commit f48cc501c46a2d34eb701561f01d888d689d60d5)

Conflicts:
	- templates/repo/diff/section_split.tmpl
	- templates/repo/diff/section_unified.tmpl
          Resolved the conflict by picking Gitea's change over ours, and
	  porting it.
	- tests/integration/compare_test.go
	  Kept our test, but picked the "compare all of the relevant
	  links" part of the Gitea test.
(cherry picked from commit a62a887649)
2024-05-24 12:45:35 +00:00
..
actions
branch
cite
code
diff Fix incorrect "blob excerpt" link when comparing files (#31013) 2024-05-24 12:45:35 +00:00
editor
find
graph
issue Fix error on renaming merged PRs (#3840) 2024-05-19 18:20:50 +00:00
migrate
projects
pulls
release
settings template: label fix correct input id 2024-05-16 10:16:28 +00:00
tag
wiki
activity.tmpl
admin_flags.tmpl
blame.tmpl
branch_dropdown.tmpl
clone_buttons.tmpl
clone_script.tmpl
code_frequency.tmpl
commit_load_branches_and_tags.tmpl
commit_page.tmpl
commit_status.tmpl
commit_statuses.tmpl
commits.tmpl
commits_list.tmpl
commits_list_small.tmpl Fix some UI regressions for commit list (#30920) (#30937) 2024-05-14 16:14:38 +02:00
commits_search_dropdown.tmpl
commits_table.tmpl
contributors.tmpl
create.tmpl
create_helper.tmpl
empty.tmpl
file_info.tmpl
flags.tmpl
forks.tmpl
graph.tmpl
header.tmpl
header_fork.tmpl
home.tmpl
icon.tmpl
latest_commit.tmpl
navbar.tmpl
packages.tmpl
pulse.tmpl
recent_commits.tmpl
release_tag_header.tmpl
search.tmpl
search_name.tmpl
shabox_badge.tmpl
star_unstar.tmpl
sub_menu.tmpl
unicode_escape_prompt.tmpl
upload.tmpl
user_cards.tmpl
view_file.tmpl
view_list.tmpl
watch_unwatch.tmpl
watchers.tmpl