Mercurial > libervia-templates
view sat_templates/templates/default/event/overview.html @ 304:cdf88211b86b
bulma (input/field): `field` macro now has `control_class` and `in_group` attributes:
- `control_class` is used to specify additional classes for the control (when `class` is
used for classes of the of the `field`)
- when `in_group` is `true`, `field` is not added, only the `control` is used. This is
useful for grouping elements in the same field
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 27 Feb 2021 20:44:01 +0100 |
parents | 03c8fd941c0c |
children |
line wrap: on
line source
{# overview of current events @variable item(xmlui_item): ticket to display @variable comments(data_object.BlogItems): comments of the ticket @variable comments_service(unicode): service for adding comments @variable comments_node(unicode): node for adding comments #} {% set category_menu = [('event_new', url_event_new)] %} {% if not embedded %}{% extends 'base/base.html' %}{% endif %} {% import 'components/block.html' as block with context %} {% block body %} {{ icon_defs('calendar') }} <div class="box message--info"> <p>{% trans %}There is not events discovery yet, this will come in the future.{% endtrans %}</p> </div> {% if events is defined %} <p class="message--note"> {% trans nb_events=events|length%} You have currently {{nb_events}} event in your personal list {% pluralize %} You have currently {{nb_events}} events in your personal list {% endtrans %} </p> {{block.interests_grid(events, 'calendar')}} {% endif %} {% endblock body %}