diff --git a/templates/repo/diff/box.tmpl b/templates/repo/diff/box.tmpl
index 1e79824355..4e6879650d 100644
--- a/templates/repo/diff/box.tmpl
+++ b/templates/repo/diff/box.tmpl
@@ -24,10 +24,10 @@
{{svg "octicon-diff" 16 "gt-mr-2"}}{{.locale.Tr "repo.diff.stats_desc" .Diff.NumFiles .Diff.TotalAddition .Diff.TotalDeletion | Str2html}}
-
+
{{if and .PageIsPullFiles $.SignedUserID (not .IsArchived)}}
-