{% extends "base.html" %} {% block navigation %} {% endblock %} {% block right_nav %}
{% if sketch.has_permission(current_user, 'write') and sketch.timelines and upload_enabled %} Timeline {% endif %}
{% if current_user == sketch.user %} {% else %} Share {% endif %} {% endif %} {% endblock %} {% block main %}
{% if sketch.has_permission(user=current_user, permission='write') %} {% endif %} {% if sketch.has_permission(user=current_user, permission='delete') %} {% endif %}

{{ sketch.name }}

{{ sketch.description }}

{% if sketch.collaborators or sketch.groups %}
Shared with {% for group in sketch.groups %} {{ group.name }} {% endfor %} {% for collaborator in sketch.collaborators %} {{ collaborator.username }} {% endfor %} {% endif %}
{% if sketch.has_permission(user=current_user, permission='write') and not sketch.timelines %}

No data to analyze

Add timeline
{% endif %} {% if sketch.timelines %}

{{ sketch.timelines|length }}

Timelines

Timelines

Views

{% endif %} {% endblock %}