blob: 85b2bb5826fc8fb869eaca52504f95fc77f271b2 (
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
33
34
35
36
37
38
39
40
41
42
43
44
|
{% extends "base.html" %}
{% block title %}Project List{% endblock %}
{% block pagetitle %}Project List{% endblock %}
{% block actionbar %}
<li><a href="{% url create-project %}" class="action"><img src="{{MEDIA_URL}}/images/add.png" title="Create" alt="Create" /> Create Project</a></li>
{% endblock %}
{% block content %}
{% if object_list %}
<table id="project-list">
<tr>
<th>Project Name</th>
<th>Tags</th>
<th>Iteration</th>
<th>Actions</th>
</tr>
{% for project in object_list %}
{% if not project.active %}
<tr class="project inactive">
{% else %}
<tr class="project">
{% endif %}
<td><a href="{% url project-iterations project.id %}">{{project.name}}</a></td>
<td>some, tags, go, here</td>
<td><a href="#">Some Iteration</a></td>
<td class="row-actions">
<a href="{% url edit-project project.id %}"><img src="{{MEDIA_URL}}/images/pencil.png" title="Edit" alt="Edit" /></a>
{% if not project.active %}
<a href="#"><img src="{{MEDIA_URL}}/images/connect.png" title="Activate" alt="Activate" /></a>
{% else %}
<a href="#"><img src="{{MEDIA_URL}}/images/disconnect.png" title="Deactive" alt="Deactivate" /></a>
{% endif %}
</td>
</tr>
{% endfor %}
</table>
{% else %}
<div class="user-notice info">There are no projects!</div>
{% endif %}
{% endblock %}
|