Mercurial > libervia-templates
comparison sat_templates/templates/bulma/invitation/new_item.html @ 273:a617d37a52e5
bulma (invitation): template for new item
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 14 Aug 2020 08:46:59 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
272:5206abf426cd | 273:a617d37a52e5 |
---|---|
1 {% import 'components/avatar.html' as avatar with context %} | |
2 | |
3 <div class="dropdown-item media has-items-vcentered" {{ {'data-entity-jid': entity_jid}|xmlattr }}> | |
4 {% if identities is defined %} | |
5 <div class="media-left"> | |
6 {{ avatar.avatar(entity_jid) }} | |
7 </div> | |
8 {% endif %} | |
9 <div class="media-content"> | |
10 <div class="content"> | |
11 {{identities[entity_jid].nicknames[0] if identities[entity_jid].nicknames else entity_jid}}<br> | |
12 <span class="is-italic is-size-7 has-text-grey-light">{{entity_jid}}</span> | |
13 </div> | |
14 </div> | |
15 <div class="media-right"> | |
16 <button class="button click_to_ok"> | |
17 <span>{% trans %}invite{% endtrans %}</span> | |
18 <span class="icon is-small"> | |
19 <i class="icon-plus-circled"></i> | |
20 </span> | |
21 </button> | |
22 </div> | |
23 </div> |