{% extends 'fittings/base.html' %} {% load i18n %} {% load humanize %} {% load filters %} {% load static %} {% block more_css %} {% include 'bundles/datatables-css.html' %} {% endblock %} {% block page_title %}{% trans "View Category" %}{% endblock %} {% block fittings_block %}
Category {% if perms.fittings.manage %} {% endif %}
Name:
{{cat.name}}
{% if perms.fittings.manage %} Groups:
{% if cat.groups.all|length != 0 %} {% for group in cat.groups.all %} {{group.name}} {% endfor %} {% else %} Category is public {% endif %} {% endif %}
{% if not docs %} {% else %} {% for doc in docs %} {% endfor %} {% endif %}
Name Categories Description Ships
No Doctrines Found
{{ doc.name }} {% for cate in doc.category.all %} {{cate.name}} {% endfor %} {{ doc.description }} {% for fitting in doc_dict|get_item:doc.pk %} {% endfor %}
{% if not fits %} {% else %} {% for fit in fits %} {% endfor %} {% endif %}
Name Categories Description Ship Type
No Fits Found
{{ fit.name }} {% for cate in cats|get_item:fit.pk %} {{cate.name}} {% endfor %} {{ fit.description }} {% item_img_circle fit.ship_type_type_id fit.ship_type.type_name '32' %} {{ fit.ship_type.type_name }}
{% endblock %} {% block extra_javascript %} {% include 'bundles/datatables-js.html' %} {% endblock %} {% block extra_script %} $(document).ready(function(){ $('#docTable').DataTable(); $('[data-toggle="tooltip"]').tooltip(); $('#fitTable').DataTable(); $('[data-toggle="tooltip"]').tooltip(); }) {% endblock %}