{{if or .UsesIgnoreRevs .FaultyIgnoreRevsFile}} {{$revsFileLink := URLJoin .RepoLink "src" .BranchNameSubURL "/.git-blame-ignore-revs"}} {{if .UsesIgnoreRevs}}

{{ctx.Locale.Tr "repo.blame.ignore_revs" $revsFileLink (print $revsFileLink "?bypass-blame-ignore=true")}}

{{else}}

{{ctx.Locale.Tr "repo.blame.ignore_revs.failed" $revsFileLink}}

{{end}} {{end}}

{{template "repo/file_info" .}}
{{ctx.Locale.Tr "repo.file_raw"}} {{if not .IsViewCommit}} {{ctx.Locale.Tr "repo.file_permalink"}} {{end}} {{ctx.Locale.Tr "repo.normal_view"}} {{ctx.Locale.Tr "repo.file_history"}}

{{if .IsFileTooLarge}} {{template "shared/filetoolarge" dict "RawFileLink" .RawFileLink}} {{else if not .FileSize}} {{template "shared/fileisempty"}} {{else}} {{range $row := .BlameRows}} {{if $.EscapeStatus.Escaped}} {{end}} {{end}}
{{$row.Avatar}}
{{$row.CommitSince}}
{{if $row.PreviousSha}} {{svg "octicon-versions"}} {{end}} {{if $row.EscapeStatus.Escaped}} {{end}} {{$row.Code}}
{{end}}{{/* end if .IsFileTooLarge */}}
{{if $.Permission.CanRead ctx.Consts.RepoUnitTypeIssues}} {{ctx.Locale.Tr "repo.issues.context.reference_issue"}} {{end}} {{ctx.Locale.Tr "repo.file_copy_permalink"}}