Mercurial > libervia-templates
comparison sat_templates/templates/bulma/invitation/affiliation_item.html @ 272:5206abf426cd
bulma (invitation/affiliation_item): import avatar + show mainly nickname then jid below
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 14 Aug 2020 08:46:03 +0200 |
parents | caadb06854a0 |
children | ba6f0af3a3f9 |
comparison
equal
deleted
inserted
replaced
271:dea66eead698 | 272:5206abf426cd |
---|---|
1 {% import 'components/avatar.html' as avatar with context %} | |
1 <div class="media"> | 2 <div class="media"> |
2 {% if identities is defined %} | 3 {% if identities is defined %} |
3 {% if avatar is defined %} | 4 <div class="media-left"> |
4 <div class="media-left"> | 5 {{ avatar.avatar(entity_jid) }} |
5 {{ avatar.avatar(entity_jid) }} | 6 </div> |
6 </div> | |
7 {% endif %} | |
8 {% endif %} | 7 {% endif %} |
9 <div class="media-content"> | 8 <div class="media-content"> |
10 <div class="content">{{entity_jid}}</div> | 9 <div class="content"> |
10 {{identities[entity_jid].nicknames[0] if identities[entity_jid].nicknames else entity_jid}}<br> | |
11 <span class="is-italic is-size-7 has-text-grey-light">{{entity_jid}}</span> | |
12 </div> | |
11 </div> | 13 </div> |
12 <div class="media-right"> | 14 <div class="media-right"> |
13 <button class="delete click_to_delete"></button> | 15 <button class="delete click_to_delete"></button> |
14 </div> | 16 </div> |
15 </div> | 17 </div> |