diff options
-rw-r--r-- | snakeplan/TODO.txt | 5 | ||||
-rw-r--r-- | snakeplan/projects/views/tasks.py | 2 | ||||
-rw-r--r-- | snakeplan/templates/projects/task_detail.html | 7 |
3 files changed, 14 insertions, 0 deletions
diff --git a/snakeplan/TODO.txt b/snakeplan/TODO.txt index ed43c64..06cc314 100644 --- a/snakeplan/TODO.txt +++ b/snakeplan/TODO.txt | |||
@@ -2,3 +2,8 @@ Work To Do | |||
2 | ========== | 2 | ========== |
3 | * Fix imports of snakeplan, instead place projects in the pythonpath | 3 | * Fix imports of snakeplan, instead place projects in the pythonpath |
4 | * Move templates from the application to the project | 4 | * Move templates from the application to the project |
5 | * View/Form for Logged Time (where is the relationship?) - bsmith | ||
6 | * Some sort of menu layout static across all pages (make it a model/view for flexability?) | ||
7 | * Header linking back to the main page | ||
8 | * Authentication on the user pages. | ||
9 | * UI Design -- HARDCORE BITCH | ||
diff --git a/snakeplan/projects/views/tasks.py b/snakeplan/projects/views/tasks.py index 4857a98..8e74cfa 100644 --- a/snakeplan/projects/views/tasks.py +++ b/snakeplan/projects/views/tasks.py | |||
@@ -1,4 +1,5 @@ | |||
1 | from django.views.generic import list_detail | 1 | from django.views.generic import list_detail |
2 | import snakeplan.projects.models as sp_models | ||
2 | from snakeplan.projects.models import Task | 3 | from snakeplan.projects.models import Task |
3 | 4 | ||
4 | 5 | ||
@@ -7,4 +8,5 @@ def index(request, task_id): | |||
7 | request=request, | 8 | request=request, |
8 | queryset=Task.objects.filter(id=task_id).all(), | 9 | queryset=Task.objects.filter(id=task_id).all(), |
9 | object_id=task_id, | 10 | object_id=task_id, |
11 | extra_context={'dispositions': sp_models.DISPOSITIONS} | ||
10 | ) | 12 | ) |
diff --git a/snakeplan/templates/projects/task_detail.html b/snakeplan/templates/projects/task_detail.html index fa63eb2..2d655ba 100644 --- a/snakeplan/templates/projects/task_detail.html +++ b/snakeplan/templates/projects/task_detail.html | |||
@@ -7,6 +7,13 @@ | |||
7 | <h2>Descipton:</h2> | 7 | <h2>Descipton:</h2> |
8 | <p>{{ object.description }}</p> | 8 | <p>{{ object.description }}</p> |
9 | 9 | ||
10 | <h3>Details</h3> | ||
10 | 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> | ||
11 | 18 | ||
12 | {% endblock %} | 19 | {% endblock %} |