{# #} {# #} {% include 'nav_bar.html' %}
{% include 'sidebars/sidebar_objects.html' %}

{% if subchannel['chat']['name'] %}{{ subchannel['chat']['name'] }} {% else %} {{ subchannel['chat']['id'] }}{% endif %} - {% if subchannel['username'] %}{{ subchannel["username"] }} {% else %} {{ subchannel['name'] }}{% endif %} :

{{ subchannel["id"] }}
  • {# #}
    NameChat InstanceFirst seen Last seen Username Nb Messages
    {# {{ subchannel["subtype"] }}#} {{ subchannel['name'] }} {% if subchannel['first_seen'] %} {{ subchannel['first_seen'][0:4] }}-{{ subchannel['first_seen'][4:6] }}-{{ subchannel['first_seen'][6:8] }} {% endif %} {% if subchannel['last_seen'] %} {{ subchannel['last_seen'][0:4] }}-{{ subchannel['last_seen'][4:6] }}-{{ subchannel['last_seen'][6:8] }} {% endif %} {% if 'username' in subchannel %} {{ subchannel['username'] }} {% endif %} {{ subchannel['nb_messages'] }}
  • {% if subchannel['info'] %}
  • {{ subchannel['info'] }}
  • {% endif %}

  • Tags: {% for tag in subchannel['tags'] %} {% endfor %}
{% with obj_type='chat', obj_id=subchannel['id'], obj_subtype=subchannel['subtype'] %} {% include 'modals/investigations_register_obj.html' %} {% endwith %}
{% for tag in subchannel['tags_messages'] %} {{ tag }} {{ subchannel['tags_messages'][tag] }} {% endfor %}
{% for date in messages %} {{ date }} {% endfor %}
{% for date in subchannel['messages'] %}

{{ date }}

{% for mess in subchannel['messages'][date] %}
{{ mess['user-account']['id'] }}
{{ mess['hour'] }}
{% if mess['user-account']['username'] %} {{ mess['user-account']['username']['id'] }} {% else %} {{ mess['user-account']['id'] }} {% endif %}
{% if mess['reply_to'] %}
{% if mess['reply_to']['user-account']['username'] %} {{ mess['reply_to']['user-account']['username']['id'] }} {% else %} {{ mess['reply_to']['user-account']['id'] }} {% endif %}
{{ mess['reply_to']['content'] }}
{% for tag in mess['reply_to']['tags'] %} {{ tag }} {% endfor %}
{{ mess['reply_to']['date'] }}
{#
#} {# #} {# #} {#
#}
{% endif %}
{{ mess['content'] }}
{% for tag in mess['tags'] %} {{ tag }} {% endfor %}
{% endfor %}
{% endfor %}