{% extends "layouts/" + render_mode + ".html" %} {% block content %} {% set view_description = view_description or [] %} {% if result %} {%- set profiles = mailpile('profiles').result %} {%- set theme_colors = theme_settings().colors %} {%- set with_top_composer = [] %} {%- for tid in result.search_tag_ids -%} {% if config.tags[tid].type == 'drafts' %}{% do with_top_composer.append(tid) %}{% endif %} {%- endfor %} {%- for qv in state.query_args.q -%} {% if '@' in qv|list %}{% do with_top_composer.append(tid) %}{% endif %} {%- endfor %} {%- set with_top_composer = (False and profiles.profiles and with_top_composer) %} {# FIXME! ^^ false #}
{%- endif %}{{_("Usually, matching e-mails would be listed here.")}}
{{_("You need to create an account and add some mail first!")}}
{%- else %} {%- if 'in:spam' in result.search_terms %}{{_("It seems your Mailpile does not contain any messages for the search")}}:
"{% for term in result.search_terms %}{{term}}{% if not loop.last %} {% endif %}{% endfor %}"
{%- endif %}{{_("Here are some other options for you")}}:
{% endif %}