@ -21,23 +21,18 @@
</td>
</td>
<td colspan="5" class="lines-code lines-code-old "> {{ $ inline Diff : = $ .section .GetComputedInlineDiffFor $ line }} <code {{ if $ inline Diff .EscapeStatus .Escaped }} class="code-inner has-escaped" title=" {{ $ .i18n .Tr "repo.line_unicode" }} " {{ else }} class="code-inner" {{ end }} > {{ $ inline Diff .Content }} </code></td>
<td colspan="5" class="lines-code lines-code-old "> {{ $ inline Diff : = $ .section .GetComputedInlineDiffFor $ line }} <code {{ if $ inline Diff .EscapeStatus .Escaped }} class="code-inner has-escaped" title=" {{ $ .i18n .Tr "repo.line_unicode" }} " {{ else }} class="code-inner" {{ end }} > {{ $ inline Diff .Content }} </code></td>
{{ else }}
{{ else }}
{{ $ inline Diff : = $ .section .GetComputedInlineDiffFor $ line }}
<td class="lines-num lines-num-old" data-line-num=" {{ if $ line .LeftIdx }} {{ $ line .LeftIdx }} {{ end }} "><span rel=" {{ if $ line .LeftIdx }} diff- {{ Sha1 $ .fileName }} L {{ $ line .LeftIdx }} {{ end }} "></span></td>
<td class="lines-num lines-num-old" data-line-num=" {{ if $ line .LeftIdx }} {{ $ line .LeftIdx }} {{ end }} "><span rel=" {{ if $ line .LeftIdx }} diff- {{ Sha1 $ .fileName }} L {{ $ line .LeftIdx }} {{ end }} "></span></td>
<td class="blob-excerpt lines-escape lines-escape-old"> {{ if and $ line .LeftIdx $ inline Diff .EscapeStatus .Escaped }} <a href="" class="toggle-escape-button" title=" {{ $ .i18n .Tr "repo.line_unicode" }} "></a> {{ end }} </td>
<td class="blob-excerpt lines-type-marker lines-type-marker-old"> {{ if $ line .LeftIdx }} <span class="mono" data-type-marker=""></span> {{ end }} </td>
<td class="blob-excerpt lines-type-marker lines-type-marker-old"> {{ if $ line .LeftIdx }} <span class="mono" data-type-marker=""></span> {{ end }} </td>
<td class="blob-excerpt lines-code lines-code-old halfwidth"> {{ / *
<td class="blob-excerpt lines-code lines-code-old halfwidth"> {{ / *
*/}} {{ if $ line .LeftIdx }} {{ / *
*/}}<code {{ if and $ line .LeftIdx $ inline Diff .EscapeStatus .Escaped }} class="code-inner has-escaped" title=" {{ $ .i18n .Tr "repo.line_unicode" }} " {{ else }} class="code-inner" {{ end }} > {{ if $ line .LeftIdx }} {{ $ inline Diff .Content }} {{ end }} </code> {{ / *
*/}} {{ $ inline Diff : = $ .section .GetComputedInlineDiffFor $ line }} <code {{ if $ inline Diff .EscapeStatus .Escaped }} class="code-inner has-escaped" title=" {{ $ .i18n .Tr "repo.line_unicode" }} " {{ else }} class="code-inner" {{ end }} > {{ $ inline Diff .Content }} </code> {{ / *
*/}}</td>
*/}} {{ else }} {{ / *
*/}}<code class="code-inner"></code> {{ / *
*/}} {{ end }} {{ / *
*/}}</td>
<td class="lines-num lines-num-new" data-line-num=" {{ if $ line .RightIdx }} {{ $ line .RightIdx }} {{ end }} "><span rel=" {{ if $ line .RightIdx }} diff- {{ Sha1 $ .fileName }} R {{ $ line .RightIdx }} {{ end }} "></span></td>
<td class="lines-num lines-num-new" data-line-num=" {{ if $ line .RightIdx }} {{ $ line .RightIdx }} {{ end }} "><span rel=" {{ if $ line .RightIdx }} diff- {{ Sha1 $ .fileName }} R {{ $ line .RightIdx }} {{ end }} "></span></td>
<td class="blob-excerpt lines-escape lines-escape-new"> {{ if and $ line .RightIdx $ inline Diff .EscapeStatus .Escaped }} <a href="" class="toggle-escape-button" title=" {{ $ .i18n .Tr "repo.line_unicode" }} "></a> {{ end }} </td>
<td class="blob-excerpt lines-type-marker lines-type-marker-new"> {{ if $ line .RightIdx }} <span class="mono" data-type-marker=""></span> {{ end }} </td>
<td class="blob-excerpt lines-type-marker lines-type-marker-new"> {{ if $ line .RightIdx }} <span class="mono" data-type-marker=""></span> {{ end }} </td>
<td class="blob-excerpt lines-code lines-code-new halfwidth"> {{ / *
<td class="blob-excerpt lines-code lines-code-new halfwidth"> {{ / *
*/}} {{ if $ line .RightIdx }} {{ / *
*/}}<code {{ if and $ line .RightIdx $ inline Diff .EscapeStatus .Escaped }} class="code-inner has-escaped" title=" {{ $ .i18n .Tr "repo.line_unicode" }} " {{ else }} class="code-inner" {{ end }} > {{ if $ line .RightIdx }} {{ $ inline Diff .Content }} {{ end }} </code> {{ / *
*/}} {{ $ inline Diff : = $ .section .GetComputedInlineDiffFor $ line }} <code {{ if $ inline Diff .EscapeStatus .Escaped }} class="code-inner has-escaped" title=" {{ $ .i18n .Tr "repo.line_unicode" }} " {{ else }} class="code-inner" {{ end }} > {{ $ inline Diff .Content }} </code> {{ / *
*/}} {{ else }} {{ / *
*/}}<code class="code-inner"></code> {{ / *
*/}} {{ end }} {{ / *
*/}}</td>
*/}}</td>
{{ end }}
{{ end }}
</tr>
</tr>
@ -67,8 +62,10 @@
<td class="lines-num lines-num-old" data-line-num=" {{ if $ line .LeftIdx }} {{ $ line .LeftIdx }} {{ end }} "><span rel=" {{ if $ line .LeftIdx }} diff- {{ Sha1 $ .fileName }} L {{ $ line .LeftIdx }} {{ end }} "></span></td>
<td class="lines-num lines-num-old" data-line-num=" {{ if $ line .LeftIdx }} {{ $ line .LeftIdx }} {{ end }} "><span rel=" {{ if $ line .LeftIdx }} diff- {{ Sha1 $ .fileName }} L {{ $ line .LeftIdx }} {{ end }} "></span></td>
<td class="lines-num lines-num-new" data-line-num=" {{ if $ line .RightIdx }} {{ $ line .RightIdx }} {{ end }} "><span rel=" {{ if $ line .RightIdx }} diff- {{ Sha1 $ .fileName }} R {{ $ line .RightIdx }} {{ end }} "></span></td>
<td class="lines-num lines-num-new" data-line-num=" {{ if $ line .RightIdx }} {{ $ line .RightIdx }} {{ end }} "><span rel=" {{ if $ line .RightIdx }} diff- {{ Sha1 $ .fileName }} R {{ $ line .RightIdx }} {{ end }} "></span></td>
{{ end }}
{{ end }}
{{ $ inline Diff : = $ .section .GetComputedInlineDiffFor $ line }}
<td class="blob-excerpt lines-escape"> {{ if $ inline Diff .EscapeStatus .Escaped }} <a href="" class="toggle-escape-button" title=" {{ $ .i18n .Tr "repo.line_unicode" }} "></a> {{ end }} </td>
<td class="blob-excerpt lines-type-marker"><span class="mono" data-type-marker=" {{ $ line .GetLineTypeMarker }} "></span></td>
<td class="blob-excerpt lines-type-marker"><span class="mono" data-type-marker=" {{ $ line .GetLineTypeMarker }} "></span></td>
<td class="blob-excerpt lines-code {{ if ( not $ line .RightIdx ) }} lines-code-old {{ end }} "> {{ $ inline Diff : = $ .section .GetComputedInlineDiffFor $ line }} <code {{ if $ inline Diff .EscapeStatus .Escaped }} class="code-inner has-escaped" title=" {{ $ .i18n .Tr "repo.line_unicode" }} " {{ else }} class="code-inner" {{ end }} > {{ $ inline Diff .Content }} </code></td>
<td class="blob-excerpt lines-code {{ if ( not $ line .RightIdx ) }} lines-code-old {{ end }} "><code {{ if $ inline Diff .EscapeStatus .Escaped }} class="code-inner has-escaped" title=" {{ $ .i18n .Tr "repo.line_unicode" }} " {{ else }} class="code-inner" {{ end }} > {{ $ inline Diff .Content }} </code></td>
</tr>
</tr>
{{ end }}
{{ end }}
{{ end }}
{{ end }}