summaryrefslogtreecommitdiffstats
path: root/templates/repo
diff options
context:
space:
mode:
authorAlexey Makhov <makhov.alex@gmail.com>2015-02-19 10:19:10 +0300
committerAlexey Makhov <makhov.alex@gmail.com>2015-02-19 10:19:10 +0300
commitd2f439a2410259dcce96889a02c7a6bbf64d385e (patch)
tree9cb2f94e966dead070877a9fb9e7d5f988bb1331 /templates/repo
parentc0ad512398e0d8232f5e729f2c38e887e6d9329a (diff)
downloadgitea-d2f439a2410259dcce96889a02c7a6bbf64d385e.tar.gz
gitea-d2f439a2410259dcce96889a02c7a6bbf64d385e.zip
fix typo mistake
Diffstat (limited to 'templates/repo')
-rw-r--r--templates/repo/diff.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/diff.tmpl b/templates/repo/diff.tmpl
index 7da932a4f8..f261da55a0 100644
--- a/templates/repo/diff.tmpl
+++ b/templates/repo/diff.tmpl
@@ -109,7 +109,7 @@
{{range $k, $line := .Lines}}
<tr class="{{DiffLineTypeToStr .Type}}-code nl-{{$k}} ol-{{$k}}">
<td class="lines-num lines-num-old">
- <span rel="{{if $line.LeftIdx}}diff-L{{Sha1 $file.Name}}{{$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 class="lines-num lines-num-new">
<span rel="{{if $line.RightIdx}}diff-{{Sha1 $file.Name}}R{{$line.RightIdx}}{{end}}">{{if $line.RightIdx}}{{$line.RightIdx}}{{end}}</span>