From de2aacc2dedecf84d0e04ae80ba507bb1a3fa1a0 Mon Sep 17 00:00:00 2001
From: Patrick Jentsch <p.jentsch@uni-bielefeld.de>
Date: Tue, 9 Jul 2019 13:27:24 +0200
Subject: [PATCH] Add auth.profile view.

---
 app/templates/base.html.j2 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/templates/base.html.j2 b/app/templates/base.html.j2
index 40601f13..d34c0e25 100644
--- a/app/templates/base.html.j2
+++ b/app/templates/base.html.j2
@@ -20,7 +20,7 @@
       </div>
       <ul id="nav-account-dropdown" class="dropdown-content">
         {% if current_user.is_authenticated %}
-        <li><a href="#!"><i class="material-icons">person</i>Profile</a></li>
+        <li><a href="{{ url_for('auth.profile') }}"><i class="material-icons">person</i>Profile</a></li>
         <li class="divider"></li>
         <li><a href="{{ url_for('auth.logout') }}"><i class="material-icons">chevron_left</i>Log out</a></li>
         {% else %}
-- 
GitLab