{% extends "base.html" %} {% load static %} {% block content %} {% include "part/cat_link.html" with category=part.category %}

{{ part.name }}

{% if part.description %}

{{ part.description }}

{% endif %} {% if part.IPN %} IPN {{ part.IPN }} {% endif %} {% if part.URL %} URL {{ part.URL }} {% endif %}

Stock Status - {{ part.available_stock }} available

{% if part.buildable %} {% if part.quantity_being_built > 0 %} {% endif %} {% endif %} {% if part.allocation_count > 0 %} {% endif %}
In Stock {{ part.total_stock }}
Can Build {{ part.can_build }}
Underway {{ part.quantity_being_built }}
Allocated {{ part.allocation_count }}

{% block details %} {% endblock %}
{% include 'modals.html' %} {% endblock %} {% block js_load %} {% endblock %} {% block js_ready %} $("#part-thumb").click(function() { launchModalForm("#modal-form", "{% url 'part-image' part.id %}", ); }); {% endblock %}