From 840d945152593f379990abbf680bef4de25d46e9 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Jun 04 2014 10:32:48 +0000 Subject: Fix displaying the Merge button/Merged status in the pull_request template --- diff --git a/progit/templates/pull_request.html b/progit/templates/pull_request.html index 10763e1..b256a8e 100644 --- a/progit/templates/pull_request.html +++ b/progit/templates/pull_request.html @@ -20,14 +20,14 @@ {% if request %}

Title: {{ request.title }}

- {% if request.status and repo_admin%} + {% if request.status and repo_admin %} Merge - {% elif not request.status %} + {% elif request and request.status == False %} Merged {% endif %} {% endif %}