-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f675b93
commit 5a22f26
Showing
10 changed files
with
87 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
{% extends "peachjam/_court_months_list.html" %} | ||
{% load i18n %} | ||
{% block all_months_link %} | ||
<a class="{% if not month %} active{% endif %}" | ||
href="{% url 'court_class_year' court_class.slug year %}">{% trans 'All months' %}</a> | ||
{% endblock %} | ||
{% block month_link %} | ||
<a href="{% url "court_class_month" court_class.slug year m|date:'n' %}">{{ m|date:"F" }}</a> | ||
{% endblock %} | ||
{% block month_option %} | ||
<option value="{% url "court_class_month" court_class.slug year m|date:'n' %}" | ||
{% if m|date:"F" == month %} selected{% endif %}> | ||
{{ m|date:"F" }} | ||
</option> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
{% extends "peachjam/_court_years_list.html" %} | ||
{% load i18n %} | ||
{% block all_years_link %} | ||
<a class="{% if not year %} active{% endif %}" | ||
href="{% url 'court_class' court_class.slug %}">{% trans 'All years' %}</a> | ||
{% endblock %} | ||
{% block year_link %} | ||
<a href="{% url "court_class_year" court_class.slug y.year %}">{{ y.year }}</a> | ||
{% endblock %} | ||
{% block year_option %} | ||
<option value="{% url "court_class_year" court_class.slug y.year %}" | ||
{% if y.year == year %} selected{% endif %}> | ||
{{ y.year }} | ||
</option> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 6 additions & 4 deletions
10
peachjam/templates/peachjam/_court_registries_months_list.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
{% extends "peachjam/_court_months_list.html" %} | ||
{% load i18n %} | ||
{% block all_months_link %} | ||
<a class="{% if not month %} active{% endif %}" | ||
href="{% url 'court_registry_year' court.code registry.code year %}">{% trans 'All months' %}</a> | ||
{% endblock %} | ||
{% block month_link %} | ||
<a href="{% url "court_registry_month" court.code registry.code year m|date:'n' %}">{{ m|date:"F" }}</a> | ||
{% endblock %} | ||
{% block month_option %} | ||
<option value="{% url "court_registry_month" court.code registry.code year m|date:'n' %}" | ||
{% if m|date:"F" == month %} selected{% endif %}> | ||
{{ m|date:"F" }} | ||
</option> | ||
{% endblock %} |
10 changes: 6 additions & 4 deletions
10
peachjam/templates/peachjam/_court_registries_years_list.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
{% extends "peachjam/_court_years_list.html" %} | ||
{% load i18n %} | ||
{% block all_years_link %} | ||
<a class="{% if not month %} active{% endif %}" | ||
href="{% url 'court_registry' court.code registry.code %}">{% trans 'All months' %}</a> | ||
{% endblock %} | ||
{% block year_link %} | ||
<a href="{% url "court_registry_year" court.code registry.code y.year %}">{{ y.year }}</a> | ||
{% endblock %} | ||
{% block year_option %} | ||
<option value="{% url "court_registry_year" court.code registry.code y.year %}" | ||
{% if y.year == year %} selected{% endif %}> | ||
{{ y.year }} | ||
</option> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters