diff --git a/templates/repo/commits_list.tmpl b/templates/repo/commits_list.tmpl
index 9f1d18215..b9b42ebb2 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}}