added new functionality
This commit is contained in:
parent
2b0d94c39b
commit
25a9238e1d
4
app.py
4
app.py
@ -121,10 +121,10 @@ def index():
|
|||||||
|
|
||||||
if current_user.is_authenticated:
|
if current_user.is_authenticated:
|
||||||
habits = current_user.get_habits()
|
habits = current_user.get_habits()
|
||||||
name = "Hallo " + current_user.name + "du hurensohn"
|
name = "Hallo " + current_user.name
|
||||||
else:
|
else:
|
||||||
habits = []
|
habits = []
|
||||||
name = "Bitte melde dich an."
|
name = "Bitte melde dich an, du Vollhorst."
|
||||||
|
|
||||||
# habits = [("lesen", "eine Seite vor dem Schlafen gehen"), ("sport", "3x Gym")]
|
# habits = [("lesen", "eine Seite vor dem Schlafen gehen"), ("sport", "3x Gym")]
|
||||||
return render_template(
|
return render_template(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user