{% extends 'repository/repo_layout.html' %} {% block title %}Task #{{ task.id }} - {{ repo_owner }}/{{ repo_name }}{% endblock %} {% block repo_content %}
#{{ task.id }}

{{ task.title }}

{% if task.status == 'To Do' %} To Do {% elif task.status == 'In Progress' %} In Progress {% else %} Done {% endif %}
{% if repo.can_write and (task.created_by == g.user.id or repo.owner_id == g.user.id) %} {% endif %} {% if repo.can_write %}
{% endif %}
{{ task.author_name }} {{ task.created_at | timesince }}
{% for comment in comments %}
{{ comment.author_name }} commented {{ comment.created_at | timesince }}
{% endfor %}
{% if session.get('user_id') %}
{% else %}

You must be logged in to comment.

Log in
{% endif %}
Assignees {% if repo.can_write %} {% endif %} {% if repo.can_write %} {% endif %} {% if assignees %}
{% for assignee in assignees %}
{{ assignee.username }} {% if repo.can_write %} {% endif %}
{% endfor %}
{% else %}
No one assigned
{% endif %}
Details
Type {{ task.task_type }}
Priority {{ task.priority }}
Complexity {{ task.complexity }}
{% if task.due_date %}
Due Date {{ task.due_date }}
{% endif %}
{% endblock %} {% block scripts %} {% endblock %}