summaryrefslogtreecommitdiff
path: root/chimere/templates/chimere/edit_route.html
diff options
context:
space:
mode:
Diffstat (limited to 'chimere/templates/chimere/edit_route.html')
-rw-r--r--chimere/templates/chimere/edit_route.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/chimere/templates/chimere/edit_route.html b/chimere/templates/chimere/edit_route.html
index 0221949..10f4d5e 100644
--- a/chimere/templates/chimere/edit_route.html
+++ b/chimere/templates/chimere/edit_route.html
@@ -17,8 +17,9 @@
{{ block.super }}
{% if submited %}{% submited %}{% endif %}
{% if error_message %}<p><strong>{{ error_message }}</strong></p>{% endif %}
+ {% if is_modification and is_superuser %}<div class='warning'><p>{% trans "You are logged as an administrator. Your modifications will be taking into account immediately." %}</p></div>{% endif %}
<fieldset class='edit'>
- <legend>{% trans "Add/modify a route" %}</legend>
+ <legend>{% if is_modification %}{% trans "Modify a route" %}{% else %}{% trans "Add a route" %}{% endif %}</legend>
<form enctype="multipart/form-data" method='post' action='.'>
{% csrf_token %}
<div class='rightWrapper'>