view sat_templates/templates/bulma/invitation/affiliation_item.html @ 295:1de599c5a68f

bulma (base): loading screen: when the `loading_screen` variable is set before extending `base/base.html`, a loading modal is shown (and must be removed via JavaScript). This avoids the user to try to use an interface which is not reactive or working normally because JS is not fully loaded yet.
author Goffi <goffi@goffi.org>
date Fri, 27 Nov 2020 12:24:03 +0100
parents 5206abf426cd
children ba6f0af3a3f9
line wrap: on
line source

{% import 'components/avatar.html' as avatar with context %}
<div class="media">
    {% if identities is defined %}
        <div class="media-left">
            {{ avatar.avatar(entity_jid) }}
        </div>
    {% endif %}
    <div class="media-content">
        <div class="content">
            {{identities[entity_jid].nicknames[0] if identities[entity_jid].nicknames else entity_jid}}<br>
            <span class="is-italic is-size-7 has-text-grey-light">{{entity_jid}}</span>
        </div>
    </div>
    <div class="media-right">
        <button class="delete click_to_delete"></button>
    </div>
</div>