annotate sat_templates/templates/bulma/list/view_generic.html @ 413:0190a0d32909 default tip

Forum: Major redesign of forums: Forums have been redesigned. They follow the new general design with 2 or 3 panels, allowing to have directly a forum if one is found/set up, and a panel on the left to search/discover other ones. Categories have been rewritten to be usable with pubsub relationships, a XEP-0277 type node is used for topics, and each item has a comments node for the threads. The thread view is set in `forum/show_messages.html` template. It has a header with a search box and a button to (un)subscribe. Items are displayed with the same macros as for the blog items. Below a room is set for editor, tags and attachments. rel 463
author Goffi <goffi@goffi.org>
date Fri, 05 Sep 2025 21:54:09 +0200
parents 3db3509cbad1
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
309
27511c821481 bulma (list/overview): use specialised view for `grocery` list
Goffi <goffi@goffi.org>
parents:
diff changeset
1 <div id="list" class="container has-background-white px-1 py-1">
27511c821481 bulma (list/overview): use specialised view for `grocery` list
Goffi <goffi@goffi.org>
parents:
diff changeset
2 {{ xmlui.generate_list(
332
3db3509cbad1 bulma: fix items/pagination ordering in various places following ordering fix in Libervia/SàT Pubsub
Goffi <goffi@goffi.org>
parents: 309
diff changeset
3 list_items|reverse,
309
27511c821481 bulma (list/overview): use specialised view for `grocery` list
Goffi <goffi@goffi.org>
parents:
diff changeset
4 (
27511c821481 bulma (list/overview): use specialised view for `grocery` list
Goffi <goffi@goffi.org>
parents:
diff changeset
5 ('title', _('Title')),
27511c821481 bulma (list/overview): use specialised view for `grocery` list
Goffi <goffi@goffi.org>
parents:
diff changeset
6 ('labels', _('Labels')),
27511c821481 bulma (list/overview): use specialised view for `grocery` list
Goffi <goffi@goffi.org>
parents:
diff changeset
7 ('id', _('Id')),
27511c821481 bulma (list/overview): use specialised view for `grocery` list
Goffi <goffi@goffi.org>
parents:
diff changeset
8 ('author', _('Author')),
27511c821481 bulma (list/overview): use specialised view for `grocery` list
Goffi <goffi@goffi.org>
parents:
diff changeset
9 ),
27511c821481 bulma (list/overview): use specialised view for `grocery` list
Goffi <goffi@goffi.org>
parents:
diff changeset
10 {
27511c821481 bulma (list/overview): use specialised view for `grocery` list
Goffi <goffi@goffi.org>
parents:
diff changeset
11 'id': '\n#{value}',
27511c821481 bulma (list/overview): use specialised view for `grocery` list
Goffi <goffi@goffi.org>
parents:
diff changeset
12 'author': _('by {value}'),
27511c821481 bulma (list/overview): use specialised view for `grocery` list
Goffi <goffi@goffi.org>
parents:
diff changeset
13 },
27511c821481 bulma (list/overview): use specialised view for `grocery` list
Goffi <goffi@goffi.org>
parents:
diff changeset
14 item_class_fields=['status', 'priority', 'severity'],
27511c821481 bulma (list/overview): use specialised view for `grocery` list
Goffi <goffi@goffi.org>
parents:
diff changeset
15 field_class_map={
27511c821481 bulma (list/overview): use specialised view for `grocery` list
Goffi <goffi@goffi.org>
parents:
diff changeset
16 'title': 'has-text-weight-bold',
27511c821481 bulma (list/overview): use specialised view for `grocery` list
Goffi <goffi@goffi.org>
parents:
diff changeset
17 'labels': 'tag is-rounded x-is-hoverable',
27511c821481 bulma (list/overview): use specialised view for `grocery` list
Goffi <goffi@goffi.org>
parents:
diff changeset
18 'id': 'has-text-grey-light is-size-7 has-whitespace-pre-wrap',
27511c821481 bulma (list/overview): use specialised view for `grocery` list
Goffi <goffi@goffi.org>
parents:
diff changeset
19 'author': 'is-size-7'
27511c821481 bulma (list/overview): use specialised view for `grocery` list
Goffi <goffi@goffi.org>
parents:
diff changeset
20 },
27511c821481 bulma (list/overview): use specialised view for `grocery` list
Goffi <goffi@goffi.org>
parents:
diff changeset
21 on_click=on_list_item_click)
27511c821481 bulma (list/overview): use specialised view for `grocery` list
Goffi <goffi@goffi.org>
parents:
diff changeset
22 }}
27511c821481 bulma (list/overview): use specialised view for `grocery` list
Goffi <goffi@goffi.org>
parents:
diff changeset
23 </div>