{% extends "corptools/character/char_base.html" %} {% load humanize %} {% load i18n %} {% load evelinks %} {% load helpers %} {% block ct_block %}
{% translate "Contacts" %}
{% for contact in table_data %} {% endfor %}
{% translate "Name" %} {% translate "Standing" %} {% translate "Labels" %} {% translate "Blocked" %} {% translate "Watched" %} {% translate "Blocked" %} {% translate "Watched" %} {% translate "Owner" %}
{{ contact.contact_name.name }} {{ contact.standing|standing_span }} {% for label in contact.labels.all %}{{ label.label_name }}{% endfor %} {% if contact.blocked %} {% else %} {% endif %} {% if contact.watched %} {% else %} {% endif %} {% if contact.blocked %} {% translate "Yes" %} {% else %} {% translate "No" %} {% endif %} {% if contact.watched %} {% translate "Yes" %} {% else %} {% translate "No" %} {% endif %} {{ contact.character.character.character_name }}
{% endblock ct_block %} {% block extra_javascript %} {% include "bundles/datatables-js.html" %} {% endblock extra_javascript %} {% block ct_extra_script %} $(document).ready(function() { $('#table-contacts').DataTable({ "filterDropDown": { columns: [{ idx: 8 },{ idx: 6 }, { idx: 7 }] }, "columnDefs": [ { "visible": false, "targets": [6,7] }, { "sortable": false, "targets": [0,4,5] } ], "order": [ [1, "asc"] ], "pageLength": 50 }); }) {% endblock ct_extra_script %}