Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="form__group">
- {% if basket.price > 0 %}
- {% if checkout.gateways|length > 0 %}
- {% for gateway in checkout.gateways %}
- <div class="gateway flyout">
- <input type="submit" name="{{ gateway.id }}" value="1" style="background:url('{{ gateway.image }}');" class="gateway-submit">
- <div class="flyout__content">
- Click to checkout with {{ gateway.name }}. ({{ gateway.description }})
- </div>
- {% if gateway.offset != 0 %}
- <div class="offset">({% if gateway.offset > 0 %}+{% endif %}{{ gateway.offset|money }} {{ basket.currency }})</div>
- {% endif %}
- </div>
- {% endfor %}
- {% else %}
- <p class="empty">You need to add a payment gateway before players can donate.</p>
- {% endif %}
- {% elseif store.allowFreeBaskets %}
- <div class="gateway flyout">
- <input type="submit" name="submit" style="background:url('/assets/img/gateways/free.png');" class="gateway-submit">
- <div class="flyout__content">
- Click to checkout for free.
- </div>
- </div>
- {% endif %}
- </div>
Advertisement
Add Comment
Please, Sign In to add comment