From 2134f3c455e276de7ad162ca936f1e2b4e8b13be Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Oct 04 2017 21:45:01 +0000 Subject: Do not show the banner on forks Since forks by default have PR turned off, no need to show the banner there. Signed-off-by: Pierre-Yves Chibon --- diff --git a/template/repo_info.html b/template/repo_info.html index d44f474..9d5c777 100644 --- a/template/repo_info.html +++ b/template/repo_info.html @@ -34,7 +34,7 @@ {% block repo %} - {% if authenticated and g.repo_committer + {% if authenticated and g.repo_committer and not repo.is_fork and not repo.settings.get('pull_requests', True) and not readme %}