Skip to content
Snippets Groups Projects
Verified Commit afb4a30c authored by Tom Teichler's avatar Tom Teichler :beers:
Browse files

Add way to get next or previous day.

parent b83c6f86
No related branches found
No related tags found
No related merge requests found
...@@ -5,9 +5,21 @@ ...@@ -5,9 +5,21 @@
{% block page_title %}{% blocktrans %}Lessons{% endblocktrans %}{% endblock %} {% block page_title %}{% blocktrans %}Lessons{% endblocktrans %}{% endblock %}
{% block content %} {% block content %}
<h2> <div class="d-flex justify-content-between">
{{ day }} <div>
</h2> <h1>{{ day }}</h1>
</div>
<div class="btn-group" role="group" aria-label="Day actions">
<a href="{% url 'lessons_day_by_date' day_prev %}" class="btn btn-secondary">
Previos day
</a>
</div>
<div class="btn-group" role="group" aria-label="Day actions">
<a href="{% url 'lessons_day_by_date' day_next %}" class="btn btn-secondary">
Next day
</a>
</div>
</div>
{% render_table lessons_table %} {% render_table lessons_table %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment