mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-28 04:58:46 +02:00
N°8772 - Errors & turbo
This commit is contained in:
16
templates/application/forms/itop_error_update.html.twig
Normal file
16
templates/application/forms/itop_error_update.html.twig
Normal file
@@ -0,0 +1,16 @@
|
||||
{# @copyright Copyright (C) 2010-2025 Combodo SARL #}
|
||||
{# @license http://opensource.org/licenses/AGPL-3.0 #}
|
||||
|
||||
<turbo-stream action="update" target="turbo_itop_error">
|
||||
<template>
|
||||
{% if sControllerError %}
|
||||
<div class="ibo-alert ibo-content-block ibo-block ibo-is-danger ibo-is-opened" data-role="ibo-alert">
|
||||
<div class="ibo-alert--action-button ibo-alert--maximize-button" data-role="ibo-alert--collapse-toggler"><i class="fas fa-caret-down"></i></div>
|
||||
<div class="ibo-alert--action-button ibo-alert--minimize-button" data-role="ibo-alert--collapse-toggler"><i class="fas fa-caret-up"></i></div>
|
||||
<div class="ibo-alert--action-button ibo-alert--close-button" data-role="ibo-alert--close-button"><i class="fas fa-times"></i></div>
|
||||
<div class="ibo-alert--title" data-role="ibo-alert--collapse-toggler">{{ 'UI:Error:TwigController'|dict_s }}</div>
|
||||
<div class="ibo-alert--body">{{ sControllerError }}</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
</template>
|
||||
</turbo-stream>
|
||||
Reference in New Issue
Block a user