mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-04 14:46:57 -05:00
fix go to file
link for mirror repository (#19983)
the `BaseRepo` not always exit, should use `Repository`. Signed-off-by: a1012112796 <1012112796@qq.com>
This commit is contained in:
parent
e399f0f5b4
commit
a6b7c3646a
@ -74,7 +74,7 @@
|
||||
</div>
|
||||
{{end}}
|
||||
<div class="fitted item mx-0">
|
||||
<a href="{{.BaseRepo.Link}}/find/{{.BranchNameSubURL}}" class="ui compact basic button">
|
||||
<a href="{{.Repository.Link}}/find/{{.BranchNameSubURL}}" class="ui compact basic button">
|
||||
{{.i18n.Tr "repo.find_file.go_to_file"}}
|
||||
</a>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user