{% extends "django_pettycash/dpc_base.html" %} {% load url from future %} {% load i18n %} {% block content %}

{% trans "Source list" %}

{% if perms.django_pettycash.add_source %} {% trans "Add" %} {% endif %}
{% if object_list %}
{% for s in object_list %} {% endfor %}
{% trans "Name" %} {% trans "Description" %} {% trans "Actions" %}
{{s.name}} {{s.description}} {% if perms.django_pettycash.add_source or perms.django_pettycash.change_source or perms.django_pettycash.delete_source %} {% trans "View" %} {% endif %} {% if perms.django_pettycash.change_source %} {% trans "Edit" %} {% endif %} {% if perms.django_pettycash.delete_source %} {% trans "Delete" %} {% endif %}
{% else %}

{% trans "No sources" %}

{% endif %} {% endblock content %}