routers.html: add authenticated dashboard to homepage

Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
Kevin Morris 2021-08-09 23:43:48 -07:00
parent af51b5c460
commit 5a175bd92a
No known key found for this signature in database
GPG key ID: F7E46DED420788F3
6 changed files with 269 additions and 2 deletions

View file

@ -3,7 +3,11 @@
{% block pageContent %}
<div id="content-left-wrapper">
<div id="content-left">
{% include 'home.html' %}
{% if request.user.is_authenticated() %}
{% include 'dashboard.html' %}
{% else %}
{% include 'home.html' %}
{% endif %}
</div>
</div>
<div id="content-right">