diff --git a/templates/repo/diff/file_tree.tmpl b/templates/repo/diff/file_tree.tmpl index b5ca34e35f9..c0cee316481 100644 --- a/templates/repo/diff/file_tree.tmpl +++ b/templates/repo/diff/file_tree.tmpl @@ -6,7 +6,7 @@ {{if .IsIncomplete}}
{{end}} diff --git a/templates/repo/diff/file_tree_item.tmpl b/templates/repo/diff/file_tree_item.tmpl index 33bb3b9268c..311360a9e28 100644 --- a/templates/repo/diff/file_tree_item.tmpl +++ b/templates/repo/diff/file_tree_item.tmpl @@ -1,8 +1,8 @@ {{if .IsFile}} - + {{svg "octicon-file"}} - {{ .Name }} + {{.Name}} {{if eq .File.Type 1}} {{svg "octicon-diff-added" 16 "text green"}} {{else if eq .File.Type 2}} @@ -16,11 +16,11 @@ {{end}} {{else}} -