{% extends "base.html" %} {% load i18n %} {% load rules %} {% block title %}{% trans "Routes" %}{% endblock %} {% block breadcrumb %} {{ block.super }}
{% trans 'Routes' %}
{% endblock breadcrumb %} {% block content %} {% has_perm 'sous_chef.edit' request.user as can_edit_data %} {% if can_edit_data %}

{% trans 'For creating a new route or deleting an existing route, please go to "Admin" menu.' %}

{% endif %} {% if routes %} {% for route in routes %} {% endfor %}
{% trans 'Name' %} {% trans 'Description' %} {% trans 'Default delivery vehicle' %} {% trans 'Number of clients' %} {% trans 'Actions' %}
{{ route.name }} {{ route.description|truncatechars:50 }} {{ route.get_vehicle_display }} {{ route.client_count }} {% if can_edit_data %}{% endif %}
{% else %}

{% trans 'Sorry, no result found.' %}

{% endif %} {% endblock %}