Add stats link, year selector

This commit is contained in:
2023-11-02 09:20:09 +01:00
parent 0130ab0059
commit 5bc04c463a
6 changed files with 31 additions and 7 deletions

View File

@ -38,6 +38,7 @@
<li><a class="block py-2 pl-3 pr-4 hover:underline" href="{% url 'add_device' %}">New Device</a></li>
{% endif %}
{% if session_count > 0 %}
<li><a class="block py-2 pl-3 pr-4 hover:underline" href="{% url 'stats_current_year' %}">Stats</a></li>
<li><a class="block py-2 pl-3 pr-4 hover:underline" href="{% url 'list_sessions' %}">All Sessions</a></li>
{% endif %}
</ul>