{% extends "usta/base.html" %} {% load usta_tags %} {% block title %}{{ block.super }} | {{ title|default:'Players of the Day' }}{% endblock %} {% block main %} {% if object_list %}
{{ object_list.0.date|date }}
{% if previous_day %} {{ previous_day|date }} {% else %}
 
{% endif %}
{{ object_list.0.date|date }}
{# Giving this date-current causes it to hide on mobile #}
{% if next_day %} {{ next_day|date }} {% else %}
 
{% endif %}
{% endif %}

{{ title|default:'Players of the Day' }}

{% if object_list %} {% for potd in object_list %} {% include 'usta/potd.html' with nodate=True %} {% endfor %} {% else %}

No Players of the Day found.

{% endif %}
{% potd_drilldown %}
{% endblock %}