From b7b3c5b89b8c64cc978859062bcb843be2e8dca1 Mon Sep 17 00:00:00 2001 From: Commander1024 Date: Wed, 2 Sep 2020 22:46:10 +0200 Subject: [PATCH] Added welcome message to home for authed and unauthed users. --- lostplaces/lostplaces_app/templates/home.html | 3 +++ lostplaces/lostplaces_app/templates/home_unauth.html | 2 ++ 2 files changed, 5 insertions(+) diff --git a/lostplaces/lostplaces_app/templates/home.html b/lostplaces/lostplaces_app/templates/home.html index 615b6e3..c47eac6 100644 --- a/lostplaces/lostplaces_app/templates/home.html +++ b/lostplaces/lostplaces_app/templates/home.html @@ -1,4 +1,5 @@ {% extends 'global.html'%} + {% load static %} {% block additional_head %} @@ -9,6 +10,8 @@ {% block maincontent %} +{% include 'partials/welcome.html' %} + {% include 'partials/osm_map.html' %}

Explore the latest locations

diff --git a/lostplaces/lostplaces_app/templates/home_unauth.html b/lostplaces/lostplaces_app/templates/home_unauth.html index 9c6054e..cad902c 100644 --- a/lostplaces/lostplaces_app/templates/home_unauth.html +++ b/lostplaces/lostplaces_app/templates/home_unauth.html @@ -4,6 +4,8 @@ {% block maincontent %} +{% include 'partials/welcome.html' %} +

Our latest locations