new stuff
This commit is contained in:
commit
af8e618f01
12 changed files with 413 additions and 0 deletions
13
data/templates/errorpage.404.basic.xml.jinja
Normal file
13
data/templates/errorpage.404.basic.xml.jinja
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<data>
|
||||
<result type="{{result.type}}">
|
||||
{% if result.errors %}
|
||||
<errors>
|
||||
{% for item in result.errors %}
|
||||
<error type="{{ result.errors[item].type }}" source="{{ result.errors[item].source }}">{{ result.errors[item].remark }}</error>
|
||||
{% endfor %}
|
||||
</errors>
|
||||
{% endif %}
|
||||
</result>
|
||||
<outbody type="{{ outbody.type }}" compression="{{ outbody.compression if outbody.compression else "none" }}">{{ outbody.remark }}</outbody>
|
||||
</data>
|
||||
Loading…
Add table
Add a link
Reference in a new issue