1
0
Fork 0

Fix the link for .git-blame-ignore-revs bypass (#31432)

A quick fix for #31429

(cherry picked from commit ed5ded3ff86fc7c3eccfe28e59b30728e6bf9fbc)
This commit is contained in:
wxiaoguang 2024-06-21 07:28:34 +08:00 committed by Earl Warren
parent 59532d93ef
commit d42165f0bb
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00

View file

@ -2,7 +2,7 @@
{{$revsFileLink := URLJoin .RepoLink "src" .BranchNameSubURL "/.git-blame-ignore-revs"}}
{{if .UsesIgnoreRevs}}
<div class="ui info message">
<p>{{ctx.Locale.Tr "repo.blame.ignore_revs" $revsFileLink (print $revsFileLink "?bypass-blame-ignore=true")}}</p>
<p>{{ctx.Locale.Tr "repo.blame.ignore_revs" $revsFileLink "?bypass-blame-ignore=true"}}</p>
</div>
{{else}}
<div class="ui error message">