1
0
Fork 0
forked from forgejo/forgejo

Almost done diff page

This commit is contained in:
Unknown 2014-03-26 16:41:16 -04:00
parent 4b9eef50c9
commit dd6246877d
9 changed files with 83 additions and 210 deletions

View file

@ -65,12 +65,12 @@
<tbody>
{{range .Sections}}
{{range .Lines}}
<tr class="same-code nl-1 ol-1">
<tr class="{{DiffLineTypeToStr .Type}}-code nl-1 ol-1">
<td class="lines-num lines-num-old">
<span rel="L1"></span>
<span rel="L1">{{if .LeftIdx}}{{.LeftIdx}}{{end}}</span>
</td>
<td class="lines-num lines-num-new">
<span rel="L1"></span>
<span rel="L1">{{if .RightIdx}}{{.RightIdx}}{{end}}</span>
</td>
<td class="lines-code">
<pre>{{.Content}}</pre>