{% extends "plainui/base.html" %} {% import "plainui/components/markdown.html" as markdownMacro %} {% import "plainui/components/alert.html" as alert %} {% import "plainui/components/nav.html" as navMacro with context %} {% block title %}{{conf.name}} - {% if page %}{{ page.title }}{% else %}{{ _("missing page") }}{% endif %}{% endblock %} {% block content %} {%- if not page %} {%- if page_no_permission %} {% call alert.danger() %} {{ _("This Page is private. You are currently not permitted to view this page.") }} {% endcall %} {%- elif page_can_create %} {% call alert.info() %} {{ _("This page does not exist. Do you wish to create it?") }} {{ _("Create Page") }} {% endcall %} {%- else %} {% call alert.warning() %} {{ _("This page does not exist.") }} {% endcall %} {%- endif %} {%- else %} {%- if revision_not_found %} {% call alert.warning() %} {{ _("This revision does not exist.") }} {% endcall %} {%- endif %} {{ navMacro.top_nav(_("Wiki page")) }} {% if not archive_mode %}