{% import "components/user.html" as user with context %} {%- for udoc in udocs -%} {{ udoc._id }} {{ user.render_inline(udoc, badge=false) }} {{ udoc.school }} {%- if not udoc.blogEnabled -%} 禁用 {%- else -%} 启用 {%- endif -%} {% if not udoc.blogEnabled %}启用{% else %}禁用{% endif %} {%- endfor -%}