Skip to content

Commit 6592c6d

Browse files
authored
Merge pull request #65 from pyvec/hide-tickets
Hide tickets
2 parents 1b1c1d1 + 7659b8d commit 6592c6d

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

templates/_menu_base.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,10 @@
2828
{% endblock %}
2929

3030
{% block link_tickets %}
31-
{% comment %}{% include '__nav_link.html' with url='tickets' link_text='Tickets' highlighted='1' %}{% endcomment %}
31+
{% comment %}
3232
{% include '__nav_link.html' with url='tickets' link_text='Tickets' %}
3333
{% if phases.ticket_sale == 'launched' %}{% endif %}
34+
{% endcomment %}
3435
{% endblock %}
3536

3637
{% block sessions %}

templates/pages/homepage.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55

66

77
{% block header_action %}
8-
{% comment %}<p class="fw-semibold fs-4">We have postponed late bird pricing for a week!</p>{% endcomment %}
8+
{% comment %}<p class="fw-semibold fs-4">We have postponed late bird pricing for a week!</p>
99
<a href="{% url 'tickets' %}" class="btn btn-primary btn-lg">
10-
{% comment %}Buy tickets before 4 September!{% endcomment %}
1110
Tickets still available
1211
</a>
12+
{% endcomment %}
1313
{% endblock %}
1414

1515

urls.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@
3232
path("cfp-guide/", TemplateView.as_view(template_name='pages/cfp_guide.html'), name='cfp_guide'),
3333
path("cfp-pruvodce/", TemplateView.as_view(template_name='pages/cfp_pruvodce.html'), name='cfp_pruvodce'),
3434
path("sponsorship/", TemplateView.as_view(template_name='pages/sponsorship.html'), name='sponsorship'),
35-
path("tickets/", TemplateView.as_view(template_name='pages/tickets.html'), name='tickets'),
35+
# Original view for tickets: TemplateView.as_view(template_name='pages/tickets.html')
36+
path("tickets/", RedirectView.as_view(pattern_name="homepage"), name='tickets'),
3637
path("financial-aid/", TemplateView.as_view(template_name='pages/financial-aid.html'), name='financial_aid'),
3738
path("financial-aid-grantees/", TemplateView.as_view(template_name='pages/financial-aid-grantees.html'), name='financial_aid_grantees'),
3839
path("venue/", TemplateView.as_view(template_name='pages/venue.html'), name='venue'),

0 commit comments

Comments
 (0)