Mercurial > libervia-templates
annotate sat_templates/templates/bulma/invitation/affiliation_item.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 | 5206abf426cd |
children | ba6f0af3a3f9 |
rev | line source |
---|---|
272
5206abf426cd
bulma (invitation/affiliation_item): import avatar + show mainly nickname then jid below
Goffi <goffi@goffi.org>
parents:
260
diff
changeset
|
1 {% import 'components/avatar.html' as avatar with context %} |
260
caadb06854a0
bulma (invitation): invitation manager first draft
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
2 <div class="media"> |
caadb06854a0
bulma (invitation): invitation manager first draft
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
3 {% if identities is defined %} |
272
5206abf426cd
bulma (invitation/affiliation_item): import avatar + show mainly nickname then jid below
Goffi <goffi@goffi.org>
parents:
260
diff
changeset
|
4 <div class="media-left"> |
5206abf426cd
bulma (invitation/affiliation_item): import avatar + show mainly nickname then jid below
Goffi <goffi@goffi.org>
parents:
260
diff
changeset
|
5 {{ avatar.avatar(entity_jid) }} |
5206abf426cd
bulma (invitation/affiliation_item): import avatar + show mainly nickname then jid below
Goffi <goffi@goffi.org>
parents:
260
diff
changeset
|
6 </div> |
260
caadb06854a0
bulma (invitation): invitation manager first draft
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
7 {% endif %} |
caadb06854a0
bulma (invitation): invitation manager first draft
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
8 <div class="media-content"> |
272
5206abf426cd
bulma (invitation/affiliation_item): import avatar + show mainly nickname then jid below
Goffi <goffi@goffi.org>
parents:
260
diff
changeset
|
9 <div class="content"> |
5206abf426cd
bulma (invitation/affiliation_item): import avatar + show mainly nickname then jid below
Goffi <goffi@goffi.org>
parents:
260
diff
changeset
|
10 {{identities[entity_jid].nicknames[0] if identities[entity_jid].nicknames else entity_jid}}<br> |
5206abf426cd
bulma (invitation/affiliation_item): import avatar + show mainly nickname then jid below
Goffi <goffi@goffi.org>
parents:
260
diff
changeset
|
11 <span class="is-italic is-size-7 has-text-grey-light">{{entity_jid}}</span> |
5206abf426cd
bulma (invitation/affiliation_item): import avatar + show mainly nickname then jid below
Goffi <goffi@goffi.org>
parents:
260
diff
changeset
|
12 </div> |
260
caadb06854a0
bulma (invitation): invitation manager first draft
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
13 </div> |
caadb06854a0
bulma (invitation): invitation manager first draft
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
14 <div class="media-right"> |
caadb06854a0
bulma (invitation): invitation manager first draft
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
15 <button class="delete click_to_delete"></button> |
caadb06854a0
bulma (invitation): invitation manager first draft
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
16 </div> |
caadb06854a0
bulma (invitation): invitation manager first draft
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
17 </div> |