{% extends "base.html" %} {% load i18n static pretty_money django_tables2 %} {# Remove page title #} {% block contenttitle %}{% endblock %} {# Use a fluid-width container #} {% block containertype %}container-fluid{% endblock %} {% block content %}
{# User details column #} {# User selection column #}

{% trans "Consum" %}

{# User search with autocompletion #}

{% trans "Select consumptions" %}

{# Buttons column #}
{# Show last used buttons #}

{% trans "Highlighted buttons" %}

{% for button in highlighted %} {% if button.display %} {% endif %} {% endfor %}
{# Regroup buttons under categories #} {# {% regroup transaction_templates by category as categories %} #}
{# Tabs for button categories #}
{# Tabs content #}
{% for category in categories %}
{% for button in category.templates_filtered %} {% if button.display %} {% endif %} {% endfor %}
{% endfor %}
{# Mode switch #}

{% trans "Recent transactions history" %}

{% render_table table %}
{% endblock %} {% block extrajavascript %} {% endblock %}