{% extends "base.html" %} {% load static %} {% load formatstring %} {% block title %}{{ item }}{% endblock %} {% block header_bar %} {{ item.name }} {{ item.description }}{% if item.form_factor %}, {{ item.form_factor }}{% endif %} {% endblock %} {% block header_icons %} {% if user.is_staff %}
  • {% endif %} {% endblock %} {% block content %} {% if settings.track_amount %} {% endif %} {% if item.form_factor %} {% endif %} {% if item.manufacturer %} {% endif %} {% if item.distributor %} {% endif %} {% if item.price %} {% endif %} {% if item.last_ordered_on %} {% endif %} {% if item.distributor_item_no %} {% endif %} {% if item.created_at != item.changed_at %} {% endif %} {% if item.documentation.exists %} {% endif %}
    Name {{ item.name }}
    Description {{ item.description }}
    Amount
    {% csrf_token %}
    Low watermark: {{ item.low_count }}
    Tags
      {% for tag in item.all_tags %}
    • {{ tag.name }}
    • {% empty %} No tags {% endfor %}
    Form factor {% if item.form_factor.datasheet %} {% if item.form_factor.icon %}{% endif %} {{ item.form_factor.name }} {% else %} {% if item.form_factor.icon %}{% endif %} {{ item.form_factor.name }} {% endif %}
    Manufacturer {% if item.manufacturer.icon %}{% endif %}{{ item.manufacturer.name }}
    Distributor {% if item.distributor.icon %}{% endif %}{{ item.distributor.name }}
    Price {{ item.price }} Euro
    Last ordered {{ item.last_ordered_on }}
    Link {% formatstring item.distributor.search_link item.distributor_item_no %}
    Created at{{ item.created_at }}
    Last change{{ item.changed_at }}
    Datasheets
    {% endblock %}