deb-horizon/openstack_dashboard/templates/403.html
Lin Hua Cheng 5d32caf3af Update Horizon for Django 1.5 compatibility
Changes made:
- Changed template url tags: {% url myview %} to {% url myview %}
- Import json instead of django.utils.simplejson
- Import django.utils.encoding.force_unicode instead of
  django.utils.translation.force_unicode
- Fixed error in tables/base.py for CheckboxInput, pass a callable
  check_test. Django 1.5 does not silently fail on this now.
- Set SECRET_KEY in test/settingspy, Django 1.5 refuse to start if it
  is not set.
- Added notes about ALLOWED_HOSTS when running Horizon in Production

Fixes bug 1147329

Change-Id: I6ac1e81498f41141dea99760922991feb310a326
2013-04-30 20:54:39 -07:00

30 lines
870 B
HTML

{% extends "base.html" %}
{% load i18n %}
{% load url from future %}
{% block title %} - {% trans "Forbidden" %}{% endblock %}
{% block content %}
<div id="right_content">
<div id="page_head">
<h2 id="page_heading">{% trans "Forbidden" %}</h2>
<p id="page_description">{% trans "You do not have the required privileges to access this content.
If you believe this message to be in error, please contact your project manager." %}</p>
</div>
</div>
{% endblock %}
{% block sidebar %}
<div id="sidebar">
<ul id="navigation">
{% block nav_home %}
<li><h3><a href="{% url 'index' %}">{% trans "Home" %}</a></h3></li>
{% endblock %}
{% block nav_projects %}
<li><h3><a href="{% url 'index' %}">{% trans "Projects" %}</a></h3></li>
{% endblock %}
</ul>
</div> <!-- end sidebar -->
{% endblock %}