diff --git a/templates/repo/home.tmpl b/templates/repo/home.tmpl index c6a570b1a61..a2f09e4b8a9 100644 --- a/templates/repo/home.tmpl +++ b/templates/repo/home.tmpl @@ -73,33 +73,34 @@ {{end}} {{svg "octicon-file-moved" 15}} - {{if or .CanAddFile .CanUploadFile}} - + {{end}} + {{if ne $n 0}} + {{end}}