Commit 2836a00c authored by Patrick Kimber's avatar Patrick Kimber

tidy and use next/previous for months #983

parent 3ae76383
{% extends "project/base.html" %}
{% extends 'dash/base.html' %}
......@@ -33,13 +33,13 @@
{% endif %}
<li class="pure-menu-item">
<a href="{% url 'booking.list.month' first_prev_month|date:'Y' first_prev_month|date:'m' %}" class="pure-menu-link">
<i class="fa fa-calendar"></i>
<i class="fa fa-backward"></i>
{{ first_prev_month|date:"M Y" }}
<li class="pure-menu-item">
<a href="{% url 'booking.list.month' first_next_month|date:'Y' first_next_month|date:'m' %}" class="pure-menu-link">
<i class="fa fa-calendar"></i>
<i class="fa fa-forward"></i>
{{ first_next_month|date:"M Y" }}
# exit immediately if a command exits with a nonzero exit status.
set -e
# treat unset variables as an error when substituting.
set -u
py.test -x
touch temp.db && rm temp.db
django-admin migrate --noinput
django-admin demo_data_login
django-admin demo_data_booking
django-admin runserver
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment