You are here

glossify-link.html.twig in Glossify 8

Markup for inline tooltips.

Available variables:

  • word: the text where the tooltips applies to.
  • tip: the tooltip text.
  • tipurl: the tooltip link.

File

templates/glossify-link.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Markup for inline tooltips.
  5. *
  6. * Available variables:
  7. * - word: the text where the tooltips applies to.
  8. * - tip: the tooltip text.
  9. * - tipurl: the tooltip link.
  10. *
  11. *
  12. * @ingroup themeable
  13. */
  14. #}
  15. <a href="{{ tipurl }}" {% if tip %}title="{{ tip }}"{% endif %} class="glossify-tooltip-link">{{ word }}</a>