You are here

calendar-header.html.twig in Calendar 8

Same filename and directory in other branches
  1. 8.2 templates/calendar-header.html.twig

Template to display a calendar header. Be default called by CalendarHeader area.

Available variables:

  • title: Header Title.
  • empty: Whether there are any results.
  • granularity: whether this is week, day, month or year display.

File

templates/calendar-header.html.twig
View source
  1. {#/**
  2. * @file
  3. * Template to display a calendar header.
  4. * Be default called by CalendarHeader area.
  5. *
  6. * Available variables:
  7. * - title: Header Title.
  8. * - empty: Whether there are any results.
  9. * - granularity: whether this is week, day, month or year display.
  10. *
  11. * @ingroup themeable
  12. */
  13. #}
  14. {# @todo Finish Header if this the way to go. #}
  15. <h3>{{ title }}</h3>