diff --git a/src/internal/templates/internal/header.html b/src/internal/templates/internal/header.html index bcf274d8d..4b51ec92b 100644 --- a/src/internal/templates/internal/header.html +++ b/src/internal/templates/internal/header.html @@ -1,6 +1,7 @@ {% extends 'web/header.html' %} {% load i18n %} {% load hosts %} +{% load permission_tags %} {# Linking `web/header.css` and `web/header.js` is required when including this template #} @@ -38,6 +39,11 @@
{% translate "Public pages" %}
+ {% if user|can_view_admin_panel %} + +
{% translate "Administration" %}
+
+ {% endif %} {% if user.is_staff %}
{% translate "Django admin" %}