aboutsummaryrefslogtreecommitdiffstats
path: root/templates/repo/diff.tmpl
diff options
context:
space:
mode:
authorFuXiaoHei <fuxiaohei@hexiaz.com>2014-03-26 20:02:15 +0800
committerFuXiaoHei <fuxiaohei@hexiaz.com>2014-03-26 20:02:15 +0800
commit0b22d90b7c936a7be4dd4c8e53b1af190aefe649 (patch)
treea699dd351bfa011211fe68ce387d6fe4ccf27044 /templates/repo/diff.tmpl
parentf5c9149dd52c0cf058a730fd9c912880638b02d8 (diff)
parent409e4cde7a379bbdbe53367b3726f64b80aed0eb (diff)
downloadgitea-0b22d90b7c936a7be4dd4c8e53b1af190aefe649.tar.gz
gitea-0b22d90b7c936a7be4dd4c8e53b1af190aefe649.zip
Merge branch 'master' of https://github.com/gogits/gogs
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}}