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">
195195 {% endif %}
196196
197197 {# 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 %}
200201
201202{% endblock %}
Original file line number Diff line number Diff line change 3939 < li class ="menu__list__item ">
4040 < a class ="menu__list__link {% if request.path == '/contact' %}active{% endif %} " href ="/contact " role ="button "> Contact</ a >
4141 </ li >
42+ {% if request.conference.tickets %}
4243 < 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 }} "
4445 target ="_blank " role ="button "> Buy Tickets</ a >
4546 </ li >
47+ {% endif %}
4648 </ ul >
4749 </ nav >
4850</ header >
You can’t perform that action at this time.
0 commit comments