{% extends "base.html" %} {% load static %} {% load i18n %} {% load formatstring %} {% block title %}{% translate 'Manufacturer' %}: {{ manufacturer }}{% endblock %} {% block header_bar %} {% translate 'Manufacturer' %}: {{ manufacturer.name }} {{ manufacturer.description }} {% endblock %} {% block header_icons %} {% if user.is_staff %}
  • {% endif %} {% endblock %} {% block content %} {% if manufacturer.icon %} {% endif %} {% if manufacturer.created_at != manufacturer.changed_at %} {% endif %}
    {% translate 'Name' %} {{ manufacturer.name }}
    {% translate 'Description' %} {{ manufacturer.description }}
    {% translate 'Icon' %}
    {% translate 'Web link' %} {% if manufacturer.web_link %}{{ manufacturer.web_link }}{% else %}-{% endif %}
    {% translate 'Tags' %}
      {% for tag in manufacturer.tags.all %}
    • {{ tag.name }}
    • {% empty %} {% translate 'No tags' %} {% endfor %}
    {% translate 'Created at' %}{{ manufacturer.created_at }}
    {% translate 'Changed at' %}{{ manufacturer.changed_at }}

    {% translate 'Items' %}

    {% url 'manufacturer-detail' manufacturer.id as this_url %} {% include "inventory/pagination.html" with url=this_url id="paginator_top" param="item" paginator=items %} {% include "inventory/item_list.html" with items=items show_distributor=1 %} {% include "inventory/pagination.html" with url=this_url id="paginator_bottom" param="item" paginator=items %} {% endblock %}