{% extends "company/manufacturer_part_base.html" %}
{% load static %}
{% load i18n %}

{% block menubar %}
{% include "company/manufacturer_part_navbar.html" with tab='details' %}
{% endblock %}

{% block heading %}
{% trans "Manufacturer Part Details" %}
{% endblock %}


{% block details %}

<table class="table table-striped table-condensed">
    <tr>
        <td>{% trans "Internal Part" %}</td>
        <td>
            {% if part.part %}
            <a href="{% url 'part-manufacturers' part.part.id %}">{{ part.part.full_name }}</a>
            {% endif %}
        </td>
    </tr>
    <tr><td>{% trans "Manufacturer" %}</td><td><a href="{% url 'company-detail-manufacturer-parts' part.manufacturer.id %}">{{ part.manufacturer.name }}</a></td></tr>
    <tr><td>{% trans "MPN" %}</td><td>{{ part.MPN }}</tr></tr>
{% if part.link %}
    <tr><td>{% trans "External Link" %}</td><td><a href="{{ part.link }}">{{ part.link }}</a></td></tr>
{% endif %}
</table>

{% endblock %}

{% block js_ready %}
{{ block.super }}
    

{% endblock %}