From 3a27a0c1462302c668168e77497339863f3576cc Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Wed, 26 Mar 2014 18:02:08 +0800 Subject: improved diff --- templates/repo/diff.tmpl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'templates/repo/diff.tmpl') diff --git a/templates/repo/diff.tmpl b/templates/repo/diff.tmpl index 2627c9e1aa..c05f4d2ffd 100644 --- a/templates/repo/diff.tmpl +++ b/templates/repo/diff.tmpl @@ -63,7 +63,8 @@
- {{range .Content}} + {{range .Sections}} + {{range .Lines}} {{end}} + {{end}}
@@ -72,10 +73,11 @@ -
{{.}}
+
{{.Content}}