aboutsummaryrefslogtreecommitdiff
path: root/snakeplan/templates/projects/iteration_list.html
blob: 4e42b52b4e4c9ff946edbd3c2c54580adcff6d1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{% extends "base.html" %}

{% block title %}{{ project_name }} Iterations{% endblock %}
{% block pagetitle %}{{ project_name }} Iterations{% endblock %}

{% block actionbar %}
<li><a href="{% url project-list %}" class="action"><img src="{{MEDIA_URL}}/images/arrow_left.png" title="Back to Projects" alt="Back to Projects" /> Project List</a></li>
<li><a href="{% url create-project %}" class="action"><img src="{{MEDIA_URL}}/images/add.png" title="Create" alt="Create" /> Create Iteration</a></li>
{% endblock %}

{% block content %}
{% if object_list %}
<table>
    <tr>
        <th>Iteration</th>
        <th>Description</th>
        <th>Start Date</th>
        <th>End Date</th>
    </tr>
{% for iteration in object_list %}
    <tr>
        <td><a href="/p/iteration/{{iteration.id}}/stories/">{{iteration.name}}</a></td>
        <td>{{iteration.description}}</td>
        <td>{{iteration.start_date}}</td>
        <td>{{iteration.end_date}}</td>
    </tr>
{% endfor %}
</table>
{% else %}
<div class="user-notice info">There are no iterations</div>
{% endif %}
{% endblock %}