From 7f5eb6b2026b7040c69ddf4c76a389adac9c86f2 Mon Sep 17 00:00:00 2001 From: bsimpson63 Date: Thu, 20 Dec 2012 17:59:23 -0500 Subject: [PATCH] Only show PayPal button if there's a button to show. --- r2/r2/templates/goldpayment.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/r2/r2/templates/goldpayment.html b/r2/r2/templates/goldpayment.html index 6e45414e6..542d9a1d8 100644 --- a/r2/r2/templates/goldpayment.html +++ b/r2/r2/templates/goldpayment.html @@ -52,7 +52,9 @@ ${self.google_button()} %endif - ${self.paypal_button()} + %if thing.paypal_buttonid: + ${self.paypal_button()} + %endif