src/Eccube/Resource/template/admin/alert.twig line 1

Open in your IDE?
  1. {#
  2. This file is part of EC-CUBE
  3. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  4. http://www.ec-cube.co.jp/
  5. For the full copyright and license information, please view the LICENSE
  6. file that was distributed with this source code.
  7. #}
  8. {% for message in app.flashes('eccube.admin.info') %}
  9.     <div class="alert alert-primary alert-dismissible fade show m-3" role="alert">
  10.         <i class="fa fa-comment fa-lg mr-2"></i>
  11.         <span class="font-weight-bold">{{ message|trans }}</span>
  12.         <button class="close" type="button" data-dismiss="alert" aria-label="Close">
  13.             <span aria-hidden="true">×</span>
  14.         </button>
  15.     </div>
  16. {% endfor %}
  17. {% for message in app.flashes('eccube.admin.success') %}
  18.     <div class="alert alert-success alert-dismissible fade show m-3" role="alert">
  19.         <i class="fa fa-check fa-lg mr-2"></i>
  20.         <span class="font-weight-bold">{{ message|trans }}</span>
  21.         <button class="close" type="button" data-dismiss="alert" aria-label="Close">
  22.             <span aria-hidden="true">×</span>
  23.         </button>
  24.     </div>
  25. {% endfor %}
  26. {% for message in app.flashes('eccube.admin.danger') %}
  27.     <div class="alert alert-danger alert-dismissible fade show m-3" role="alert">
  28.         <i class="fa fa-warning fa-lg mr-2"></i>
  29.         <span class="font-weight-bold">{{ message|trans }}</span>
  30.         <button class="close" type="button" data-dismiss="alert" aria-label="Close">
  31.             <span aria-hidden="true">×</span>
  32.         </button>
  33.     </div>
  34. {% endfor %}
  35. {% for message in app.flashes('eccube.admin.error') %}
  36.     <div class="alert alert-danger alert-dismissible fade show m-3" role="alert">
  37.         <i class="fa fa-warning fa-lg mr-2"></i>
  38.         <span class="font-weight-bold">{{ message|trans }}</span>
  39.         <button class="close" type="button" data-dismiss="alert" aria-label="Close">
  40.             <span aria-hidden="true">×</span>
  41.         </button>
  42.     </div>
  43. {% endfor %}
  44. {% for message in app.flashes('eccube.admin.warning') %}
  45.     <div class="alert alert-warning alert-dismissible fade show m-3" role="alert">
  46.         <i class="fa fa-warning fa-lg mr-2"></i>
  47.         <span class="font-weight-bold">{{ message|trans }}</span>
  48.         <button class="close" type="button" data-dismiss="alert" aria-label="Close">
  49.             <span aria-hidden="true">×</span>
  50.         </button>
  51.     </div>
  52. {% endfor %}