{% load static %}
{% load i18n %}
{% load custom_tags %}

<footer class="footer">
    <div class="columns">
        <div class="column">
            <div class="block">
                <h3 class="title is-3 has-text-left">
                    Notfellchen
                </h3>

                <!-- footer content -->
                <p class="has-text-left">
                    Für Menschen die Ratten aus dem Tierschutz ein liebendes Zuhause geben wollen.
                </p>
            </div>

            <div class="block">
                <h3 class="title is-5">
                    {% trans 'Sprache ändern' %}
                </h3>
                {% include "fellchensammlung/forms/form_change_language.html" %}
            </div>

        </div>

        <div class="column">
            <h4 class="title is-4 has-text-justify">
                {% translate 'Über uns' %}
            </h4>

            <a href="{% url "about" %}">
                {% translate 'Das Notfellchen Projekt' %}
            </a>
            <br/>
            <a href="{% url "contact" %}">
                {% translate 'Kontakt' %}
            </a>
            <br/>
            <a href="{% url "buying" %}">
                {% translate 'Ratten kaufen' %}
            </a>
            <br/>
            <a href="{% url "terms-of-service" %}">
                {% translate 'Nutzungsbedingungen' %}
            </a>
            <br/>

            <a href="{% url "privacy" %}">
                {% translate 'Datenschutz' %}
            </a>
            <br/>
            <a href="{% url "imprint" %}">
                {% translate 'Impressum' %}
            </a>
            <br/>
        </div>

        <div class="column">
            <h4 class="title is-4 has-text-justify">
                Technisches
            </h4>

            <div>
                <a class="nav-link " href="{% url "rss" %}">
                    <i class="fa-solid fa-rss fa-fw"></i> {% translate 'RSS' %}
                </a>
                <br/>

                <a href="https://dokumentation.notfellchen.org/">
                  <span class="icon-text">
                    <span>{% translate 'Dokumentation' %}</span>
                  </span>
                </a>
                <br/>

                <a href="mailto:info@notfellchen.org">
                  <span class="icon-text">
                    <span>{% translate 'Probleme melden' %}</span>
                  </span>
                </a>
                <br/>
                <a href="https://codeberg.org/moanos/notfellchen">
                  <span class="icon-text">
                    <span>{% trans 'Code' %}</span>
                  </span>
                </a>
            </div>
        </div>
        <div class="column">
            <h4 class="title is-4 has-text-justify">
                {% trans 'Hilfreiche Links' %}
            </h4>
            <a class="nav-link " href="{% url "rescue-organizations" %}">
                {% translate 'Tierheime in der Nähe' %}
            </a>
            <br/>
            {% if request.user.is_authenticated %}
                {% trust_level "MODERATOR" as coordinator_trust_level %}
                {% if request.user.trust_level >= coordinator_trust_level %}
                    <a class="nav-link " href="{% url "modtools" %}">
                        {% translate 'Moderationstools' %}
                    </a>
                {% endif %}
                <br/>
                {% if request.user.is_superuser %}
                    <a class="nav-link " href="{% url "admin:index" %}">
                        <i class="fa-solid fa-screwdriver-wrench fa-fw"></i>{% translate 'Admin-Bereich' %}
                    </a>
                {% endif %}
            {% endif %}
        </div>
    </div>
</footer>