{% load i18n %}{% comment %} Month view grid - 7 columns, N rows of weeks. Context: calendar_weeks, month_name, prev_month, next_month, day_names, unscheduled_drafts, workspace. Enhanced with: holidays, custom events, category colors, recurring badges. {% endcomment %}
{% for day_name in day_names %}
{% translate day_name %}
{% endfor %}
{% for week in calendar_weeks %}
{% for day in week %}
{% if not day.is_past %} {% endif %}
{{ day.date.day }}
{% if day.holidays %}
{% for h in day.holidays %} {{ h.emoji }} {% endfor %}
{% endif %}
{% if day.holidays %}
{% for h in day.holidays %}
{{ h.name }}
{% endfor %}
{% endif %} {% for event in day.events %}
{{ event.title }}
{% endfor %} {% for pp in day.posts %} {% if pp.is_bulk_selectable %}{% include "calendar/partials/_select_checkbox.html" with pp_id=pp.id %}{% endif %} {% include "social_accounts/partials/_platform_icon.html" with platform=pp.social_account.platform size="3" %} {% with first_media=pp.post.media_attachments.all.0 %} {% if first_media and first_media.media_asset.thumbnail %} {% elif first_media and not first_media.media_asset.is_video %} {% elif first_media and first_media.media_asset.is_video %} {% endif %} {% endwith %} {{ pp.post.title|default:pp.post.caption_snippet|truncatechars:28 }} {% if pp.post.recurrence_rule %} {% endif %} {% endfor %} {% if day.overflow > 0 %}
+{{ day.overflow }} {% translate "more" %}
{% endif %}
{% endfor %}
{% endfor %}