{% extends "fitcheck/base.html" %} {% load i18n %} {% block fitcheck_content %}
{% if doctrine.image_type_id %} {% else %} {% endif %}
{% translate "Doctrine" %} · {% translate "Created" %} {{ doctrine.created_at|date:"Y-m-d" }} · {% translate "Updated" %} {{ doctrine.updated_at|date:"Y-m-d" }}

{{ doctrine.name }}

{% for category in doctrine.categories.all %} {{ category.name }} {% endfor %} {% if not doctrine.is_active %} {% translate "inactive" %} {% endif %}
{% if can_manage %}
{% if doctrine.source_plugin_pk %}
{% csrf_token %}
{% endif %}
{% csrf_token %}
{% endif %}
{% if doctrine.description %}

{{ doctrine.description|linebreaksbr }}

{% endif %}
{% if can_manage %}
{% translate "Edit Doctrine" %}
{% csrf_token %}
{{ doctrine_form.name }} {{ doctrine_form.description }}
{{ doctrine_form.is_active }}
{{ doctrine_form.image_type_id }}
{{ doctrine_form.categories }}
{% translate "Categories drive who can see this doctrine and its fits." %} {% translate "Manage categories" %}
{% translate "Manage Fittings in This Doctrine" %} {% translate "Import a New Fitting (EFT)" %}
{% csrf_token %}
{% translate "Pick filters above to search for fittings to assign." %}
0 {% translate "selected" %}
{% endif %}
{% translate "Fittings" %}
{% for fit in doctrine.fits.all %}
{{ fit.name }}
{{ fit.ship_type.name }} · v{{ fit.version }} {% if not fit.is_active %} · {% translate "inactive" %} {% endif %}
{% for category in doctrine.categories.all %} {{ category.name }} {% endfor %}
{% if can_manage %}
{% csrf_token %}
{% endif %}
{% empty %}
{% translate "No fittings in this doctrine yet." %}
{% endfor %}
{% endblock %} {% block extra_javascript %} {% if can_manage %} {% endif %} {% endblock %}