1
0
Fork 0
forked from s3lph/matemat
matemat/templates/admin.html

23 lines
318 B
HTML
Raw Normal View History

{% extends "base.html" %}
{% block header %}
{% if user.is_admin %}
<h1>Administration</h1>
{% else %}
<h1>Settings</h1>
{% endif %}
{{ super() }}
{% endblock %}
{% block main %}
{% include "admin_all.html" %}
{% if user.is_admin %}
{% include "admin_restricted.html" %}
{% endif %}
{{ super() }}
{% endblock %}