diff --git a/templates/repo/blame.tmpl b/templates/repo/blame.tmpl index 012f630203..e42366fd6e 100644 --- a/templates/repo/blame.tmpl +++ b/templates/repo/blame.tmpl @@ -2,11 +2,11 @@

-
+
{{.FileName}} {{FileSize .FileSize}}{{if .IsLFSFile}} ({{.i18n.Tr "repo.stored_lfs"}}){{end}}
-
+
{{if not .IsViewCommit}} @@ -48,4 +48,4 @@
-
\ No newline at end of file +
diff --git a/templates/repo/view_file.tmpl b/templates/repo/view_file.tmpl index 6445ee7b9e..72b1ae7a84 100644 --- a/templates/repo/view_file.tmpl +++ b/templates/repo/view_file.tmpl @@ -1,7 +1,7 @@

-
+
{{if .ReadmeExist}} {{if .ReadmeInList}} @@ -14,7 +14,7 @@ {{.FileName}} {{FileSize .FileSize}}{{if .IsLFSFile}} ({{.i18n.Tr "repo.stored_lfs"}}){{end}} {{end}}
-
+
{{if not .ReadmeInList}}