{# -*- 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 %}
{% endif %}
{% endif %}
{% endblock %}
{% block content_start %}
{% endblock %}
{% block content_end %}
{% 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/" %}
{% 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'" %}
{% 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 %}
{% 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 %}
{% if wiki_path_desc and not description|lower in wiki_path_desc %}
-
{{ description }}
{% endif %}
{% 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 %}