diff options
author | Mike Crute <mcrute@gmail.com> | 2010-07-11 00:04:52 -0400 |
---|---|---|
committer | Mike Crute <mcrute@gmail.com> | 2010-07-11 00:04:52 -0400 |
commit | 61e871ae0f9db946cdfc41b9d6e0ef662650f33a (patch) | |
tree | 921489449f3666da1b2578747a5f75d3dcde1bdb | |
parent | b7b8f93261420aaa321948b1508f2cd8a6e0b297 (diff) | |
download | snakeplan-61e871ae0f9db946cdfc41b9d6e0ef662650f33a.tar.bz2 snakeplan-61e871ae0f9db946cdfc41b9d6e0ef662650f33a.tar.xz snakeplan-61e871ae0f9db946cdfc41b9d6e0ef662650f33a.zip |
Removing unused stuff for now. Will re-create it later.
-rw-r--r-- | snakeplan/projects/views/iterations.py | 14 | ||||
-rw-r--r-- | snakeplan/projects/views/stories.py | 14 | ||||
-rw-r--r-- | snakeplan/projects/views/tasks.py | 12 | ||||
-rw-r--r-- | snakeplan/templates/projects/story_detail.html | 20 | ||||
-rw-r--r-- | snakeplan/templates/projects/story_list.html | 14 | ||||
-rw-r--r-- | snakeplan/templates/projects/task_detail.html | 19 |
6 files changed, 0 insertions, 93 deletions
diff --git a/snakeplan/projects/views/iterations.py b/snakeplan/projects/views/iterations.py deleted file mode 100644 index 1f55532..0000000 --- a/snakeplan/projects/views/iterations.py +++ /dev/null | |||
@@ -1,14 +0,0 @@ | |||
1 | from django.views.generic import list_detail | ||
2 | from projects.models import Iteration | ||
3 | from projects.models import Story | ||
4 | |||
5 | def index(request, iteration_id): | ||
6 | stories = Story.objects.filter(iteration=iteration_id) | ||
7 | iteration = stories[0].iteration | ||
8 | |||
9 | return list_detail.object_list( | ||
10 | request=request, | ||
11 | queryset=stories, | ||
12 | extra_context={'iteration_name': iteration}, | ||
13 | allow_empty = True | ||
14 | ) | ||
diff --git a/snakeplan/projects/views/stories.py b/snakeplan/projects/views/stories.py deleted file mode 100644 index 93d926f..0000000 --- a/snakeplan/projects/views/stories.py +++ /dev/null | |||
@@ -1,14 +0,0 @@ | |||
1 | from django.views.generic import list_detail | ||
2 | from projects.models import Story | ||
3 | from projects.models import Task | ||
4 | |||
5 | |||
6 | def index(request, story_id): | ||
7 | tasks = Task.objects.filter(story=story_id).all() | ||
8 | |||
9 | return list_detail.object_detail( | ||
10 | request=request, | ||
11 | queryset=Story.objects.filter(id=story_id).all(), | ||
12 | object_id=story_id, | ||
13 | extra_context={'tasks': tasks}, | ||
14 | ) | ||
diff --git a/snakeplan/projects/views/tasks.py b/snakeplan/projects/views/tasks.py deleted file mode 100644 index 4719da2..0000000 --- a/snakeplan/projects/views/tasks.py +++ /dev/null | |||
@@ -1,12 +0,0 @@ | |||
1 | from django.views.generic import list_detail | ||
2 | import projects.models as sp_models | ||
3 | from projects.models import Task | ||
4 | |||
5 | |||
6 | def index(request, task_id): | ||
7 | return list_detail.object_detail( | ||
8 | request=request, | ||
9 | queryset=Task.objects.filter(id=task_id).all(), | ||
10 | object_id=task_id, | ||
11 | extra_context={'dispositions': sp_models.DISPOSITIONS} | ||
12 | ) | ||
diff --git a/snakeplan/templates/projects/story_detail.html b/snakeplan/templates/projects/story_detail.html deleted file mode 100644 index 4e73397..0000000 --- a/snakeplan/templates/projects/story_detail.html +++ /dev/null | |||
@@ -1,20 +0,0 @@ | |||
1 | {% extends "base.html" %} | ||
2 | |||
3 | {% block content %} | ||
4 | |||
5 | <h1>Story: {{ object.name }}</h1> | ||
6 | |||
7 | <h2>Descipton:</h2> | ||
8 | <p class="story_description">{{ object.description }}</p> | ||
9 | |||
10 | <h2>Tasks:</h2> | ||
11 | |||
12 | <ol> | ||
13 | {% for task in tasks %} | ||
14 | <li> | ||
15 | <a href="/p/task/{{ task.id }}/">{{ task.name }}</a> | ||
16 | </li> | ||
17 | {% endfor %} | ||
18 | </ol> | ||
19 | |||
20 | {% endblock %} | ||
diff --git a/snakeplan/templates/projects/story_list.html b/snakeplan/templates/projects/story_list.html deleted file mode 100644 index f606cc5..0000000 --- a/snakeplan/templates/projects/story_list.html +++ /dev/null | |||
@@ -1,14 +0,0 @@ | |||
1 | {% extends "base.html" %} | ||
2 | |||
3 | {% block content %} | ||
4 | |||
5 | <h1>Iteration: {{ iteration_name }}</h1> | ||
6 | |||
7 | <h2>Stories</h2> | ||
8 | <ol> | ||
9 | {% for story in object_list %} | ||
10 | <li><a href="/p/story/{{story.id}}/tasks/">{{story.name}}</a></li> | ||
11 | {% endfor %} | ||
12 | </ol> | ||
13 | |||
14 | {% endblock %} | ||
diff --git a/snakeplan/templates/projects/task_detail.html b/snakeplan/templates/projects/task_detail.html deleted file mode 100644 index 2d655ba..0000000 --- a/snakeplan/templates/projects/task_detail.html +++ /dev/null | |||
@@ -1,19 +0,0 @@ | |||
1 | {% extends "base.html" %} | ||
2 | |||
3 | {% block content %} | ||
4 | |||
5 | <h1>Task: {{ object.name }}</h1> | ||
6 | |||
7 | <h2>Descipton:</h2> | ||
8 | <p>{{ object.description }}</p> | ||
9 | |||
10 | <h3>Details</h3> | ||
11 | |||
12 | <ul> | ||
13 | <li>{{ object.acceptor }}</li> | ||
14 | <li>{{ object.task_type }}</li> | ||
15 | <li>{{ object.disposition }}</li> | ||
16 | <li>{{ object.estimated_hours }}</li> | ||
17 | </ul> | ||
18 | |||
19 | {% endblock %} | ||