diff options
author | evolvedlight <steve@evolvedlight.co.uk> | 2014-10-04 18:19:14 +0100 |
---|---|---|
committer | evolvedlight <steve@evolvedlight.co.uk> | 2014-10-04 18:19:14 +0100 |
commit | c9e5e38fcfa759a1d2578d1c7a56ac0e65e2bf78 (patch) | |
tree | 3d31683afb2f11d7108f3ccf0f35950f62dbf6a2 /templates/repo/diff.tmpl | |
parent | 405ee14711ab946bd709ec28a526890c40cbc03b (diff) | |
download | gitea-c9e5e38fcfa759a1d2578d1c7a56ac0e65e2bf78.tar.gz gitea-c9e5e38fcfa759a1d2578d1c7a56ac0e65e2bf78.zip |
Initial cut of git fork
Diffstat (limited to 'templates/repo/diff.tmpl')
-rw-r--r-- | templates/repo/diff.tmpl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/repo/diff.tmpl b/templates/repo/diff.tmpl index 8e5efd146f..fa97073c6e 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> |