You are here

panopoly-magic-preview.html.twig in Panopoly Magic 8.2

Default theme implementation for Panopoly magic previews.

File

templates/panopoly-magic-preview.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation for Panopoly magic previews.
  5. *
  6. * @ingroup themeable
  7. */
  8. #}
  9. <div {{ attributes.addClass('panopoly-magic-preview-wrapper').addClass('clearfix') }}>
  10. <div class="panopoly-magic-preview-title-wrapper clearfix">
  11. {% if add_link %}
  12. <div class="panopoly-magic-preview-add-link">{{ add_link }}</div>
  13. {% endif %}
  14. <span class="panopoly-magic-preview-title-inner">{{ title }}</span>
  15. </div>
  16. <div class="panopoly-magic-preview-inner">
  17. {{ preview }}
  18. </div>
  19. </div>