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

Move buttons to right place.

parent 9c478b28
Branches fix-buttons
No related tags found
1 merge request!9Move buttons to right place.
......@@ -7,6 +7,14 @@
{% block page_title %}
{% blocktrans %}Week{% endblocktrans %} {{ week }} ({{ week|week_start }} - {{ week|week_end }}), {{ group.name }}
<div class="btn-group" role="group" aria-label="Week actions">
<a href="{% url 'group_week_by_week' week_prev %}?{{ request.GET.urlencode }}" class="btn btn-secondary">
{% fa 'arrow-left' %}
</a>
<a href="{% url 'group_week_by_week' week_next %}?{{ request.GET.urlencode }}" class="btn btn-secondary">
{% fa 'arrow-right' %}
</a>
</div>
{% endblock %}
{% block content %}
......@@ -25,14 +33,6 @@
<div class="card">
<div class="card-header bg-light text-dark">
{% blocktrans %}Lessons{% endblocktrans %}
<div class="btn-group" role="group" aria-label="Week actions">
<a href="{% url 'group_week_by_week' week_prev %}?{{ request.GET.urlencode }}" class="btn btn-secondary">
{% fa 'arrow-left' %}
</a>
<a href="{% url 'group_week_by_week' week_next %}?{{ request.GET.urlencode }}" class="btn btn-secondary">
{% fa 'arrow-right' %}
</a>
</div>
</div>
<div class="card-body">
{% regroup lesson_periods by period.get_weekday_display as periods_by_day %}
......
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