From 8649d173f95411288507ea3656fdd63bc9167826 Mon Sep 17 00:00:00 2001 From: Ryan Lerch Date: Jul 11 2018 04:40:28 +0000 Subject: make sure open PR dropdown shows in forks This makes sure that the open PR dropdown in the repomaster always is shown, even if PRs for the fork itself are closed. A user may not have PRs open for the fork itself, but still wany to open a PR agaisnt the upstream. Signed-off-by: Ryan Lerch --- diff --git a/pagure/templates/repo_master.html b/pagure/templates/repo_master.html index 5608813..c838965 100644 --- a/pagure/templates/repo_master.html +++ b/pagure/templates/repo_master.html @@ -91,7 +91,7 @@ class="btn btn-outline-primary btn-sm"> New issue {% endif %} - {% if g.authenticated and repo.settings.get('pull_requests', True) %} + {% if g.authenticated %}
- {% if head %} New Pull Request - {% endif %}