datamad2017/_includes/tickets.html

36 lines
1.8 KiB
HTML
Raw Normal View History

<!-- Begin Tickets Section -->
<section id="tickets" class="tickets">
2014-07-28 21:27:01 +02:00
<div class="content-wrapper">
<div class="col-lg-8 col-md-10 col-lg-offset-2 col-md-offset-1">
<h3>{{ site.ticketsTitle }}</h3>
{% for ticketsOffer in site.ticketsOffers %}
{% assign colWidth = 12 | divided_by: forloop.length %}
{% assign check = forloop.index | modulo:2 %}
<div class="col-md-{{ colWidth }} col-sm-{{ colWidth }} pricing-col {% if ticketsOffer.featured != null %}pricing-col-featured{% endif %} animated hiding" data-animation="{% if forloop.index == 1 %}fadeInLeft{% elsif forloop.index == forloop.length %}fadeInRight{% else %}fadeInDown{% endif %}" data-delay="{% if check == 0 %}0{% else %}500{% endif %}">
{% if ticketsOffer.ribbon != null %}<div class="pricing-ribbon">{{ ticketsOffer.ribbon }}</div>{% endif %}
<div class="pricing-header">
<p class="title">{{ ticketsOffer.name }}</p>
<p class="price">{{ ticketsOffer.price }} <span class="currency">{{ ticketsOffer.priceCurrency }}</span></p>
</div>
<div class="pricing-content">
<ul>
{% for listItem in ticketsOffer.ticketContentList %}
<li>{{ listItem }}</li>
{% endfor %}
</ul>
{% if ticketsOffer.soldOut == true %}
<span class="button disabled">{{ ticketsOffer.soldOutText }}</span>
{% elsif ticketsOffer.disabled != true %}
<a class="button" href="{{ ticketsOffer.buyButtonLink }}" target="_blank">{{ ticketsOffer.buyButtonText }}</a>
{% else %}
{% assign ticketValidFrom = ticketsOffer.validFrom | split: "T" %}
2017-11-29 15:00:20 +01:00
<span class="button disabled fallback">Plazo finalizado el {{ ticketValidFrom[0] | date: "%-d %B %Y"}}</span>
{% endif %}
</div>
2014-07-28 21:27:01 +02:00
</div>
{% endfor %}
2014-07-28 21:27:01 +02:00
</div>
</div>
</section>
2017-11-29 15:00:20 +01:00
<!-- End Tickets Section -->