File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -195,7 +195,8 @@ <h2 class="centered">
195
195
{% endif %}
196
196
197
197
{# Buy Tickets #}
198
-
199
- < div class ="card "> < a class ="button button--yellow mb-xs-80 " href ="https://www.eventbrite.com/e/pycon-balkan-tickets-46608685834 " target ="_blank " role ="button "> Buy Tickets</ a > </ div >
198
+ {% if request.conference.tickets %}
199
+ < div class ="card "> < a class ="button button--yellow mb-xs-80 " href ="{{ request.conference.tickets }} " target ="_blank " role ="button "> Buy Tickets</ a > </ div >
200
+ {% endif %}
200
201
201
202
{% endblock %}
Original file line number Diff line number Diff line change 39
39
< li class ="menu__list__item ">
40
40
< a class ="menu__list__link {% if request.path == '/contact' %}active{% endif %} " href ="/contact " role ="button "> Contact</ a >
41
41
</ li >
42
+ {% if request.conference.tickets %}
42
43
< li class ="menu__list__item ">
43
- < a class ="menu__list__link menu__list__link--featured " href ="https://www.eventbrite.com/e/pycon-balkan- tickets-46608685834 "
44
+ < a class ="menu__list__link menu__list__link--featured " href ="{{ request.conference. tickets }} "
44
45
target ="_blank " role ="button "> Buy Tickets</ a >
45
46
</ li >
47
+ {% endif %}
46
48
</ ul >
47
49
</ nav >
48
50
</ header >
You can’t perform that action at this time.
0 commit comments