| 1 | {# overview of current events |
| 2 | |
| 3 | @variable item(xmlui_item): ticket to display |
| 4 | @variable comments(data_object.BlogItems): comments of the ticket |
| 5 | @variable comments_service(unicode): service for adding comments |
| 6 | @variable comments_node(unicode): node for adding comments |
| 7 | #} |
| 8 | |
| 9 | {% set category_menu = [('event_new', url_event_new)] %} |
| 10 | {% if not embedded %}{% extends 'base/base.html' %}{% endif %} |
| 11 | {% import 'components/block.html' as block with context %} |
| 12 | |
| 13 | {% block body %} |
| 14 | {{ icon_defs('calendar') }} |
| 15 | <div class="box message--info"> |
| 16 | <p>{% trans %}There is not events discovery yet, this will come in the future.{% endtrans %}</p> |
| 17 | </div> |
| 18 | {% if events is defined %} |
| 19 | <p class="message--note"> |
| 20 | {% trans nb_events=events|length%} |
| 21 | You have currently {{nb_events}} event in your personal list |
| 22 | {% pluralize %} |
| 23 | You have currently {{nb_events}} events in your personal list |
| 24 | {% endtrans %} |
| 25 | </p> |
| 26 | |
| 27 | {{block.interests_grid(events, 'calendar')}} |
| 28 | |
| 29 | {% endif %} |
| 30 | {% endblock body %} |