{% extends "directories/base.html" %} {% load base_tags %} {% load bootstrap_pagination_tags %} {% load directory_tags %} {% load search_tags %} {% block title %} {% if MODULE_DIRECTORIES_LABEL_PLURAL %} {% blocktrans %}{{ MODULE_DIRECTORIES_LABEL_PLURAL }} List{% endblocktrans %} {% else %} {% trans "Directories 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_DIRECTORIES_LABEL_PLURAL %} {% blocktrans %}{{ MODULE_DIRECTORIES_LABEL_PLURAL }} List{% endblocktrans %} {% else %} {% trans "Directories List" %} {% endif %}

{% autopaginate directories 10 %} {% directory_search %}

{% trans "Directory Starts With:" %} {% for letter in a_to_z %} {{ letter|upper }} {% endfor %}

{% with obj_count=paginator.count %} {% if MODULE_DIRECTORIES_LABEL and MODULE_DIRECTORIES_LABEL_PLURAL %} {% if obj_count == 1 %} {% blocktrans %}{{ obj_count }} {{ MODULE_DIRECTORIES_LABEL }} Found{% endblocktrans %} {% else %} {% blocktrans %}{{ obj_count }} {{ MODULE_DIRECTORIES_LABEL_PLURAL }} Found{% endblocktrans %} {% endif %} {% else %} {% blocktrans %}{{ obj_count }} Director{{ pluralize:"y,ies" }} Found{% endblocktrans %} {% endif %} {% endwith %}

{% for directory in directories %} {% search_result directory %} {% empty %} {% if user.profile.is_superuser %}

{% if MODULE_DIRECTORIES_LABEL %} {% blocktrans %} Add a New {{ MODULE_DIRECTORIES_LABEL }} {% endblocktrans %} {% else %} {% trans "Add a New Directory" %} {% endif %}

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