You are here

opigno-about-block.html.twig in Opigno dashboard 3.x

Default theme implementation to display the "About Opigno" popup.

Available varaibles:

  • logo: the site logo;
  • texts: the list of text paragraphs;
  • version: the platform version.

File

templates/opigno-about-block.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation to display the "About Opigno" popup.
  5. *
  6. * Available varaibles:
  7. * - logo: the site logo;
  8. * - texts: the list of text paragraphs;
  9. * - version: the platform version.
  10. */
  11. #}
  12. <div id="aboutModal" class="modal modal-permanent fade" tabindex="-1" role="dialog" aria-label="{{ 'About Opigno'|t }}">
  13. <div class="modal-dialog modal-dialog-centered" role="document">
  14. <div class="modal-content">
  15. <div class="modal-header">
  16. <h2 class="modal-title">{{ 'About'|t }}</h2>
  17. <a class="close close-x" href="#" type="button" data-dismiss="modal" aria-label="{{ 'Close'|t }}">
  18. <i class="fi fi-rr-cross-small"></i>
  19. </a>
  20. </div>
  21. <div class="modal-body">
  22. {% if logo is not empty %}
  23. <img class="opigno-logo" src="{{ logo }}" alt="{{ 'Logo'|t }}">
  24. {% endif %}
  25. {% for text in texts %}
  26. <p>{{ text }}</p>
  27. {% endfor %}
  28. {% if version is not empty %}
  29. <p>{{ 'Version'|t ~ ': ' ~ version }}</p>
  30. {% endif %}
  31. </div>
  32. </div>
  33. </div>
  34. </div>