{% extends "stories/base.html" %} {% load base_filters %} {% load base_tags %} {% load bootstrap_pagination_tags %} {% load perm_tags %} {% load search_tags %} {% load story_tags %} {% block title %} {% if MODULE_STORIES_LABEL_PLURAL %} {% blocktrans with label_plural=MODULE_STORIES_LABEL_PLURAL %}{{ label_plural }} Search{% endblocktrans %} {% else %} {% trans "Stories Search" %} {% endif %} - {{ block.super }} {% endblock %} {% block extra_head %} {{ block.super }} {% endblock %} {% block content_classes %}{{ block.super }} t-search-view{% endblock %} {% block content %}

{% firstof SITE_GLOBAL_SITEPRIMARYKEYWORDS SITE_GLOBAL_SITEDISPLAYNAME %} {% if MODULE_STORIES_LABEL_PLURAL %} {% blocktrans with label_plural=MODULE_STORIES_LABEL_PLURAL %}{{ label_plural }} Search{% endblocktrans %} {% else %} {% trans "Stories Search" %} {% endif %}

{% autopaginate stories 10 %} {% stories_search %}

{% if MODULE_STORIES_LABEL_PLURAL %} {% blocktrans with label_plural=MODULE_STORIES_LABEL_PLURAL count=paginator.count %} {{ count }} {{ label_plural }} Found {% endblocktrans %} {% else %} {% blocktrans with count=paginator.count %} {{ count }} Stories Found {% endblocktrans %} {% endif %} - {% trans "Ordered by Latest Added" %}

{% for story in stories %} {% search_result story %} {% empty %} {% endfor %}
{% paginate %} {% endblock %}