diff --git a/lostplaces/lostplaces_app/templates/global.html b/lostplaces/lostplaces_app/templates/global.html index 367590f..8f04726 100644 --- a/lostplaces/lostplaces_app/templates/global.html +++ b/lostplaces/lostplaces_app/templates/global.html @@ -10,23 +10,40 @@ {% block title %}Urban Exploration{% endblock %} +
+
+ + {% if user.is_authenticated %} + Hi {{ user.username }}! + logout

+ {% else %} +

Du bist nicht eingeloggt.

+ login | + signup + {% endif %} +
-
+
{% block maincontent %} diff --git a/lostplaces/lostplaces_app/templates/home.html b/lostplaces/lostplaces_app/templates/home.html index 6010b6e..d5956fb 100644 --- a/lostplaces/lostplaces_app/templates/home.html +++ b/lostplaces/lostplaces_app/templates/home.html @@ -5,15 +5,6 @@ {% block maincontent %} -{% if user.is_authenticated %} - Hi {{ user.username }}! -

logout

-{% else %} -

Du bist nicht eingeloggt.

- login | - signup -{% endif %} -

Explore the latest locations