From 55a4f275694fa3c63559ad73fbb1f91bce513a9e Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Jun 22 2015 13:56:34 +0000 Subject: Adjust showing/checking if the PR can be merged in the pull-request page --- diff --git a/pagure/templates/pull_request.html b/pagure/templates/pull_request.html index b591aec..bc3c0c3 100644 --- a/pagure/templates/pull_request.html +++ b/pagure/templates/pull_request.html @@ -483,7 +483,7 @@ $(obj).html(preview); }); - {% if pull_request.status == True %} + {% if pull_request.status == 'Open' %} $(function(){ $.ajax({ url: '{{ url_for("internal_ns.mergeable_request_pull") }}' ,