{% extends "main/base.html" %}
{% load static %}
{% load main_extras %}
{% load i18n %}
{% block title %}
  {% block name %}{% endblock %}
  {% if account %}– {{ account }}{% endif %}
  {% if category %}– {{ category }}{% endif %}
  {% if search %}
    – {% translate "Search" %}
  {% endif %}
  – Nummi
{% endblock %}
{% block link %}
  {{ block.super }}
  {% css "main/css/table.css" %}
{% endblock %}
{% block body %}
  <h2>
    {% block h2 %}{% endblock %}
  </h2>
  {% if account or category or search %}
    <div class="backlinks">
      {% block backlinks %}
        {% if account %}
          <p>
            <a class="big-link" href="{{ account.get_absolute_url }}">{{ account.icon|remix }}{{ account }}</a>
          </p>
        {% endif %}
        {% if category %}
          <p>
            <a class="big-link" href="{{ category.get_absolute_url }}">{{ category.icon|remix }}{{ category }}</a>
          </p>
        {% endif %}
        {% if search %}
          <p>
            <a href="{% url "search" %}">{% translate "Search" %}</a>
          </p>
        {% endif %}
      {% endblock %}
    </div>
  {% endif %}
  {% include "main/pagination.html" %}
  {% block table %}{% endblock %}
  {% include "main/pagination.html" %}
  {% block body_more %}{% endblock %}
{% endblock %}
