diff options
author | Mike Crute <mcrute@gmail.com> | 2010-07-09 22:46:51 -0400 |
---|---|---|
committer | Mike Crute <mcrute@gmail.com> | 2010-07-09 22:46:51 -0400 |
commit | 8bfbe74dcd1a377461a944884965d60da35fa1a1 (patch) | |
tree | 702d699c91996efb0e28007471cbb346138ff5ec /snakeplan/templates/projects/iteration_list.html | |
parent | 94d87b109f08187f64ed54232e82cef5ae842a4e (diff) | |
download | snakeplan-8bfbe74dcd1a377461a944884965d60da35fa1a1.tar.bz2 snakeplan-8bfbe74dcd1a377461a944884965d60da35fa1a1.tar.xz snakeplan-8bfbe74dcd1a377461a944884965d60da35fa1a1.zip |
Making project templates prettier.
Diffstat (limited to 'snakeplan/templates/projects/iteration_list.html')
-rw-r--r-- | snakeplan/templates/projects/iteration_list.html | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/snakeplan/templates/projects/iteration_list.html b/snakeplan/templates/projects/iteration_list.html index f48b812..4e42b52 100644 --- a/snakeplan/templates/projects/iteration_list.html +++ b/snakeplan/templates/projects/iteration_list.html | |||
@@ -1,10 +1,15 @@ | |||
1 | {% extends "base.html" %} | 1 | {% extends "base.html" %} |
2 | 2 | ||
3 | {% block content %} | 3 | {% block title %}{{ project_name }} Iterations{% endblock %} |
4 | <h1>Project: {{project_name}}</h1> | 4 | {% block pagetitle %}{{ project_name }} Iterations{% endblock %} |
5 | |||
6 | {% block actionbar %} | ||
7 | <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> | ||
8 | <li><a href="{% url create-project %}" class="action"><img src="{{MEDIA_URL}}/images/add.png" title="Create" alt="Create" /> Create Iteration</a></li> | ||
9 | {% endblock %} | ||
5 | 10 | ||
6 | <h2>Iterations</h2> | 11 | {% block content %} |
7 | 12 | {% if object_list %} | |
8 | <table> | 13 | <table> |
9 | <tr> | 14 | <tr> |
10 | <th>Iteration</th> | 15 | <th>Iteration</th> |
@@ -21,4 +26,7 @@ | |||
21 | </tr> | 26 | </tr> |
22 | {% endfor %} | 27 | {% endfor %} |
23 | </table> | 28 | </table> |
29 | {% else %} | ||
30 | <div class="user-notice info">There are no iterations</div> | ||
31 | {% endif %} | ||
24 | {% endblock %} | 32 | {% endblock %} |