author | Todd Larsen <tlarsen@google.com> |
Thu, 28 Aug 2008 23:56:29 +0000 | |
changeset 120 | b09f6d85d6eb |
child 179 | 4882d6c5630d |
permissions | -rw-r--r-- |
120
b09f6d85d6eb
A default error.html template to go with the simple.errorResponse() view.
Todd Larsen <tlarsen@google.com>
parents:
diff
changeset
|
1 |
{% extends "soc/base.html" %} |
b09f6d85d6eb
A default error.html template to go with the simple.errorResponse() view.
Todd Larsen <tlarsen@google.com>
parents:
diff
changeset
|
2 |
{% comment %} |
b09f6d85d6eb
A default error.html template to go with the simple.errorResponse() view.
Todd Larsen <tlarsen@google.com>
parents:
diff
changeset
|
3 |
Licensed under the Apache License, Version 2.0 (the "License"); |
b09f6d85d6eb
A default error.html template to go with the simple.errorResponse() view.
Todd Larsen <tlarsen@google.com>
parents:
diff
changeset
|
4 |
you may not use this file except in compliance with the License. |
b09f6d85d6eb
A default error.html template to go with the simple.errorResponse() view.
Todd Larsen <tlarsen@google.com>
parents:
diff
changeset
|
5 |
You may obtain a copy of the License at |
b09f6d85d6eb
A default error.html template to go with the simple.errorResponse() view.
Todd Larsen <tlarsen@google.com>
parents:
diff
changeset
|
6 |
|
b09f6d85d6eb
A default error.html template to go with the simple.errorResponse() view.
Todd Larsen <tlarsen@google.com>
parents:
diff
changeset
|
7 |
http://www.apache.org/licenses/LICENSE-2.0 |
b09f6d85d6eb
A default error.html template to go with the simple.errorResponse() view.
Todd Larsen <tlarsen@google.com>
parents:
diff
changeset
|
8 |
|
b09f6d85d6eb
A default error.html template to go with the simple.errorResponse() view.
Todd Larsen <tlarsen@google.com>
parents:
diff
changeset
|
9 |
Unless required by applicable law or agreed to in writing, software |
b09f6d85d6eb
A default error.html template to go with the simple.errorResponse() view.
Todd Larsen <tlarsen@google.com>
parents:
diff
changeset
|
10 |
distributed under the License is distributed on an "AS IS" BASIS, |
b09f6d85d6eb
A default error.html template to go with the simple.errorResponse() view.
Todd Larsen <tlarsen@google.com>
parents:
diff
changeset
|
11 |
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
b09f6d85d6eb
A default error.html template to go with the simple.errorResponse() view.
Todd Larsen <tlarsen@google.com>
parents:
diff
changeset
|
12 |
See the License for the specific language governing permissions and |
b09f6d85d6eb
A default error.html template to go with the simple.errorResponse() view.
Todd Larsen <tlarsen@google.com>
parents:
diff
changeset
|
13 |
limitations under the License. |
b09f6d85d6eb
A default error.html template to go with the simple.errorResponse() view.
Todd Larsen <tlarsen@google.com>
parents:
diff
changeset
|
14 |
{% endcomment %} |
b09f6d85d6eb
A default error.html template to go with the simple.errorResponse() view.
Todd Larsen <tlarsen@google.com>
parents:
diff
changeset
|
15 |
{% block page_title %}Error{%if error_status %} {{ error_status }}{% endif %}{% endblock %} |
b09f6d85d6eb
A default error.html template to go with the simple.errorResponse() view.
Todd Larsen <tlarsen@google.com>
parents:
diff
changeset
|
16 |
{% block header_title %}Error{%if error_status %} {{ error_status }}{% endif %}{% endblock %} |
b09f6d85d6eb
A default error.html template to go with the simple.errorResponse() view.
Todd Larsen <tlarsen@google.com>
parents:
diff
changeset
|
17 |
{% block body %} |
b09f6d85d6eb
A default error.html template to go with the simple.errorResponse() view.
Todd Larsen <tlarsen@google.com>
parents:
diff
changeset
|
18 |
<div class="error">{%if error_status %}Error {{ error_status }}: {% endif %}{{ error_message }}</div> |
b09f6d85d6eb
A default error.html template to go with the simple.errorResponse() view.
Todd Larsen <tlarsen@google.com>
parents:
diff
changeset
|
19 |
{% endblock %} |