Show accepted methods for campaigns where one-off donations are not allowed

master
Sven Slootweg 11 years ago
parent f695c2441b
commit 7767b76277

@ -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 *
**************************************/

@ -74,6 +74,17 @@
{%/if}
</a>
{%/foreach}
{%else}
<div class="accepted-methods">
<h4>Accepted here:</h4>
{%foreach method in methods}
{%if isempty|method[image] == false}
<img class="logo thumb" src="{%?method[image]}" alt="{%?method[text]}">
{%else}
<div class="logo thumb">{%?method[text]}</div>
{%/if}
{%/foreach}
</div>
{%/if}
</div>
<div class="clear"></div>

Loading…
Cancel
Save