From 87ba702e0f0d63a819d8e02021fb018bb5dc7647 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Oct 13 2014 07:14:48 +0000 Subject: Rename the request DB object to pull_request to not conflict with the flask request object --- diff --git a/progit/templates/pull_request.html b/progit/templates/pull_request.html index 0c3d7dd..fe594a0 100644 --- a/progit/templates/pull_request.html +++ b/progit/templates/pull_request.html @@ -18,9 +18,9 @@ -{% if request %} -

Title: {{ request.title }}

- {% if request.status and repo_admin %} +{% if pull_request %} +

Title: {{ pull_request.title }}

+ {% if pull_request.status and repo_admin %}
@@ -33,7 +33,7 @@
- {% elif request and request.status == False %} + {% elif pull_request and pull_request.status == False %} Merged {% endif %} {% endif %} @@ -42,9 +42,9 @@