{% extends "base.html" %} {% block title %}Post-Archiv - LinkedIn Posts{% endblock %} {% block content %}
Zurück

Post-Archiv

Veröffentlichte, geplante und abgelehnte Posts ({{ total }} gesamt)

Neuer Post
{% if error %}
Error: {{ error }}
{% endif %} {% if not posts and not error %}

Kein Archiv vorhanden

Noch keine veröffentlichten oder abgelehnten Posts.

Zurück zu den Posts
{% else %}
{% for post in posts %}
{% if post.status == 'published' %} Veröffentlicht {% elif post.status == 'scheduled' %} Geplant {% elif post.status == 'rejected' %} Abgelehnt {% endif %}

{{ post.topic_title or 'Untitled' }}

{% if post.post_content %}

{{ post.post_content[:200] }}{% if post.post_content | length > 200 %}...{% endif %}

{% endif %}
{% if post.status == 'published' and post.published_at %}
veröffentlicht {{ post.published_at.strftime('%d.%m.%Y') }}
{% elif post.status == 'scheduled' and post.scheduled_at %}
geplant für {{ post.scheduled_at.strftime('%d.%m.%Y %H:%M') }}
{% else %}
erstellt {{ post.created_at.strftime('%d.%m.%Y') if post.created_at else 'N/A' }}
{% endif %} {% if post.critic_feedback and post.critic_feedback | length > 0 and post.critic_feedback[-1].get('overall_score') is not none %} {% set score = post.critic_feedback[-1].get('overall_score', 0) %}
{{ score }}
{% endif %}
{% endfor %}
{% if total_pages > 1 %}
{% if current_page > 1 %} ← Zurück {% endif %} {% for p in range(1, total_pages + 1) %} {% if p == current_page %} {{ p }} {% elif p <= 2 or p >= total_pages - 1 or (p >= current_page - 2 and p <= current_page + 2) %} {{ p }} {% elif p == 3 or p == total_pages - 2 %} {% endif %} {% endfor %} {% if current_page < total_pages %} Weiter → {% endif %}

Seite {{ current_page }} von {{ total_pages }} ({{ total }} Posts)

{% endif %} {% endif %} {% endblock %}