mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
routers.html: add authenticated dashboard to homepage
Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
parent
af51b5c460
commit
5a175bd92a
6 changed files with 269 additions and 2 deletions
|
@ -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">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue