diff options
| author | Gertjan van den Burg <gertjanvandenburg@gmail.com> | 2019-03-18 14:42:23 +0000 |
|---|---|---|
| committer | Gertjan van den Burg <gertjanvandenburg@gmail.com> | 2019-03-18 14:42:23 +0000 |
| commit | ca0586953fa0da443ab54eb960bf90a8fbdeed7d (patch) | |
| tree | d85e112174f050a2271d39060dbfe640fd10722a /app/templates/base.html | |
| parent | initial commit (diff) | |
| download | AnnotateChange-ca0586953fa0da443ab54eb960bf90a8fbdeed7d.tar.gz AnnotateChange-ca0586953fa0da443ab54eb960bf90a8fbdeed7d.zip | |
add registration
Diffstat (limited to 'app/templates/base.html')
| -rw-r--r-- | app/templates/base.html | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/templates/base.html b/app/templates/base.html index c40482d..3070587 100644 --- a/app/templates/base.html +++ b/app/templates/base.html @@ -9,7 +9,11 @@ <body> <div>Annotate Change: <a href="{{ url_for('index') }}">Home</a> + {% if current_user.is_anonymous %} <a href="{{ url_for('login') }}">Login</a> + {% else %} + <a href="{{ url_for('logout') }}">Logout</a> + {% endif %} </div> <hr> {% with messages = get_flashed_messages() %} |
