mirror of
http://git.carcosa.net/jmcbray/brutaldon.git
synced 2024-11-23 07:13:52 -05:00
Add view for notifications.
This commit is contained in:
parent
51cb1c42fe
commit
12d61820bf
@ -113,7 +113,10 @@ def error(request):
|
||||
return render(request, 'error.html', { 'error': "Not logged in yet."})
|
||||
|
||||
def note(request):
|
||||
return render(request, 'main/timeline.html', {'timeline': 'Notifications'})
|
||||
mastodon = get_mastodon(request)
|
||||
notes = mastodon.notifications()
|
||||
return render(request, 'main/notifications.html',
|
||||
{'notes': notes,'timeline': 'Notifications'})
|
||||
|
||||
|
||||
def settings(request):
|
||||
|
Loading…
Reference in New Issue
Block a user