summaryrefslogtreecommitdiffstats
path: root/templates/repo/diff_box.tmpl
diff options
context:
space:
mode:
authorKim "BKC" Carlbäcker <kim.carlbacker@gmail.com>2016-01-06 02:21:20 +0100
committerKim "BKC" Carlbäcker <kim.carlbacker@gmail.com>2016-01-06 02:21:20 +0100
commit20871561192086ab76f153114fe8db6114d515f7 (patch)
treeeef21ba4f9c31e06d6a589cb05b3ff8d5d700995 /templates/repo/diff_box.tmpl
parent3870a7a3c86085477a46ec0663bd875bdb7dba5f (diff)
downloadgitea-20871561192086ab76f153114fe8db6114d515f7.tar.gz
gitea-20871561192086ab76f153114fe8db6114d515f7.zip
Removed opticon-fold
Diffstat (limited to 'templates/repo/diff_box.tmpl')
-rw-r--r--templates/repo/diff_box.tmpl15
1 files changed, 0 insertions, 15 deletions
diff --git a/templates/repo/diff_box.tmpl b/templates/repo/diff_box.tmpl
index a524940f94..a12f4de4ec 100644
--- a/templates/repo/diff_box.tmpl
+++ b/templates/repo/diff_box.tmpl
@@ -72,20 +72,6 @@
{{range $j, $section := .Sections}}
{{range $k, $line := .Lines}}
<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">
<span rel="{{if $line.LeftIdx}}diff-{{Sha1 $file.Name}}L{{$line.LeftIdx}}{{end}}">{{if $line.LeftIdx}}{{$line.LeftIdx}}{{end}}</span>
</td>
@@ -98,7 +84,6 @@
<td class="lines-code halfwidth">
<pre class="wrap">{{if $line.RightIdx}}{{$line.Content}}{{end}}</pre>
</td>
- {{end}}
</tr>
{{end}}
{{end}}