{% extends "base.html" %} {% block title %}{{ iteration.title }} — gest{% endblock %} {% block nav_iterations %}class="active"{% endblock %} {% block content %}
← iterations  ·  kanban board →
gest iteration show {{ iteration.id.short() }}
{% match iteration.phase_count %} {% when Some with (n) %} {% when None %} {% endmatch %} {% if !iteration.tags.is_empty() %} {% endif %}
ID {{ iteration.id.short() }}{{ id_rest }}
Title {{ iteration.title }}
Status {% match iteration.status %} {% when IterationStatus::Active %} active {% when IterationStatus::Completed %} completed {% when IterationStatus::Failed %} failed {% endmatch %}
Tasks {{ tasks.len() }}
Phases {{ n }}
Tags {% for t in iteration.tags %}#{{ t }}{% if !loop.last %} {% endif %}{% endfor %}
Created {{ iteration.created_at.format("%Y-%m-%d %H:%M UTC") }}
Updated {{ iteration.updated_at.format("%Y-%m-%d %H:%M UTC") }}
{% if !iteration.description.is_empty() %}
Description
{{ iteration.description }}
{% endif %} {% if !tasks.is_empty() %}
Tasks by Phase
{% for phase in phases %}
Phase {{ phase.number }}
{% for task in phase.tasks %} {% endfor %}
{% match task.status %} {% when TaskStatus::Open %} {% when TaskStatus::InProgress %} {% when TaskStatus::Done %} {% when TaskStatus::Cancelled %} {% endmatch %} {{ task.id.short() }} {% match task.priority %} {% when Some with (p) %}[P{{ p }}] {% when None %} {% endmatch %} {{ task.title }} {% match task.status %} {% when TaskStatus::Open %}open {% when TaskStatus::InProgress %}in-progress {% when TaskStatus::Done %}done {% when TaskStatus::Cancelled %}cancelled {% endmatch %}
{% endfor %} {% endif %}
{% endblock %}