{% load url from future %}

{% if current == 'edit' %} Edit Invoice for {% endif %} {% if current == 'entries' %} Entries for invoice of {% endif %} {% if current == 'detail' %} Invoice Details for {% endif %} {{ invoice.project.name }} hours {% if invoice.start %} from {{ invoice.start }} to {{ invoice.end }} {% else %} through {{ invoice.end }} {% endif %}