{% extends "admin_base.html" %} {% set active = 'articles' %} {% block admin_content %}
| 标题 | 封面 | 投稿人 | 阅读 | 状态 | 更新时间 | 操作 |
|---|---|---|---|---|---|---|
| {{ a['title'] }}
{% if a['content_type'] == 'collection' %}📚合集
{% elif a['content_type'] == 'app' %}应用
{% elif a['content_type'] == 'html' %}HTML{% endif %}
{% if a['review_note'] and a['status'] == 0 %} 驳回:{{ a['review_note'] }} {% endif %}
|
{% if a['cover_url'] %}有封面{% else %}无{% endif %} | {{ a['submitter_name'] }} | {{ a['view_count'] }} | {% if a['status'] == 1 %}已发布 {% elif a['status'] == 2 %}待审核 {% else %}已下架/驳回{% endif %} | {{ a['updated_at'][:16] }} | 编辑 |
| 暂无文章 | ||||||