forked from NYANDEV/forgejo
Removed opticon-fold
This commit is contained in:
parent
3870a7a3c8
commit
2087156119
1 changed files with 0 additions and 15 deletions
|
@ -72,20 +72,6 @@
|
||||||
{{range $j, $section := .Sections}}
|
{{range $j, $section := .Sections}}
|
||||||
{{range $k, $line := .Lines}}
|
{{range $k, $line := .Lines}}
|
||||||
<tr class="{{DiffLineTypeToStr .Type}}-code nl-{{$k}} ol-{{$k}}">
|
<tr class="{{DiffLineTypeToStr .Type}}-code nl-{{$k}} ol-{{$k}}">
|
||||||
{{if eq .Type 4}}
|
|
||||||
<td class="lines-num lines-num-old">
|
|
||||||
<span class="{{if gt $j 0}}fold octicon octicon-fold{{end}}"></span>
|
|
||||||
</td>
|
|
||||||
<td class="lines-code halfwidth">
|
|
||||||
<pre class="wrap">{{$line.Content}}</pre>
|
|
||||||
</td>
|
|
||||||
<td class="lines-num lines-num-old">
|
|
||||||
<span class="{{if gt $j 0}}fold octicon octicon-fold{{end}}"></span>
|
|
||||||
</td>
|
|
||||||
<td class="lines-code halfwidth">
|
|
||||||
<pre class="wrap">{{$line.Content}}</pre>
|
|
||||||
</td>
|
|
||||||
{{else}}
|
|
||||||
<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>
|
||||||
</td>
|
</td>
|
||||||
|
@ -98,7 +84,6 @@
|
||||||
<td class="lines-code halfwidth">
|
<td class="lines-code halfwidth">
|
||||||
<pre class="wrap">{{if $line.RightIdx}}{{$line.Content}}{{end}}</pre>
|
<pre class="wrap">{{if $line.RightIdx}}{{$line.Content}}{{end}}</pre>
|
||||||
</td>
|
</td>
|
||||||
{{end}}
|
|
||||||
</tr>
|
</tr>
|
||||||
{{end}}
|
{{end}}
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|
Loading…
Reference in a new issue