Skip to content
Snippets Groups Projects
Verified Commit f3655095 authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Reformat templates

parent 23a4be92
No related branches found
No related tags found
No related merge requests found
......@@ -7,24 +7,24 @@
{% endif %}
<div class="col s2 no-padding">
<a class="waves-effect waves-teal btn-flat btn-flat-medium left" href="{{ url_prev }}">
<i class="material-icons center">navigate_before</i>
</a>
<a class="waves-effect waves-teal btn-flat btn-flat-medium left" href="{{ url_prev }}">
<i class="material-icons center">navigate_before</i>
</a>
</div>
{% if display_date_only %}
<div class="col s8">
<div class="col s8">
<span class="card-title center-block" id="date">
{{ day|date:"l" }}, {{ day }}
</span>
</div>
</div>
{% else %}
<div class="col s8 no-padding">
<input type="text" class="datepicker center-align" id="date">
</div>
<div class="col s8 no-padding">
<input type="text" class="datepicker center-align" id="date">
</div>
{% endif %}
<div class="col s2 no-padding">
<a class="waves-effect waves-teal btn-flat btn-flat-medium right" href="{{ url_next }}">
<i class="material-icons center">navigate_next</i>
</a>
<a class="waves-effect waves-teal btn-flat btn-flat-medium right" href="{{ url_next }}">
<i class="material-icons center">navigate_next</i>
</a>
</div>
......@@ -11,7 +11,8 @@
<select id="calendar-week-1">
{% for week in weeks %}
<option value="{{ week.week }}" {% if week == wanted_week %}
selected {% endif %}>{% trans "CW" %} {{ week.week }} ({{ week.0|date:"SHORT_DATE_FORMAT" }}–{{ week.6|date:"SHORT_DATE_FORMAT" }})
selected {% endif %}>{% trans "CW" %} {{ week.week }}
({{ week.0|date:"SHORT_DATE_FORMAT" }}–{{ week.6|date:"SHORT_DATE_FORMAT" }})
</option>
{% endfor %}
</select>
......@@ -21,7 +22,8 @@
<select id="calendar-week-2">
{% for week in weeks %}
<option value="{{ week.week }}" {% if week == wanted_week %}
selected {% endif %}>{% trans "CW" %} {{ week.week }} ({{ week.0|date:"j.n." }}–{{ week.6|date:"SHORT_DATE_FORMAT" }})
selected {% endif %}>{% trans "CW" %} {{ week.week }}
({{ week.0|date:"j.n." }}–{{ week.6|date:"SHORT_DATE_FORMAT" }})
</option>
{% endfor %}
</select>
......
......@@ -64,7 +64,7 @@
{% include "chronos/partials/subs/groups.html" with type=item.type el=item.el %}
</td>
<td>
{% include "chronos/partials/subs/period.html" with type=item.type el=item.el %}
{% include "chronos/partials/subs/period.html" with type=item.type el=item.el %}
</td>
<td>
{% include "chronos/partials/subs/teachers.html" with type=item.type el=item.el %}
......
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