forked from s3lph/matemat
23 lines
318 B
HTML
23 lines
318 B
HTML
|
{% 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 %}
|