{% extends "panel_base.html" %} {% import '_macros.html' as macros %} {% block header_title %}{{gettext("All Posts")}} | {{get_sitename()}}{% endblock %} {% block title %}{{gettext("All Posts")}}{% endblock %} {% block content %}
{{macros.paginate(page, pages, 'blog_panel.posts_list')}}
{{gettext("ID")}} | {{gettext("title")}} | {{gettext("writer")}} | {{gettext("category")}} | {{gettext("tags")}} | {{gettext("last update")}} | {{gettext("views")}} | {{gettext("status")}} | {{gettext("settings")}} |
{{p.id}} | {{p.title}} | {{p.user.email}} | {{p.category.name}} | {{p.get_tags()}} | {{p.update_time}} | 0 | {{p.status.get_name()}} | {{gettext("Edit")}} {% if p.status.name == "Publish" %} {{gettext("Draft")}} {% else %} {{gettext("Publish")}} {% endif %} |