diff --git a/templates/repo/commits_list.tmpl b/templates/repo/commits_list.tmpl
index 9f1d182158dc..b9b42ebb235d 100644
--- a/templates/repo/commits_list.tmpl
+++ b/templates/repo/commits_list.tmpl
@@ -43,6 +43,8 @@
{{end}}
{{if $.PageIsWiki}}
+ {{else if $.PageIsPullCommits}}
+
{{else if $.Reponame}}
{{else}}
@@ -54,6 +56,8 @@
{{end}}
{{if $.PageIsWiki}}
+ {{else if $.PageIsPullCommits}}
+
{{else if $.Reponame}}
{{else}}