{% 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 %}
{% 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 %}{{ "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 %}