{% extends "main/base.html" %} {% load i18n static main_extras transaction_extras category %} {% block link %} {{ block.super }} {% css "main/css/plot.css" %} {% css "main/css/table.css" %} {% endblock link %} {% block title %} {{ year|date:"Y" }} – {{ block.super }} {% endblock title %} {% block body %}

{{ month|date:"F Y"|capfirst }}

{% year_url month %}

{% if previous_month %} {% month_url previous_month fmt="F Y" %} {% endif %} {% month_url month cls="cur" fmt="F Y" %} {% if next_month %} {% month_url next_month fmt="F Y" %} {% endif %}

{% if account or category %}

{{ "arrow-go-back"|remix }}{% translate "Back" %} {% if account %} {{ account.icon|remix }}{{ account }} {% endif %} {% if category %} {{ category.icon|remix }}{{ category }} {% endif %}

{% endif %} {% if not category %}

{% translate "Categories" %}

{% category_plot transactions month=month %}
{% endif %}

{% translate "Transactions" %}

{% url_get "transactions" start_date=month end_date=month|end_of_month category=category.id account=account.id as t_url %}

{{ "list-check"|remixnl }}{% translate "View all transactions" %}

{% transaction_table transactions n_max=8 transactions_url=t_url %}

{% year_url month %}

{% if previous_month %} {% month_url previous_month fmt="F Y" %} {% endif %} {% month_url month cls="cur" fmt="F Y" %} {% if next_month %} {% month_url next_month fmt="F Y" %} {% endif %}

{% endblock body %}