{% for m in c.modules %}
模块 {{ loop.index }}:{{ m.name }}({{ m.count }} 项)
{% if m['items'] %}
| 条目 | 类型 | 链接 |
{% for it in m['items'] %}| {{ it.title }} | {{ it.type }} | {% if it.url %}打开{% else %}—{% endif %} |
{% endfor %}
{% endif %}
{% endfor %}
{% if c.files %}
| 文件 | 大小 | 下载 |
{% for f in c.files %}| {{ f.name }} | {{ (f.size / 1024) | round(0) | int }} KB | {% if f.url %}下载{% else %}—{% endif %} |
{% endfor %}
{% endif %}
{% if c.discussions %}
| 讨论 | 未读 | 回复 | 链接 |
{% for d in c.discussions %}| {{ d.title }} | {{ d.unread }} | {{ d.replies }} | 打开 |
{% endfor %}
{% endif %}