{% import "components/nothing.html" as nothing with context %} {% import "components/user.html" as user with context %} {% import "components/paginator.html" as paginator with context %} {% extends "layout/basic.html" %} {% block content %} {{ set( UiContext, 'requestUrl', "/article/manage?" + (("&uidOrName=" + filterUidOrName) if filterUidOrName else "") + (("&hidden=" + filterHidden) if typeof(filterHidden) == 'boolean' else "") + (("&nice=" + filterNice) if typeof(filterNice) == 'boolean' else "") + (("&domainName=" + filterDomainName) if typeof(filterDomainName) == 'string' else "") + (("&groupName=" + filterGroupName) if typeof(filterGroupName) == 'string' else "") ) }} {% if handler.user.hasPerm(perm.PERM_EDIT_DOMAIN) %} {{ set(UiContext, 'forceDomain', handler.domain._id) }} {% endif %}

{{ _('Article Management') }}

{% if not ddocs.length %} {{ nothing.render('No article yet...') }} {% else %}
{% include "partials/article_main_admin.html" %}
{{ _('Title') }} {{ _('Content') }} {{ _('User') }} {{ _('Update At') }} 是否推荐 是否可见 评论 Actions
{% if page and dpcount %}{{ paginator.render(page, dpcount, add_qs=qs) }}{% endif %} {% endif %}
{% endblock %}