{% extends "facturio/base.html" %} {% load i18n %} {% block title %}{% trans "Subjects" %}{% endblock %} {% block content %} {% trans "Add new" %} {% for subject in subjects %} {# FIXME: in the future, or when this create problems, find a better way#} {% with linked_users=subject.get_linked_users %} {% endwith %} {% endfor %}
{% trans "CIN" %} {% trans "Name" %} {% trans "VAT ID" %} {% trans "Street" %} {% trans "Zip Code" %} {% trans "City" %} {% trans "City part" %} {% trans "Connect" %}
{{ subject.id }} {{ subject.name }} {{ subject.vat_id }} {{ subject.street }} {{ subject.zip_code }} {{ subject.city }} {{ subject.city_part }} {% if request.user.id not in linked_users %} {% trans "Link" %} {% else %} {% trans "Unlink" %} {% endif %}
{% endblock %}