Mercurial > libervia-templates
annotate sat_templates/templates/default/event/overview.html @ 385:941e4006ab6e
bulma (message): reactions + fixes:
- add "reaction" button
- fix attachments display
- add reaction templates
- add reactions to messages
- fix "info" messages display
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 22 Nov 2023 15:22:11 +0100 |
parents | 03c8fd941c0c |
children |
rev | line source |
---|---|
154
80cf52fbcc40
events: added admin, create and overview templates
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
1 {# overview of current events |
80cf52fbcc40
events: added admin, create and overview templates
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
2 |
80cf52fbcc40
events: added admin, create and overview templates
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
3 @variable item(xmlui_item): ticket to display |
80cf52fbcc40
events: added admin, create and overview templates
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
4 @variable comments(data_object.BlogItems): comments of the ticket |
80cf52fbcc40
events: added admin, create and overview templates
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
5 @variable comments_service(unicode): service for adding comments |
80cf52fbcc40
events: added admin, create and overview templates
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
6 @variable comments_node(unicode): node for adding comments |
80cf52fbcc40
events: added admin, create and overview templates
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
7 #} |
80cf52fbcc40
events: added admin, create and overview templates
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
8 |
80cf52fbcc40
events: added admin, create and overview templates
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
9 {% set category_menu = [('event_new', url_event_new)] %} |
80cf52fbcc40
events: added admin, create and overview templates
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
10 {% if not embedded %}{% extends 'base/base.html' %}{% endif %} |
196
03c8fd941c0c
event, photo, components: moved interests grid in a macro (in components/block)
Goffi <goffi@goffi.org>
parents:
164
diff
changeset
|
11 {% import 'components/block.html' as block with context %} |
03c8fd941c0c
event, photo, components: moved interests grid in a macro (in components/block)
Goffi <goffi@goffi.org>
parents:
164
diff
changeset
|
12 |
154
80cf52fbcc40
events: added admin, create and overview templates
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
13 {% block body %} |
196
03c8fd941c0c
event, photo, components: moved interests grid in a macro (in components/block)
Goffi <goffi@goffi.org>
parents:
164
diff
changeset
|
14 {{ icon_defs('calendar') }} |
154
80cf52fbcc40
events: added admin, create and overview templates
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
15 <div class="box message--info"> |
80cf52fbcc40
events: added admin, create and overview templates
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
16 <p>{% trans %}There is not events discovery yet, this will come in the future.{% endtrans %}</p> |
80cf52fbcc40
events: added admin, create and overview templates
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
17 </div> |
80cf52fbcc40
events: added admin, create and overview templates
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
18 {% if events is defined %} |
80cf52fbcc40
events: added admin, create and overview templates
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
19 <p class="message--note"> |
80cf52fbcc40
events: added admin, create and overview templates
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
20 {% trans nb_events=events|length%} |
80cf52fbcc40
events: added admin, create and overview templates
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
21 You have currently {{nb_events}} event in your personal list |
80cf52fbcc40
events: added admin, create and overview templates
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
22 {% pluralize %} |
80cf52fbcc40
events: added admin, create and overview templates
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
23 You have currently {{nb_events}} events in your personal list |
80cf52fbcc40
events: added admin, create and overview templates
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
24 {% endtrans %} |
80cf52fbcc40
events: added admin, create and overview templates
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
25 </p> |
196
03c8fd941c0c
event, photo, components: moved interests grid in a macro (in components/block)
Goffi <goffi@goffi.org>
parents:
164
diff
changeset
|
26 |
03c8fd941c0c
event, photo, components: moved interests grid in a macro (in components/block)
Goffi <goffi@goffi.org>
parents:
164
diff
changeset
|
27 {{block.interests_grid(events, 'calendar')}} |
03c8fd941c0c
event, photo, components: moved interests grid in a macro (in components/block)
Goffi <goffi@goffi.org>
parents:
164
diff
changeset
|
28 |
154
80cf52fbcc40
events: added admin, create and overview templates
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
29 {% endif %} |
80cf52fbcc40
events: added admin, create and overview templates
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
30 {% endblock body %} |