@ -101,21 +101,18 @@
<tr class="{{DiffLineTypeToStr .GetType}}-code nl-{{ $k}} ol-{{ $k}}">
<tr class="{{DiffLineTypeToStr .GetType}}-code nl-{{ $k}} ol-{{ $k}}">
<td class="lines-num lines-num-old">
<td class="lines-num lines-num-old">
<span rel="{{if $ line . LeftIdx }}diff-{{Sha1 $ file . Name }}L{{ $ line . LeftIdx }}{{end}}">{{if $ line . LeftIdx }}{{ $ line . LeftIdx }}{{end}}</span>
<span rel="{{if $ line . LeftIdx }}diff-{{Sha1 $ file . Name }}L{{ $ line . LeftIdx }}{{end}}">{{if $ line . LeftIdx }}{{ $ line . LeftIdx }}{{end}}</span>
{{if $ line . LeftIdx }}
<a class="ui green button add-code-comment add-code-comment-left" data-path="{{ $ file . Name }}" data-side="left" data-idx="{{ $ line . LeftIdx }}">+</a>
{{end}}
</td>
</td>
<td class="lines-code lines-code-old halfwidth">
<td class="lines-code lines-code-old halfwidth">
<a class="ui green button add-code-comment add-code-comment-left" data-path="{{ $ file . Name }}" data-side="left" data-idx="{{ $ line . LeftIdx }}">+</a>
<pre><code class="wrap {{if $ highlightClass }}language-{{ $ highlightClass }}{{else}}nohighlight{{end}}">{{if $ line . LeftIdx }}{{ $ section . GetComputedInlineDiffFor $ line }}{{end}}</code></pre>
<pre><code class="wrap {{if $ highlightClass }}language-{{ $ highlightClass }}{{else}}nohighlight{{end}}">{{if $ line . LeftIdx }}{{ $ section . GetComputedInlineDiffFor $ line }}{{end}}</code></pre>
</td>
</td>
<td class="lines-num lines-num-new">
<td class="lines-num lines-num-new">
<span rel="{{if $ line . RightIdx }}diff-{{Sha1 $ file . Name }}R{{ $ line . RightIdx }}{{end}}">{{if $ line . RightIdx }}{{ $ line . RightIdx }}{{end}}</span>
<span rel="{{if $ line . RightIdx }}diff-{{Sha1 $ file . Name }}R{{ $ line . RightIdx }}{{end}}">{{if $ line . RightIdx }}{{ $ line . RightIdx }}{{end}}</span>
{{if $ line . RightIdx }}
<a class="ui green button add-code-comment add-code-comment-right" data-path="{{ $ file . Name }}" data-side="right" data-idx="{{ $ line . RightIdx }}">+</a>
{{end}}
</td>
</td>
<td class="lines-code lines-code-new halfwidth">
<td class="lines-code lines-code-new halfwidth">
<a class="ui green button add-code-comment add-code-comment-right" data-path="{{ $ file . Name }}" data-side="right" data-idx="{{ $ line . RightIdx }}">+</a>
<pre><code class="wrap {{if $ highlightClass }}language-{{ $ highlightClass }}{{else}}nohighlight{{end}}">{{if $ line . RightIdx }}{{ $ section . GetComputedInlineDiffFor $ line }}{{end}}</code></pre>
<pre><code class="wrap {{if $ highlightClass }}language-{{ $ highlightClass }}{{else}}nohighlight{{end}}">{{if $ line . RightIdx }}{{ $ section . GetComputedInlineDiffFor $ line }}{{end}}</code></pre>
</td>
</td>
</tr>
</tr>