summaryrefslogtreecommitdiffstats
path: root/templates/repo/diff.tmpl
diff options
context:
space:
mode:
author无闻 <joe2010xtmf@163.com>2014-10-18 23:59:36 -0400
committer无闻 <joe2010xtmf@163.com>2014-10-18 23:59:36 -0400
commitd7d167ac63e0ada717f78383016f5b208a1b209a (patch)
treeb341240313a833311299ccd1594f3b92a4d44c1e /templates/repo/diff.tmpl
parent146c8efee3d01e220aa8f8554b69b6f76a0820e4 (diff)
parent8d2a6fc484b540819e211d52b8d54e97269f0918 (diff)
downloadgitea-d7d167ac63e0ada717f78383016f5b208a1b209a.tar.gz
gitea-d7d167ac63e0ada717f78383016f5b208a1b209a.zip
Merge pull request #560 from evolvedlight/master
First cut of fork repo
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 0376664669..199324a163 100644
--- a/templates/repo/diff.tmpl
+++ b/templates/repo/diff.tmpl
@@ -101,6 +101,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">
@@ -109,6 +110,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>