diff options
Diffstat (limited to 'snakeplan/templates/projects')
-rw-r--r-- | snakeplan/templates/projects/iteration_list.html | 2 | ||||
-rw-r--r-- | snakeplan/templates/projects/project_form.html | 14 | ||||
-rw-r--r-- | snakeplan/templates/projects/project_list.html | 3 |
3 files changed, 12 insertions, 7 deletions
diff --git a/snakeplan/templates/projects/iteration_list.html b/snakeplan/templates/projects/iteration_list.html index 4e42b52..be01bf4 100644 --- a/snakeplan/templates/projects/iteration_list.html +++ b/snakeplan/templates/projects/iteration_list.html | |||
@@ -19,7 +19,7 @@ | |||
19 | </tr> | 19 | </tr> |
20 | {% for iteration in object_list %} | 20 | {% for iteration in object_list %} |
21 | <tr> | 21 | <tr> |
22 | <td><a href="/p/iteration/{{iteration.id}}/stories/">{{iteration.name}}</a></td> | 22 | <td><a href="{% url iteration-stories iteration.project.id iteration.id %}">{{iteration.name}}</a></td> |
23 | <td>{{iteration.description}}</td> | 23 | <td>{{iteration.description}}</td> |
24 | <td>{{iteration.start_date}}</td> | 24 | <td>{{iteration.start_date}}</td> |
25 | <td>{{iteration.end_date}}</td> | 25 | <td>{{iteration.end_date}}</td> |
diff --git a/snakeplan/templates/projects/project_form.html b/snakeplan/templates/projects/project_form.html index 0e6a574..ca18ced 100644 --- a/snakeplan/templates/projects/project_form.html +++ b/snakeplan/templates/projects/project_form.html | |||
@@ -5,9 +5,15 @@ | |||
5 | 5 | ||
6 | {% block content %} | 6 | {% block content %} |
7 | <form action="" method="POST"> | 7 | <form action="" method="POST"> |
8 | <ul> | 8 | <fieldset> |
9 | {{ form.as_ul }} | 9 | <legend>Create Project</legend> |
10 | </ul> | 10 | <ol> |
11 | <input type="submit" value="Save"/> | 11 | {{ form.as_ul }} |
12 | </ol> | ||
13 | </fieldset> | ||
14 | |||
15 | <fieldset class="submit"> | ||
16 | <input type="submit" value="Create Project"/> | ||
17 | </fieldset> | ||
12 | </form> | 18 | </form> |
13 | {% endblock %} | 19 | {% endblock %} |
diff --git a/snakeplan/templates/projects/project_list.html b/snakeplan/templates/projects/project_list.html index 8572bc6..85b2bb5 100644 --- a/snakeplan/templates/projects/project_list.html +++ b/snakeplan/templates/projects/project_list.html | |||
@@ -27,8 +27,7 @@ | |||
27 | <td>some, tags, go, here</td> | 27 | <td>some, tags, go, here</td> |
28 | <td><a href="#">Some Iteration</a></td> | 28 | <td><a href="#">Some Iteration</a></td> |
29 | <td class="row-actions"> | 29 | <td class="row-actions"> |
30 | <a href="#"><img src="{{MEDIA_URL}}/images/pencil.png" title="Edit" alt="Edit" /></a> | 30 | <a href="{% url edit-project project.id %}"><img src="{{MEDIA_URL}}/images/pencil.png" title="Edit" alt="Edit" /></a> |
31 | <a href="#"><img src="{{MEDIA_URL}}/images/delete.png" title="Delete" alt="Delete" /></a> | ||
32 | 31 | ||
33 | {% if not project.active %} | 32 | {% if not project.active %} |
34 | <a href="#"><img src="{{MEDIA_URL}}/images/connect.png" title="Activate" alt="Activate" /></a> | 33 | <a href="#"><img src="{{MEDIA_URL}}/images/connect.png" title="Activate" alt="Activate" /></a> |