{% extends "layouts/" + render_mode + ".html" %} {% block content %} {% if result %}
New messages received! Click here (or press f) to refresh your view.
{% for mid in result.thread_ids %} {% include("partials/search_item.html") %} {% endfor %}
{% if result.stats.total > 0 %}
{% set searchterms = result.search_terms|join(' ') %} {% if result.stats.start > 1 %} {% set newstart = result.stats.start-result.stats.count %} {% set newend = newstart+result.stats.count-1 %} {{_("Previous")}} {% endif %} {% if result.stats.start + result.stats.count < result.stats.total %} {% set newstart = result.stats.start+result.stats.count %} {% set newend = newstart+result.stats.count-1 %} {{_("Next")}} {% endif %}
{% if result.stats.total > 1 %} {{result.stats.start}} - {{result.stats.end}} {{_("of")}} {{result.stats.total}} {{_("Conversations")}} {% elif result.stats.total == 1 %} {{_("1 Conversation")}} {% endif %}
{{_("Searched %(number)s messages in %(elapsed)s seconds.", number=mailpile_size, elapsed=elapsed)}} {{_("Vroom!")}}
{% else %}

{{_("No Results Found")}} :)

{{_("It seems your Mailpile does not contain any messages, tags or contacts for the search")}}:

"{% for term in result.search_terms %}{{term}}{% if not loop.last %} {% endif %}{% endfor %}"

{{_("Here are some other options for you")}}:

{{_("Learn To Search Smarter")}}

{{_("Search The Web For People")}}

{% endif %} {% else %}

{{_("Hrm, We Could Not Find Anything")}}

{% endif %} {% endblock %}