{% extends 'corptools/character/char_base.html' %} {% load humanize %} {% load evelinks %} {% load helpers %} {% block ct_block %}
Contacts
{% for contact in table_data %} {% endfor %}
Name Standing Labels Blocked Watched Blocked Watched 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 %} Yes {% else %} No {% endif %} {% if contact.watched %} Yes {% else %} No {% endif %} {{ contact.character.character.character_name}}
{% endblock %} {% block extra_javascript %} {% include 'bundles/datatables-js.html' %} {% endblock %} {% 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 %}