# HG changeset patch # User Goffi # Date 1597387563 -7200 # Node ID 5206abf426cd810f935b0153e5cdbc2aebfb06e2 # Parent dea66eead6983e438c2617a55e8caeb2eb5f9674 bulma (invitation/affiliation_item): import avatar + show mainly nickname then jid below diff -r dea66eead698 -r 5206abf426cd sat_templates/templates/bulma/invitation/affiliation_item.html --- a/sat_templates/templates/bulma/invitation/affiliation_item.html Fri Aug 14 08:46:03 2020 +0200 +++ b/sat_templates/templates/bulma/invitation/affiliation_item.html Fri Aug 14 08:46:03 2020 +0200 @@ -1,13 +1,15 @@ +{% import 'components/avatar.html' as avatar with context %}
{% if identities is defined %} - {% if avatar is defined %} -
- {{ avatar.avatar(entity_jid) }} -
- {% endif %} +
+ {{ avatar.avatar(entity_jid) }} +
{% endif %}
-
{{entity_jid}}
+
+ {{identities[entity_jid].nicknames[0] if identities[entity_jid].nicknames else entity_jid}}
+ {{entity_jid}} +