summaryrefslogtreecommitdiffstats
path: root/templates/repo/diff.tmpl
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-03-26 07:24:20 -0400
committerUnknown <joe2010xtmf@163.com>2014-03-26 07:24:20 -0400
commited9b7d2db9d797105a62a0c2078c614ab90ff956 (patch)
tree6e87b93b78c34d67a3c67e53221a72321670e6df /templates/repo/diff.tmpl
parent78979c6d4c1408910cf12546b26d727752c62250 (diff)
downloadgitea-ed9b7d2db9d797105a62a0c2078c614ab90ff956.tar.gz
gitea-ed9b7d2db9d797105a62a0c2078c614ab90ff956.zip
More on diff page
Diffstat (limited to 'templates/repo/diff.tmpl')
-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 c05f4d2ffd..ab13c40174 100644
--- a/templates/repo/diff.tmpl
+++ b/templates/repo/diff.tmpl
@@ -39,7 +39,7 @@
<span class="del" data-line="{{.Deletion}}">{{.Deletion}}</span>
</div>
<!-- todo finish all file status, now modify, add, delete and rename -->
- <span class="status modify" data-toggle="tooltip" data-placement="right" title="modify">&nbsp;</span>
+ <span class="status {{DiffTypeToStr .Type}}" data-toggle="tooltip" data-placement="right" title="{{DiffTypeToStr .Type}}">&nbsp;</span>
<a class="file" href="#diff-1">{{.Name}}</a>
</li>
{{end}}