{@ foreach ($files as $f) @}
{{ $f['statusText'] }} {{ $f['oldPath'] !== '' ? $f['oldPath'].' → ' : '' }}{@ if ($f['url'] !== '') @}{{ $f['path'] }}{@ else @}{{ $f['path'] }}{@ endif @}
{@ if ($f['note'] !== '') @}

{{ $f['note'] }}

{@ endif @} {@ if (!empty($f['hunks'])) @}
{@ foreach ($f['hunks'] as $h) @} {@ foreach ($h['rows'] as $r) @} {@ if (!empty($r['threads']) || !empty($r['form'])) @} {@ endif @} {@ endforeach @} {@ endforeach @}
{{ $h['head'] }}
{@ if (!empty($r['link']) && $r['op'] === '-') @}{{ $r['old'] }}{@ else @}{{ $r['old'] }}{@ endif @} {@ if (!empty($r['link']) && $r['op'] !== '-') @}{{ $r['new'] }}{@ else @}{{ $r['new'] }}{@ endif @} {{ $r['op'] }}{{ $r['text'] }}
{@ foreach ($r['threads'] as $ic) @} {@ include(gitler/inline) @} {@ endforeach @} {@ if (!empty($r['form'])) @}
{@ endif @}
{@ endif @}
{@ endforeach @}