Skip to content

Commit 6bb8556

Browse files
astronomersivabravegnu
authored andcommitted
Tickets sold out (#188)
1 parent f87c013 commit 6bb8556

File tree

4 files changed

+18
-16
lines changed

4 files changed

+18
-16
lines changed

_data/tickets.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
- type: Workshop Ticket (Morning)
22
event_date: Workshop only ticket for the morning workshop of 14 October 2019.
33
start_date: Sales start on 3 August 2019.
4-
open: true
4+
open: false
55
cost: 750
6-
sold_out: false
6+
sold_out: true
77
- type: Workshop Ticket (Afternoon)
88
event_date: Workshop only ticket for the afternoon workshop of 14 October 2019.
99
start_date: Sales start on 3 August 2019.
10-
open: true
10+
open: false
1111
cost: 750
12-
sold_out: false
12+
sold_out: true
1313
- type: Devsprints Ticket
1414
event_date: |
1515
Devsprints only ticket for 14 and 15 October 2019.
1616
start_date: Sales start on 3 August 2019.
17-
open: true
17+
open: false
1818
cost: 150
19-
sold_out: false
19+
sold_out: true
2020
- type: Student Ticket
2121
event_date: Conference only ticket for 12 and 13 October 2019.
2222
end_date: Sales end by 12 October 2019.

_includes/tickets.html

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
<!-- TODO Convert this to be YML Based -->
21
<section class="wrapper" style="background: white;" id="tickets">
32
{% asset tunnel-white-exit.png alt="" class="tunnel1 bg" %}
43
{% asset bluewind.png alt="" class="bluewind bg" style="left: 18%;top: -53px; z-index:9999;" %}
@@ -46,7 +45,7 @@ <h5>
4645
{% if category.sold_out %}
4746
<strong style="color:red;">SOLD OUT</strong>
4847
{% else %}
49-
<a href="https://goo.gl/forms/GdtTebWL7mn3oKtW2" target="_blank" rel="noreferrer noopener" class="dwd-link">NOTIFY ME!</a>
48+
<a href="https://goo.gl/forms/GdtTebWL7mn3oKtW2" target="_blank" rel="noreferrer noopener" class="dwd-link">NOTIFY ME!</a>
5049
{% endif %}
5150
{% endif %}
5251
</td>
@@ -61,7 +60,7 @@ <h5>
6160

6261
<div class="container ticket-mobile">
6362
{% for category in site.data.tickets %}
64-
{% if category.sold_out == false %}
63+
{% if category.sold_out == false %}
6564
<div class="row wow fadeIn">
6665
<div class="col-md-12 light">
6766
<h3><strong>{{category.type}}</strong></h3>
@@ -87,14 +86,21 @@ <h3><strong>{{category.type}}</strong></h3>
8786
<a href="https://www.townscript.com/e/pycon-india-2019/booking" target="_blank" rel="noreferrer noopener" class="dwd-link">
8887
<strong>BUY TICKETS</strong>
8988
</a>
90-
{% else %}
91-
<a href="https://goo.gl/forms/GdtTebWL7mn3oKtW2" target="_blank" rel="noreferrer noopener" class="dwd-link">NOTIFY ME!</a>
89+
{% else %}
90+
<a href="https://goo.gl/forms/GdtTebWL7mn3oKtW2" target="_blank" rel="noreferrer noopener" class="dwd-link">NOTIFY ME!</a>
9291
{% endif %}
9392
</p>
9493
</div>
9594
</div>
9695
{% endif %}
9796
{% endfor %}
97+
98+
<div class="row wow fadeIn">
99+
<div class="col-md-12 light">
100+
<h3>All tickets have been <strong style="color:red;">sold out</strong>.</h3>
101+
</div>
102+
</div>
103+
98104
<br>
99105
</div>
100106
{% asset tunnel-white-entry.png alt="" class="tunnel2 tunnel4 bg" %}

index.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ nav: index
3030
</div>
3131
<div class="text-center pycon-speakers-img dwd-buyticket" style="position: relative;">
3232
<a href="/2019/submit-a-proposal.html" class="dwd-link"><strong>Submit A Proposal</strong></a>
33-
<a href="/2019/#tickets" rel="noreferrer noopener" class="dwd-link"><strong>Buy A Ticket</strong></a>
3433
</div>
3534
</div>
3635
</div>
@@ -51,7 +50,6 @@ nav: index
5150
<h5 style="font-weight: 500">Chennai Trade center</h5>
5251
{% asset bracket-right.png class="sbac2" alt="" %}
5352
</div>
54-
<!-- <a class="buytic" href="#">Buy Tickets</a> -->
5553
</div>
5654

5755
<div class="col-md-4 text-center">
@@ -62,7 +60,6 @@ nav: index
6260
<h5 style="font-weight: 500">IITM Research Park</h5>
6361
{% asset bracket-right.png class="sbac2" alt="" %}
6462
</div>
65-
<!-- <a class="buytic" href="#">Buy Tickets</a> -->
6663
</div>
6764

6865

@@ -74,7 +71,6 @@ nav: index
7471
<h5 style="font-weight: 500">IITM Research Park</h5>
7572
{% asset bracket-right.png class="sbac2" alt="" %}
7673
</div>
77-
<!-- <a class="buytic" href="#">Buy Tickets</a> -->
7874
</div>
7975

8076
</div>

submit-a-proposal.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ bloglike: true
99
<div class="row">
1010
<div class="col-md-6 light">
1111
<h3><strong>Devsprint</strong></h3>
12-
<p>Closes on 30th Septmeber, 2019</p>
12+
<p>Closes on 30th September, 2019</p>
1313
</div>
1414
<div class="col-md-6 light">
1515
<div class="buy-ticket">

0 commit comments

Comments
 (0)