app/soc/templates/soc/error.html
changeset 1580 947a0ee153a4
parent 543 280a1ac6bcc1
equal deleted inserted replaced
1579:a06d60fcb23d 1580:947a0ee153a4
    10 distributed under the License is distributed on an "AS IS" BASIS,
    10 distributed under the License is distributed on an "AS IS" BASIS,
    11 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    11 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    12 See the License for the specific language governing permissions and
    12 See the License for the specific language governing permissions and
    13 limitations under the License.
    13 limitations under the License.
    14 {% endcomment %}
    14 {% endcomment %}
       
    15 
    15 {% block page_title %}
    16 {% block page_title %}
    16  {%if title %}
    17  {%if title %}
    17   {{ title }}
    18   {{ title }}
    18  {% else %}
    19  {% else %}
    19   Error{% if status %} {{ status }}{% endif %}
    20   Error{% if status %} {{ status }}{% endif %}
    20  {% endif %}
    21  {% endif %}
    21 {% endblock %}
    22 {% endblock %}
       
    23 
    22 {% block header_title %}
    24 {% block header_title %}
    23  {%if header %}
    25  {%if header %}
    24   {{ header }}
    26   {{ header }}
    25  {% else %}
    27  {% else %}
    26   {% comment %}
    28   {% comment %}
    31   {% else %}
    33   {% else %}
    32    Error{% if status %} {{ status }}{% endif %}
    34    Error{% if status %} {{ status }}{% endif %}
    33   {% endif %}
    35   {% endif %}
    34  {% endif %}
    36  {% endif %}
    35 {% endblock %}
    37 {% endblock %}
       
    38 
    36 {% block body %}
    39 {% block body %}
    37 <div class="error">
    40 <div class="error">
    38 {%if status %}Error {{ status }}: {% endif %}{{ message|safe }}
    41 {%if status %}Error {{ status }}: {% endif %}{{ message|safe }}
    39 </div>
    42 </div>
    40 {% endblock %}
    43 {% endblock %}