Only show Your Tasks on sidebar if we're logged in

This commit is contained in:
2016-10-24 16:02:05 +02:00
parent e3cb4f6f59
commit bf93ace467

View File

@@ -38,9 +38,11 @@ html(lang="en")
a.navbar-item(href="{{ url_for('attract.shots.perproject.index', project_url=project.url) }}",
title='Shots for project {{ project.name }}') S
| {% else %}
| {% if current_user.is_authenticated %}
li
a.navbar-item(href="{{ url_for('attract.tasks.index') }}",
title='Your tasks') T
{% endif %}
| {% endif %}
ul.bottom