{% extends "admin_base.html" %} {% block admin_content %}
| Title | Source | Grade | Status | Img | Imported | Landing | Featured | Actions |
|---|---|---|---|---|---|---|---|---|
| {{ render_title(item.article['title'][:80] ~ ('...' if item.article['title']|length > 80 else '')) }} | {{ item.article['source_name'] }} | {% if item.grade >= 9 %} {{ item.grade }} {% elif item.grade >= 7 %} {{ item.grade }} {% else %} {{ item.grade }} {% endif %} |
{% if item.article.get('status') == 'published' %}Published{% else %}Draft{% endif %}
|
{% if item.has_image %} 🖼 {% else %} - {% endif %} | {% if item.synced_at %} {{ local_dt(item.synced_at) }} {% else %} {{ dt_ago(item.synced_at) if item.synced_at else item.time_ago }} {% endif %} |
No news articles found. The news service runs hourly and fetches articles from the configured API.