Only show Your Tasks on sidebar if we're logged in
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user