view sat_templates/templates/default/chat/chat.html @ 300:2a697b1376f1

bulma (components/block): disco entities's `icon_name` is used as icon when available: otherwide, `default_icon_name` is used.
author Goffi <goffi@goffi.org>
date Sat, 20 Feb 2021 13:37:19 +0100
parents e9f0a4215e46
children
line wrap: on
line source

{{ script.include('chat') }}
{% if not embedded %}{% extends 'base/base.html' %}{% endif %}
{% block title %}{{ target_jid }} - {{ super() }}{% endblock %}
{% block body %}
<div class="chat_widget">
    <div id="messages">
    {% if subject is defined %}
        <div id="subject">
            {{- subject|urlize(nofollow=true,target='_blank') -}}
        </div>
    {% endif %}
    {% for msg in messages %}
        {% include 'chat/message.html' %}
    {% endfor %}
    </div>
    <div class="message_box">
        <textarea id="message_input" name="message" type="text" placeholder="{{_("enter your message")}}"></textarea>
    </div>
</div>
{% endblock body %}

{% block footer %}{% endblock footer %}