From 89b798b54a45ee41111ab8c4697333bbb3df09b0 Mon Sep 17 00:00:00 2001 From: dandds Date: Thu, 6 Jun 2019 14:34:43 -0400 Subject: [PATCH] Only show portfolio sidebar nav if the user has portfolios --- templates/base.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/base.html b/templates/base.html index 89f56b4a..c06a05fb 100644 --- a/templates/base.html +++ b/templates/base.html @@ -21,9 +21,9 @@ {% include 'navigation/topbar.html' %}
- {% block global_sidenav %} + {% if portfolios %} {% include 'navigation/global_sidenav.html' %} - {% endblock %} + {% endif %}
{% block sidenav %}{% endblock %}