Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-25 19:26:09 +01:00

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"}} {{$revsFileLink := URLJoin .RepoLink "src" .BranchNameSubURL "/.git-blame-ignore-revs"}}
{{if .UsesIgnoreRevs}} {{if .UsesIgnoreRevs}}
<div class="ui info message"> <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> </div>
{{else}} {{else}}
<div class="ui error message"> <div class="ui error message">