Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update tickets.md #517

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion content/tickets.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---
title : Get Your Tickets (Summit 2019)
title : Get Your Tickets
layout : tickets
---
67 changes: 18 additions & 49 deletions layouts/page/tickets.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ <h1>{{ .Title }}</h1>
<section class="mid_wrap" >

<div class="container">
<div class="t_rw text-center"><h1>Summit 2019 tickets are now for sale</h1></div>
<div class="t_rw text-center"><h1>Summit tickets are now for sale</h1></div>
<div class="t_rw text-center"><h2>Limited number of Super Early Bird tickets available!</h2></div>

<!--<div class="t_rw text-center"><h2>We have multiple types of tickets available at the Summit, please see below for details.</h2></div>-->
Expand All @@ -46,62 +46,31 @@ <h1>{{ .Title }}</h1>
<div class="buy_using ul_bx">
<h3>Buy using invoice</h3>
<ul>
<li>If you want to purchase via an invoice or more than 4 tickets please contact <a href="mailto:[email protected]" class="link_1">Francois Raynaud</a></li>
<li>If you want to purchase via an invoice please <a href="mailto:[email protected]" class="link_1">contact us</a></li>

</ul>


</div>
<div id="eventbrite-widget-container-61289312985"></div>

</div>
<div class="col-sm-4 text-center"><img src="/img/blocks/ticket.png" class="img-responsive" alt="ticket img"></div>
<script src="https://www.eventbrite.com/static/widgets/eb_widgets.js"></script>

</div>

</div>
<script type="text/javascript">
var exampleCallback = function() {
console.log('Order complete!');
};

<div class="pricing m_b_160">
<div class="row">
{{ range $index, $ticket := sort .Site.Data.tickets "weight" }}
<div class="col-lg-4 col-md-4 col-sm-12">
<div class="price_bx">
<div class="head_price text-center">
<a href="{{ $ticket.buy }}" target="_blank">
<h3>{{ $ticket.type }}</h3>
<h4>{{ $ticket.early_bird }}</h4>
</a>
</div>
<div class="mid_price">
<div class="text-center price_gbp"><span class="price_cl">&pound;{{ $ticket.cost }}*</span><span class="gbp">GBP</span></div>
<p class="plus_free text-center">* plus fee and VAT</p>
<h4 class="participant">{{ $ticket.duration }}</h4>
<div class="ul_bx">
<ul>
{{ range $ticket.description }}
<li>{{ . }}</li>
{{ end }}
</ul>
</div>
{{ if eq $ticket.cost 0 }}
<div class="rw text-center"><a href="{{ $ticket.buy }}" class="btn btn_1 green_btn" target="_blank">{{$ticket.text }}</a></div>
{{ else}}
<div class="rw text-center"><a href="{{ $ticket.buy }}" class="btn btn_1 green_btn" target="_blank">Buy Ticket</a></div>
{{ end }}
</div>
</div>
</div>
{{ end }}
</div>
</div>
<!--
<div class="row">
<div class="col-lg-offset-3 col-lg-6">
<img class="img img-responsive" src="/img/pages/tickets_explained.png" />
</div>
</div>
-->
</div>
window.EBWidgets.createWidget({
// Required
widgetType: 'checkout',
eventId: '61289312985',
iframeContainerId: 'eventbrite-widget-container-61289312985',

// Optional
iframeContainerHeight: 425, // Widget height in pixels. Defaults to a minimum of 425px if not provided
onOrderComplete: exampleCallback // Method called when an order has successfully completed
});
</script>
</div><!-- container -->

</section>
Expand Down