From 7767b762774f9e35ba6d0486d1c5c411ebc7a766 Mon Sep 17 00:00:00 2001 From: Sven Slootweg Date: Fri, 1 Mar 2013 13:48:57 +0100 Subject: [PATCH] Show accepted methods for campaigns where one-off donations are not allowed --- public_html/static/css/style.css | 13 +++++++++++++ public_html/templates/landing.tpl | 11 +++++++++++ 2 files changed, 24 insertions(+) diff --git a/public_html/static/css/style.css b/public_html/static/css/style.css index 68a2437..b846718 100644 --- a/public_html/static/css/style.css +++ b/public_html/static/css/style.css @@ -795,6 +795,19 @@ p.pledge-button margin: 8px 10px; } +.accepted-methods +{ + margin-top: 32px; +} + +.accepted-methods h4 +{ + color: gray; + font-size: 16px; + margin: 0px; + margin-bottom: 4px; +} + /************************************** * COMPLEX HEADERS * **************************************/ diff --git a/public_html/templates/landing.tpl b/public_html/templates/landing.tpl index a7d8aa0..947bbcd 100644 --- a/public_html/templates/landing.tpl +++ b/public_html/templates/landing.tpl @@ -74,6 +74,17 @@ {%/if} {%/foreach} + {%else} +
+

Accepted here:

+ {%foreach method in methods} + {%if isempty|method[image] == false} + + {%else} + + {%/if} + {%/foreach} +
{%/if}