{% load i18n %}{% comment %} List view - table format of posts. Context: posts, workspace. {% endcomment %}
{% if posts %} {% for post in posts %} {% endfor %}
{% translate "Status" %} {% translate "Date" %} {% translate "Caption" %} {% translate "Platforms" %} {% translate "Author" %}
{% translate post.get_status_display %} {% if post.scheduled_at %} {{ post.scheduled_at|date:"M d, Y" }}
{{ post.scheduled_at|date:"H:i" }} {% else %} {% translate "Not scheduled" %} {% endif %}
{{ post.caption_snippet|default:"(no caption)" }}
{% for pp in post.platform_posts.all %} {% include "partials/_platform_icon.html" with platform=pp.social_account.platform size="sm" %} {% endfor %}
{{ post.author.display_name|default:"-" }}
{% else %} {% if not has_connected_accounts %} {% include "calendar/partials/_no_channels_empty_state.html" %} {% else %}

{% translate "No content scheduled yet" %}

{% translate "Create your first post to see it on the calendar" %}

{% translate "Create Post" %}
{% endif %} {% endif %}