[Refactor] Refactor the month view template so it can display all events

…not just the events of the current user.
This commit is contained in:
2018-07-11 12:55:49 +02:00
parent c3348d3212
commit 48ffb0d472
2 changed files with 2 additions and 2 deletions

View File

@@ -170,7 +170,7 @@ class CalendarSocialApp(Flask):
calendar = GregorianCalendar(timestamp.timestamp())
return render_template('index.html', calendar=calendar)
return render_template('index.html', calendar=calendar, user_only=True)
@staticmethod
@route('/register', methods=['POST', 'GET'])