diff --git a/aleksis/apps/chronos/templates/chronos/partials/datepicker.html b/aleksis/apps/chronos/templates/chronos/partials/datepicker.html index ede1fb06e37da69590468018bec6ca5384bd459f..3897461b9b81d79c003479be753ed5eb23ab1234 100644 --- a/aleksis/apps/chronos/templates/chronos/partials/datepicker.html +++ b/aleksis/apps/chronos/templates/chronos/partials/datepicker.html @@ -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> diff --git a/aleksis/apps/chronos/templates/chronos/partials/week_select.html b/aleksis/apps/chronos/templates/chronos/partials/week_select.html index 6739290f11b07a2b787d3789f912bc284d6f2ec2..f2c8f31cf8653deae4c07dfe082d9bdd0e89d0a1 100644 --- a/aleksis/apps/chronos/templates/chronos/partials/week_select.html +++ b/aleksis/apps/chronos/templates/chronos/partials/week_select.html @@ -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> diff --git a/aleksis/apps/chronos/templates/chronos/substitutions.html b/aleksis/apps/chronos/templates/chronos/substitutions.html index 3f5d70b3c8f29bbebb68fa7593b73a5f2291c7c0..b5f8551d2566191b4fe1a2755e9a72d386e77974 100644 --- a/aleksis/apps/chronos/templates/chronos/substitutions.html +++ b/aleksis/apps/chronos/templates/chronos/substitutions.html @@ -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 %}