mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-22 14:13:21 +00:00
Only root can create a new launderette
This commit is contained in:
parent
6cacfb8d8d
commit
09f61eb61c
@ -5,7 +5,9 @@
|
|||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
{% if user.is_root %}
|
||||||
<p><a href="{{ url('launderette:launderette_new') }}">{% trans %}New launderette{% endtrans %}</a></p>
|
<p><a href="{{ url('launderette:launderette_new') }}">{% trans %}New launderette{% endtrans %}</a></p>
|
||||||
|
{% endif %}
|
||||||
{% if launderette_list %}
|
{% if launderette_list %}
|
||||||
<h3>{% trans %}Launderette admin list{% endtrans %}</h3>
|
<h3>{% trans %}Launderette admin list{% endtrans %}</h3>
|
||||||
<ul>
|
<ul>
|
||||||
|
Loading…
Reference in New Issue
Block a user