{# -*- coding: utf-8 -*- #} {% extends "form.html" %} {% load exfiltry %} {% load exsyntax %} {% block all %} {% with form_info=False show_form=False form_width=470 form_height=665 %} {{ block.super }} {% endwith %} {% endblock %} {% block jquery_ovr2 %} var options = { success: RefreshWin2 } function RefreshWin2(responseText, statusText) { location.href = "{{base_path}}schwiki/{{subject}}/{{page_name}}/view/" } {% endblock %} {% block pythoncode %} {% if standard_web_browser %} {% endif %} {% endblock %} {% block table_title %} {% endblock %} {% block scroll %} {% endblock %} {% block _nav %} {% endblock %} {% block form_rect %} width: 600, height: 890 {% endblock %} {% block form_bar %} {% if not standard_web_browser %} {% if perms.schwiki.add_page %} {% if False %} {% endif %} {% if content %} {% else %} {% endif %}
{% block form_title %} {{title|wiki_href|safe}} {% endblock %}
{% endif %} {% endif %} {% endblock %} {% block content_start %}
{% endblock %} {% block list_content_header %} {% if not standard_web_browser == 6 %} {% if standard_web_browser and perms.schwiki.add_page %}
{{ block.super }}
{% else %} {{ block.super }} {% endif %} {% endif %} {% endblock %} {% block list_content_title %} {% if not standard_web_browser == 6 %} {% if perms.schwiki.add_page %}

{{subject}}: {{description}}

{% endif %} {% endif %} {% endblock %} {% block list_content_actions %} {% if not standard_web_browser == 6 %} {% if perms.schwiki.add_page %}
{% action "edit" "Edit page" url="{{base_path}}schwiki/"|append_str:subject|append_str:"/"|append_str:page_name|append_str:"/edit/" tag_class="+btn-sm" %} {% with ap="wiki" object_name="Page" id=object.id format='txt' %} {% action "any_field_edit-inline/content_src" "Edit page source" attrs="data-inline-position='^tr:after' accesskey=' '" tag_class="+btn-sm" %} {% endwith %}
{% endif %} {% endif %} {% endblock %} {% block form %} {% if perms.schwiki.add_page %} {{ block.super }} {% else %} {% markdown2html content "" subject %} {% endif %} {% endblock %} {% block list_content_body %} {% if not standard_web_browser == 6 and wiki_path_desc %} {% if standard_web_browser %} {% else %}
{% for wiki_elem in wiki_path_desc %} {% if wiki_elem|lower == description|lower %} {{ wiki_elem }} {% else %} {% markdown2html '[['|append_str:wiki_elem|append_str:']]' wiki_path subject %} / {% endif %} {% endfor %}


{% endif %} {% endif %}
{% if content %} {% if wiki_path %} {% markdown2html content wiki_path subject %} {% else %} {% markdown2html content "" subject %} {% endif %} {% else %} This page do not exists yet! {% endif %} {% if conf %} {% if conf.css %} {% endif %} {% endif %}
{% endblock %}