diff options
| author | rubenwardy <rw@rubenwardy.com> | 2018-05-13 17:55:28 +0100 |
|---|---|---|
| committer | rubenwardy <rw@rubenwardy.com> | 2018-05-13 18:04:07 +0100 |
| commit | 4fdafefcd5b0267e3b9958f3dcc6b05a6eeb0906 (patch) | |
| tree | aa9aa3b351302353e2ff8eaf943654c0da22a15d /app/templates/base.html | |
| parent | f3c433de06e19ae9a6e1706b4746d46e6a33d70c (diff) | |
| download | cheatdb-4fdafefcd5b0267e3b9958f3dcc6b05a6eeb0906.tar.xz | |
Add notifications
Fixes #28
Diffstat (limited to 'app/templates/base.html')
| -rw-r--r-- | app/templates/base.html | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/templates/base.html b/app/templates/base.html index 0ab87b4..cdf1f1f 100644 --- a/app/templates/base.html +++ b/app/templates/base.html @@ -40,6 +40,7 @@ </ul> <ul class="nav navbar-nav navbar-right"> {% if current_user.is_authenticated %} + <li><a href="{{ url_for('notifications_page') }}">({{ current_user.notifications | length }})</a></li> <li><a href="{{ url_for('user_profile_page', username=current_user.username) }}">{{ current_user.display_name }}</a></li> <li><a href="{{ url_for('user.logout') }}">Sign out</a></li> {% else %} |
