\r
{% block forejs %}\r
<link rel="stylesheet" type="text/css" media="screen" href="{% media "/media/style/admin.css" %}"/>\r
+ <script type="text/javascript" src="{% media "/media/js/osqa.admin.js" %}"></script>\r
{% block adminjs %}{% endblock %}\r
{% endblock %}\r
\r
\r
{% block sidebar %}\r
<div class="boxC">\r
- <h3 class="subtitle">{% trans "Administration menu" %}</h3>\r
- <ul>\r
- {% for set in sets %}\r
- <li><a href="{% url admin_set set.name %}">{{ set.title }}</a></li>\r
- {% endfor %}\r
- </ul>\r
+ <a href="{% url admin_switch_interface %}?to=djstyle">{% trans "Switch to django style interface" %}</a>\r
+ <h3 class="subtitle">{% trans "Administration menu" %}</h3>\r
+ <ul>\r
+ {% for set in allsets.values %}\r
+ <li><a href="{% url admin_set set.name %}">{{ set.title }}</a></li>\r
+ {% endfor %}\r
+ </ul>\r
</div>\r
{% if markdown %}\r
\r
{% endif %}\r
{% endblock %}\r
\r
-\r
-\r
+ \r