Button text change if addons are present

This commit is contained in:
Raphael Michel
2017-05-02 10:57:40 +02:00
parent ab757c502c
commit 938a1bca0d
3 changed files with 9 additions and 3 deletions

View File

@@ -34,7 +34,12 @@
<div class="col-md-4 col-md-offset-4 col-xs-12">
<a class="btn btn-block btn-primary btn-lg"
href="{% eventurl request.event "presale:event.checkout.start" %}">
<i class="fa fa-shopping-cart"></i> {% trans "Proceed with checkout" %}
{% if has_addon_choices %}
<i class="fa fa-shopping-cart"></i> {% trans "Continue" %}
</a>
{% else %}
<i class="fa fa-shopping-cart"></i> {% trans "Proceed with checkout" %}
{% endif %}
</a>
</div>
<div class="clearfix"></div>