# HG changeset patch # User Todd Larsen # Date 1219967789 0 # Node ID b09f6d85d6eb87387c97b3eecc995bdcb9b95bad # Parent 50d8d58dcd7cc6b41ef06d961a0cf147b2b392ce A default error.html template to go with the simple.errorResponse() view. Patch by: Todd Larsen Review by: to-be-reviewed diff -r 50d8d58dcd7c -r b09f6d85d6eb app/soc/templates/soc/error.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/app/soc/templates/soc/error.html Thu Aug 28 23:56:29 2008 +0000 @@ -0,0 +1,19 @@ +{% extends "soc/base.html" %} +{% comment %} +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +{% endcomment %} +{% block page_title %}Error{%if error_status %} {{ error_status }}{% endif %}{% endblock %} +{% block header_title %}Error{%if error_status %} {{ error_status }}{% endif %}{% endblock %} +{% block body %} +
{%if error_status %}Error {{ error_status }}: {% endif %}{{ error_message }}
+{% endblock %} \ No newline at end of file