From 98982a6ae22e0cf08b649eb1fd317135fc3b0538 Mon Sep 17 00:00:00 2001 From: Josue Kouka Date: Mon, 19 Jun 2017 07:04:01 +0200 Subject: [PATCH] calendar cell: get user back to cell div after a week change (#16968) --- combo/apps/calendar/templates/calendar/booking_calendar_cell.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/combo/apps/calendar/templates/calendar/booking_calendar_cell.html b/combo/apps/calendar/templates/calendar/booking_calendar_cell.html index 2d97533..e2bc7f9 100644 --- a/combo/apps/calendar/templates/calendar/booking_calendar_cell.html +++ b/combo/apps/calendar/templates/calendar/booking_calendar_cell.html @@ -4,11 +4,11 @@ {% if cell.title %}

{{cell.title}}

{% endif %} -
+
{% if calendar.has_other_pages %}

{% if calendar.has_previous %} - + {% else %} {% trans "previous week" %} {% endif %} @@ -16,7 +16,7 @@ {{ calendar.number }} / {{ calendar.paginator.num_pages }} {% if calendar.has_next %} - + {% else %} {% trans "next week" %} {% endif %} -- 2.11.0