diff options
Diffstat (limited to 'gstudio/templates/gstudio/_header.html')
-rw-r--r-- | gstudio/templates/gstudio/_header.html | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gstudio/templates/gstudio/_header.html b/gstudio/templates/gstudio/_header.html index 51061794..f1f21d17 100644 --- a/gstudio/templates/gstudio/_header.html +++ b/gstudio/templates/gstudio/_header.html @@ -9,11 +9,12 @@ grappelli_admin_title }}{% else %}{% get_admin_title %}{% endif %} | <a href="/">Home</a> | <a href="{{ get_absolute_url }}/objects">objects</a> + {% if user.is_authenticated %} - {% if user.is_staff%} + | <a href="{{ get_absolute_url }}/gstudio/userdashboard">My Dashboard</a> + {% if user.is_staff %} | <a href="{{ get_absolute_url }}/admin">Admin Dashboard</a> - {% else %} - | <a href="{{ get_absolute_url }}/gstudio/userdashboard">My Dashboard</a> + {% endif %} {% endif %} |