2134f3c
@@ -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 %}
<div class="row">
<div class="col-md-8">
Since forks by default have PR turned off, no need to show the banner there.
Signed-off-by: Pierre-Yves Chibon pingou@pingoured.fr
:thumbsup:
Thanks :)
Pull-Request has been merged by pingou
Since forks by default have PR turned off, no need to show the banner there.
Signed-off-by: Pierre-Yves Chibon pingou@pingoured.fr