view sat_templates/templates/bulma/components/menu_labels.html @ 363:cddac8502c4b

chat/message: fix urlize escaping on nunjucks: Nunjucks imply to use `safe` when using `urlize`, while Jinja2 doesn't. Esacaping and safe filter are added so that `urlize` can work with both engines.
author Goffi <goffi@goffi.org>
date Wed, 28 Jun 2023 10:40:53 +0200
parents c98a0a4a3fd0
children
line wrap: on
line source

{# menu labels, map from menu names to labels #}
{% set label = {
    'login': _('Session') if profile else _('Log in'),
    'blog': _('Blog'),
    'calls': _('Calls'),
    'forums': _('Forums'),
    'merge-requests': _('Merge requests'),
    'merge-request_new': _('Create new merge request'),
    'lists': _('Lists'),
    'list_items': _('List items'),
    'list_item_new': _('Create new list item'),
    'chat': _('Chat'),
    'files': _('Files sharing'),
    'calendar': _('Calendar'),
    'events': _('Events'),
    'event_new': _('Create an event'),
    'photos': _('Photos albums'),
    'app': _('Application'),
} %}