aboutsummaryrefslogtreecommitdiff
path: root/templates/repo/diff.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/repo/diff.tmpl')
-rw-r--r--templates/repo/diff.tmpl2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/repo/diff.tmpl b/templates/repo/diff.tmpl
index 8e5efd14..fa97073c 100644
--- a/templates/repo/diff.tmpl
+++ b/templates/repo/diff.tmpl
@@ -96,6 +96,7 @@
<table>
<tbody>
{{range .Sections}}
+ Test: {{ .NumLines}}
{{range .Lines}}
<tr class="{{DiffLineTypeToStr .Type}}-code nl-1 ol-1">
<td class="lines-num lines-num-old">
@@ -104,6 +105,7 @@
<td class="lines-num lines-num-new">
<span rel="L1">{{if .RightIdx}}{{.RightIdx}}{{end}}</span>
</td>
+
<td class="lines-code">
<pre>{{ToUtf8 .Content}}</pre>
</td>