{% extends "articles/base.html" %} {% load article_tags %} {% load base_tags %} {% load bootstrap_pagination_tags %} {% load search_tags %} {% block title %} {% if MODULE_ARTICLES_LABEL_PLURAL %} {% blocktrans %}{{ MODULE_ARTICLES_LABEL_PLURAL }} List{% endblocktrans %} {% else %} {% trans "Articles List" %} {% endif %} - {{ block.super }} {% endblock %} {% block extra_head %} {{ block.super }} {% endblock %} {% block content_classes %}{{ block.super }} t-search-view{% endblock %} {% block content %}

{% firstof trans SITE_GLOBAL_SITEPRIMARYKEYWORDS trans SITE_GLOBAL_SITEDISPLAYNAME %} {% if MODULE_ARTICLES_LABEL_PLURAL %} {% blocktrans %}{{ MODULE_ARTICLES_LABEL_PLURAL }} List{% endblocktrans %} {% else %} {% trans "Articles List" %} {% endif %}

{% autopaginate articles 10 %} {% article_search %}

{% if MODULE_ARTICLES_LABEL_PLURAL and MODULE_ARTICLES_LABEL %} {% blocktrans count obj_count=paginator.count %} {{ obj_count }} {{ MODULE_ARTICLES_LABEL }} Found {% plural %} {{ obj_count }} {{ MODULE_ARTICLES_LABEL_PLURAL }} Found {% endblocktrans %} {% else %} {% blocktrans count obj_count=paginator.count %} {{ obj_count }} Article Found {% plural %} {{ obj_count }} Articles Found {% endblocktrans %} {% endif %}

{% for article in articles %} {% search_result article %} {% empty %} {% if user.profile.is_superuser %}

{% if MODULE_ARTICLES_LABEL %} {% blocktrans %} Add a New {{ MODULE_ARTICLES_LABEL }} {% endblocktrans %} {% else %} {% trans "Add a New Article" %} {% endif %}

{% endif %} {% endfor %}
{% paginate %} {% endblock %} {% block extra_body %} {{ block.super }} {% endblock %}