calendar-empty-day.html.twig in Calendar 8
Format an empty day on a calendar.
Available variables:
- curday: The current day to display.
- view: The view.
3 theme calls to calendar-empty-day.html.twig
- Calendar::calendarBuildDay in src/
Plugin/ views/ style/ Calendar.php - Build the datebox information for the current day.
- Calendar::calendarBuildMiniWeek in src/
Plugin/ views/ style/ Calendar.php - Build one mini week row.
- Calendar::calendarBuildWeek in src/
Plugin/ views/ style/ Calendar.php - Build one week row.
File
templates/calendar-empty-day.html.twigView source
- {#
- /**
- * @file
- * Format an empty day on a calendar.
- *
- * Available variables:
- * - curday: The current day to display.
- * - view: The view.
- *
- * @ingroup themeable
- */
- #}
- {% if view.dateInfo.calendarType != 'day' %}
- <div class="calendar-empty"> </div>
- {% else %}
- <div class="calendar-dayview-empty">{% trans %}Empty day{% endtrans %}</div>
- {% endif %}