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) }}",
|
a.navbar-item(href="{{ url_for('attract.shots.perproject.index', project_url=project.url) }}",
|
||||||
title='Shots for project {{ project.name }}') S
|
title='Shots for project {{ project.name }}') S
|
||||||
| {% else %}
|
| {% else %}
|
||||||
|
| {% if current_user.is_authenticated %}
|
||||||
li
|
li
|
||||||
a.navbar-item(href="{{ url_for('attract.tasks.index') }}",
|
a.navbar-item(href="{{ url_for('attract.tasks.index') }}",
|
||||||
title='Your tasks') T
|
title='Your tasks') T
|
||||||
|
{% endif %}
|
||||||
| {% endif %}
|
| {% endif %}
|
||||||
|
|
||||||
ul.bottom
|
ul.bottom
|
||||||
|
Reference in New Issue
Block a user