Mercurial > libervia-templates
view sat_templates/templates/bulma/invitation/new_item.html @ 325:8c779fb46384
bulma (components/block): interests_grid is more customisable:
- new `delete_icon` argument can be set to `false` if delete icon is not desired
- the macro can now be called, the caller then get 2 arguments: part to customise and
current interest. Part to customise can be:
* `header-title`: markup to put in the title
* `content`: car content (replaces the default `interest.name`)
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 01 May 2021 18:44:47 +0200 |
parents | a617d37a52e5 |
children |
line wrap: on
line source
{% import 'components/avatar.html' as avatar with context %} <div class="dropdown-item media has-items-vcentered" {{ {'data-entity-jid': entity_jid}|xmlattr }}> {% 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="button click_to_ok"> <span>{% trans %}invite{% endtrans %}</span> <span class="icon is-small"> <i class="icon-plus-circled"></i> </span> </button> </div> </div>