Adds notifications

Fixes #70
This commit is contained in:
Mouse Reeve
2020-03-07 14:50:29 -08:00
parent 95c8dc1d67
commit f4008eb8c8
13 changed files with 176 additions and 5 deletions

View File

@ -1,3 +1,4 @@
{% load fr_display %}
<!DOCTYPE html>
<html lang="en">
<head>
@ -47,6 +48,13 @@
<input type="submit" value="🔍"></input>
</form>
</div>
{% if request.user.is_authenticated %}
<div id="notification">
<a href="/notifications">
🔔 ({{ request.user | notification_count }})
</a>
</div>
{% endif %}
</div>
</div>
</header>