You are here

opigno-messaging-modal.html.twig in Opigno messaging 3.x

Default theme implementation to display the Opigno messaging popup.

Available varaibles:

  • title: the popup title;
  • body: the popup body.

File

templates/opigno-messaging-modal.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation to display the Opigno messaging popup.
  5. *
  6. * Available varaibles:
  7. * - title: the popup title;
  8. * - body: the popup body.
  9. */
  10. #}
  11. <div class="modal modal-ajax fade" tabindex="-1" role="dialog" aria-label="{{ title }}">
  12. <div class="modal-dialog modal-dialog-centered edit-discussion-modal" role="document">
  13. <div class="modal-content">
  14. <div class="modal-header">
  15. {% if title is not empty %}
  16. <h2 class="modal-title">{{ title }}</h2>
  17. {% endif %}
  18. <a class="close close-x use-ajax" type="button" aria-label="{{ 'Close'|t }}" data-dismiss="modal">
  19. <i class="fi fi-rr-cross-small"></i>
  20. </a>
  21. </div>
  22. <div class="modal-body">{{ body }}</div>
  23. </div>
  24. </div>
  25. </div>