{%- extends "layouts/" + render_mode + ".html" %} {%- block head %} {%- endblock %} {%- block title %}{{_("Welcome Home")}}{% endblock %} {%- block contenttools %} {%- set activities = [{ 'name': 'addprofile', 'icon': 'plus', 'aclass': 'auto-modal', 'url': U('/profiles/add/'), 'text': _("Add Account"), 'description': _("Create a new Account") },{ 'name': 'keys', 'icon': 'key', 'aclass': 'auto-modal', 'url': U('/settings/set/password/'), 'text': _("Keys"), 'description': _("Manage Your Encryption Keys") }] %} {%- include("partials/tools_default.html") %} {%- endblock %} {%- block content %}

{{_("Welcome Home")}}

{%- if result.loading or not result.loaded %} {%- elif result.rids %} {%- for profile_rid in result.rids %} {%- set p = result.profiles[result.rids[profile_rid]] %} {%- if 'x-mailpile-profile-tag' in p and p['x-mailpile-profile-tag'] in config.tags %} {%- set t = mailpile('tags', config.tags[p['x-mailpile-profile-tag']].slug).result.tags.0 %} {%- else %} {%- set t = {'stats': {'new': '', 'all': ''}} %} {%- endif %} {%- if 'x-mailpile-profile-route' in p %} {%- set route = config.routes[p['x-mailpile-profile-route']] %} {%- else %} {%- set route = '' %} {%- endif %} {%- endfor %} {%- elif result.profiles|length < 1 %} {%- endif %} {%- if result.profiles|length > 0 %} {%- endif %}

{{_("E-mail Accounts")}}

{%- if result.profiles|length > 0 %}
{%- if config.version >= '0.6.0' %} {%- endif %} settings {%- else %} {%- endif %}

{{_("Still loading profiles and contacts, please wait...")}}

{%- if route %} {%- endif %} {{ p.fn }} {% for e in p.email %} {{ e.email }}{% if not loop.last %}
{% endif %} {%- endfor %}
{{ t.stats.new }} {{ t.stats.all }} {%- if config.version >= '0.6.0' %} ? {%- endif %} {%- if not (p['x-mailpile-profile-source'] or []) %} {%- endif %} {%- for ms in (p['x-mailpile-profile-source'] or []) %} {%- set source_id = ms['profile-source'] %} {%- set source = config.sources[source_id] %} {%- endfor %} {# #} {%- if config.version >= '0.6.0' %} {%- endif %}

{{_("You have not configured any accounts yet.")}}

 
{{_("Master Inbox")}}    {{_("Unread Mail")}} {{_("Browse")}}    {{_("Add Account")}}
{#

Conversations

{{ mailpile_render('as.html!content', 'search', 'in:mp_rpl')[1]|safe }}
#} {%- if result.profiles|length == 0 %} {%- set opa = '0.9' %} {%- set mrg = '-' %} {%- else %} {%- set opa = '0.5' %} {%- set mrg = '' %} {%- endif %}

{{_("Welcome to Mailpile Beta III")}} :-) v{{ config.version }}

{{_("This release is a technology preview release, meant for developers, early adopters, usability testers and our community of translators.")}} {{_("It might also be useful for reading and writing e-mail, you never know!")}} {{_("Read all about it:")}}

{%- endblock %}