Mercurial > libervia-templates
view sat_templates/templates/bulma/list/view_generic.html @ 386:e63fb06052ae
bulma: message edition + extra menu + improvments:
- add an extra menu template with `Edit` and `Quote`
- add a template for previous editions popup
- fix `own_msg` class application
- add CSS for edit mode
- cosmetic changes
author | Goffi <goffi@goffi.org> |
---|---|
date | Tue, 28 Nov 2023 17:48:00 +0100 |
parents | 3db3509cbad1 |
children |
line wrap: on
line source
<div id="list" class="container has-background-white px-1 py-1"> {{ xmlui.generate_list( list_items|reverse, ( ('title', _('Title')), ('labels', _('Labels')), ('id', _('Id')), ('author', _('Author')), ), { 'id': '\n#{value}', 'author': _('by {value}'), }, item_class_fields=['status', 'priority', 'severity'], field_class_map={ 'title': 'has-text-weight-bold', 'labels': 'tag is-rounded x-is-hoverable', 'id': 'has-text-grey-light is-size-7 has-whitespace-pre-wrap', 'author': 'is-size-7' }, on_click=on_list_item_click) }} </div>