You are here

calendar-month-col.html.twig in Calendar 8

Template to display a column.

Available variables:

  • item: The item to render within a td element.

File

templates/calendar-month-col.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Template to display a column.
  5. *
  6. * Available variables:
  7. * - item: The item to render within a td element.
  8. *
  9. * @ingroup themeable
  10. */
  11. #}
  12. <td
  13. id="{{ item.id }}"
  14. date-date="{{ item.date }}"
  15. data-day-of-month="{{ item.day_of_month }}"
  16. headers="{{ item.header_id }}"
  17. class="{{ item.class }}"
  18. colspan="{{ item.colspan }}"
  19. rowspan="{{ item.rowspan }}">
  20. <div class="inner">
  21. {{ item.entry }}
  22. </div>
  23. </td>