{% extends "fitcheck/base.html" %} {% load i18n %} {% block fitcheck_content %}
{% translate "Fitting standard" %} · {% translate "Fit" %} v{{ fit.version }} · {% translate "Created" %} {{ fit.created_at|date:"Y-m-d" }} {% with updated=fit.bom_updated_at|default:fit.updated_at %} · {% translate "Updated" %} {{ updated|date:"Y-m-d" }} {% endwith %} {% if perms.fitcheck.manage_doctrines and fit.archives.exists %} · {% translate "Version history" %} {% endif %}

{{ fit.name }}

{{ fit.ship_type.name }}
{% for chip in doctrine_chips %} {{ chip.doctrine.name }} {% if perms.fitcheck.manage_doctrines and chip.assignment_pk %} {% endif %} {% for category in chip.doctrine.categories.all %} {{ category.name }} {% endfor %} {% empty %} {% translate "Standalone standard" %} {% endfor %} {% if perms.fitcheck.manage_doctrines %} {% endif %}
{% csrf_token %}
{% translate "Validate My Ships" %} {% if perms.fitcheck.view_member_inventory or perms.fitcheck.view_own_corp_inventory %} {% translate "Browse Member Ships" %} {% endif %} {% if can_test %} {% translate "Test a Fit" %} {% endif %} {% if perms.fitcheck.manage_doctrines %} {% translate "Update Fit" %} {% translate "Module Policies" %} {% endif %}
{% if perms.fitcheck.manage_doctrines %}
{% translate "Doctrines This Fitting Belongs To" %}
{% csrf_token %}
{% for doctrine in all_doctrines %}
{% empty %}
{% translate "No doctrines yet. Create one from the Doctrines tab first." %}
{% endfor %}
{% endif %} {% if fit.description %}

{{ fit.description|linebreaksbr }}

{% endif %} {% for section in sections %}
{% include "fitcheck/partials/section_icon.html" with code=section.code %} {{ section.section }}
{% for item in section.items %} {% endfor %}
{{ item.module_type.name }} {% if item.charge_type %} ({{ item.charge_type.name }}) {% endif %} {% if item.notes %} {% endif %} ×{{ item.quantity }} {% if item.min_quantity_pct != 100 %} ({% blocktranslate with pct=item.min_quantity_pct %}min {{ pct }}%{% endblocktranslate %}) {% endif %} {% if item.no_enforcement %} {% translate "No enforcement" %} {% else %} {{ item.get_policy_display }} {% endif %} {% if item.mutated_allowed %} {% translate "Abyssal OK" %} {% endif %} {% if item.alternatives %}
{{ item.alternatives|length }} {% translate "allowed alternatives" %} {% for alt in item.alternatives %} {{ alt.name }} {% endfor %}
{% elif item.no_enforcement %} {% translate "anything accepted" %} {% else %} {% translate "exact only" %} {% endif %}
{% endfor %} {% endblock %} {% block extra_javascript %} {% endblock %}