diff --git a/src/pretix/control/templates/pretixcontrol/auth/base.html b/src/pretix/control/templates/pretixcontrol/auth/base.html index f9763cb6f6..b91ace8449 100644 --- a/src/pretix/control/templates/pretixcontrol/auth/base.html +++ b/src/pretix/control/templates/pretixcontrol/auth/base.html @@ -1,5 +1,6 @@ {% load compress %} {% load i18n %} +{% load hijack_tags %} {% load static %} @@ -38,6 +39,20 @@ {% endfor %} {% endif %} + {% if request|is_hijacked %} +
+ + {% blocktrans with user=request.user%}You are currently working on behalf of {{ user }}.{% endblocktrans %} + +
+ {% csrf_token %} + +
+
+ {% endif %} + {% block content %} {% endblock %}