{% extends "layouts/" + render_mode + ".html" %} {% block title %}{{_("Browsing")}} - {{ message }}{% endblock %} {% block contenttools %} {%- set activities = [{ 'name': 'parent-folder', 'url': '../', 'text': _("Parent"), 'description': _("Open Parent Folder"), 'icon': 'upload' }, { 'name': 'folder_add', 'url': '#folder-add', 'text': _("Add Folder"), 'description': _("Create a new folder"), 'icon': 'plus' }, { 'name': 'mailbox_add', 'url': '#mailbox-add', 'text': _("Add Mailbox"), 'description': _("Create a new mailbox"), 'icon': 'plus' }] -%} {%- include("partials/tools_default.html") -%} {% endblock %} {%- macro help(attr) -%} {% if attr == 'flag_mailpile' %}
These are Mailpile-specific data.
{% elif attr == 'flag_directory' %} {% elif attr == 'flag_mailbox' %}These are mailboxes recognized by Mailpile. You can view their contents or add them to the search index by selecting them and clicking "Watch" above.
{% elif attr == 'flag_files' %} {% endif %} {%- endmacro -%} {%- macro browse_url(attr, info) -%} {%- if attr == 'flag_mailbox' -%} {{- U('/search/?q=vfs:', info.encoded) -}} {%- else -%} {{- U('/browse', info.path, '/') -}} {%- endif -%} {%- endmacro -%} {%- macro box_icon(attr, info, icn) -%} {%- if info.icon -%}