diff --git a/pagure/templates/repo_info.html b/pagure/templates/repo_info.html index cacfc24..203d14f 100644 --- a/pagure/templates/repo_info.html +++ b/pagure/templates/repo_info.html @@ -34,7 +34,7 @@ git push -u origin master {% else %} {% if origin == 'view_commits' %} - {% if diff_commits and authenticated %} + {% if diff_commits and authenticated and repo.settings.get('pull_requests', True) %}