view sat_templates/templates/bulma/dialogs/notification.html @ 346:a9cc406ef7c6

i18n: Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: Libervia/templates Translate-URL: https://salut-a-toi.org/weblate/projects/libervia/templates/
author Weblate <noreply@weblate.org>
date Wed, 16 Jun 2021 14:33:01 +0000
parents dea66eead698
children
line wrap: on
line source

<div class="main_notification columns is-centered">
    <div class="column is-narrow has-items-centered">
        {% set level_map={
            'success': 'is-success',
            'info': 'is-info',
            'warning': 'is-warning',
            'error': 'is-danger'
            }
        %}

        <div class="notification {{level_map[level]}} pr-6 py-4">
            <button class="delete click_to_close"></button>
            {{message}}
        </div>
    </div>
</div>