Mercurial > libervia-templates
annotate sat_templates/templates/bulma/invitation/affiliation_item.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 | ba6f0af3a3f9 |
children |
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> |
301
ba6f0af3a3f9
bulma(invitation/affiliation_item): add an icon to show/set publishing permission
Goffi <goffi@goffi.org>
parents:
272
diff
changeset
|
11 <span class="is-italic is-size-7 has-text-grey-light"> |
ba6f0af3a3f9
bulma(invitation/affiliation_item): add an icon to show/set publishing permission
Goffi <goffi@goffi.org>
parents:
272
diff
changeset
|
12 {{entity_jid}} |
ba6f0af3a3f9
bulma(invitation/affiliation_item): add an icon to show/set publishing permission
Goffi <goffi@goffi.org>
parents:
272
diff
changeset
|
13 {% if affiliation == 'publisher' %} |
ba6f0af3a3f9
bulma(invitation/affiliation_item): add an icon to show/set publishing permission
Goffi <goffi@goffi.org>
parents:
272
diff
changeset
|
14 <i class="icon-publish has-text-success click_to_set_member"></i> |
ba6f0af3a3f9
bulma(invitation/affiliation_item): add an icon to show/set publishing permission
Goffi <goffi@goffi.org>
parents:
272
diff
changeset
|
15 {% elif affiliation == 'member' %} |
ba6f0af3a3f9
bulma(invitation/affiliation_item): add an icon to show/set publishing permission
Goffi <goffi@goffi.org>
parents:
272
diff
changeset
|
16 <i class="icon-publish click_to_set_publisher"></i> |
ba6f0af3a3f9
bulma(invitation/affiliation_item): add an icon to show/set publishing permission
Goffi <goffi@goffi.org>
parents:
272
diff
changeset
|
17 {% endif %} |
ba6f0af3a3f9
bulma(invitation/affiliation_item): add an icon to show/set publishing permission
Goffi <goffi@goffi.org>
parents:
272
diff
changeset
|
18 </span> |
272
5206abf426cd
bulma (invitation/affiliation_item): import avatar + show mainly nickname then jid below
Goffi <goffi@goffi.org>
parents:
260
diff
changeset
|
19 </div> |
260
caadb06854a0
bulma (invitation): invitation manager first draft
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
20 </div> |
caadb06854a0
bulma (invitation): invitation manager first draft
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
21 <div class="media-right"> |
caadb06854a0
bulma (invitation): invitation manager first draft
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
22 <button class="delete click_to_delete"></button> |
caadb06854a0
bulma (invitation): invitation manager first draft
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
23 </div> |
caadb06854a0
bulma (invitation): invitation manager first draft
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
24 </div> |