{{if $.IsSplitStyle}} {{range $k, $line := $.section.Lines}} {{$inlineDiff := $.section.GetComputedInlineDiffFor $line ctx.Locale}} {{if eq .GetType 4}} {{$expandDirection := $line.GetExpandDirection}}
{{if $line.SectionInfo.HasComments}} {{end}}
{{if or (eq $expandDirection 3) (eq $expandDirection 5)}} {{end}} {{if or (eq $expandDirection 3) (eq $expandDirection 4)}} {{end}} {{if eq $expandDirection 2}} {{end}}
{{$inlineDiff := $.section.GetComputedInlineDiffFor $line ctx.Locale}}{{/* */}}{{template "repo/diff/section_code" dict "diff" $inlineDiff}} {{else}} {{if and $line.LeftIdx $inlineDiff.EscapeStatus.Escaped}}{{end}} {{if $line.LeftIdx}}{{end}} {{/* */}}{{if and $.SignedUserID $.PageIsPullFiles}}{{/* */}}{{/* */}}{{end}}{{/* */}}{{if $line.LeftIdx}}{{template "repo/diff/section_code" dict "diff" $inlineDiff}}{{else}}{{/* */}}{{/* */}}{{end}}{{/* */}} {{if and $line.RightIdx $inlineDiff.EscapeStatus.Escaped}}{{end}} {{if $line.RightIdx}}{{end}} {{/* */}}{{if and $.SignedUserID $.PageIsPullFiles}}{{/* */}}{{/* */}}{{end}}{{/* */}}{{if $line.RightIdx}}{{template "repo/diff/section_code" dict "diff" $inlineDiff}}{{else}}{{/* */}}{{/* */}}{{end}}{{/* */}} {{end}} {{if $line.Comments}} {{template "repo/diff/conversation" dict "." $ "comments" $line.Comments}}} {{end}} {{end}} {{else}} {{range $k, $line := $.section.Lines}} {{$inlineDiff := $.section.GetComputedInlineDiffFor $line ctx.Locale}} {{if eq .GetType 4}} {{$expandDirection := $line.GetExpandDirection}}
{{if $line.SectionInfo.HasComments}} {{end}}
{{if or (eq $expandDirection 3) (eq $expandDirection 5)}} {{end}} {{if or (eq $expandDirection 3) (eq $expandDirection 4)}} {{end}} {{if eq $expandDirection 2}} {{end}}
{{else}} {{end}} {{if $inlineDiff.EscapeStatus.Escaped}}{{end}} {{if and $.SignedUserID $.PageIsPullFiles}} {{end}} {{$inlineDiff.Content}} {{if $line.Comments}} {{template "repo/diff/conversation" dict "." $ "comments" $line.Comments}} {{end}} {{end}} {{end}}