<%inherit file="/base/base.html"/> <%namespace file="/utils/sidebars.html" name="sidebars" /> <%def name="javascripts()" filter="trim">

${task.case.case_name|h}: Task ${task.task_name|h}

% if check_perms(task.case, 'view'): View Case % endif % if check_perms(task, 'edit'): | Edit % endif % if check_perms(task, 'close'): | Close % endif % if check_perms(task, 'edit'): % if task.status == task_statuses['created']: | Change Status to Queued % elif task.status == task_statuses['complete']: | Change Status to Closed % endif % endif % if check_perms(task, 'work'): % if task.status != task_statuses['queued'] and task.status != task_statuses['created'] and task.status != task_statuses['start'] and task.status != task_statuses['complete']: | Work on task % elif task.status == task_statuses['start']: | Begin work on task % endif % endif

% if check_perms(task, 'assign-self'): % if task.principle_investigator is None and (task.secondary_investigator is None or task.secondary_investigator.id != current_user.id): Assign myself as principle investigator | % endif % if task.secondary_investigator is None and (task.principle_investigator is None or task.principle_investigator.id != current_user.id): Assign myself as secondary investigator | % endif % endif % if check_perms(task, 'assign-other') and (task.principle_investigator is None or task.secondary_investigator is None): Assign an Investigator to task % endif % if check_perms(task, 'qa') and task.status == task_statuses['qa']: | QA task % endif

Task Description

${task.background}

Case Details

% if task.case.principle_case_manager != None: % else: % endif % if task.case.secondary_case_manager != None: % else: % endif
Case ${task.case.case_name|h}
Case Created ${task.case.date_created|h}
Case Status % if task.case.status == "Archived": ${task.case.status|h} % else: ${task.case.status|h} % endif
Principle Case Manager${task.case.principle_case_manager.fullname|h}None assigned
Secondary Case Manager${task.case.secondary_case_manager.fullname|h}None assigned
Requester % if task.case.requester is not None: ${task.case.requester.fullname|h} % else: None assigned % endif

Task Details

% if task.principle_investigator != None: % else: % endif % if task.secondary_investigator != None: % else: % endif % if task.principle_QA != None: % else: % endif % if task.secondary_QA != None: % else: % endif
Task Created ${task.date_created|h}
Task Status ${task.status|h}
Task Type ${task.task_type|h}
Task Files Location % if task.location: ${task.location|h} % else: Not Specified % endif
Principle Forensic Investigator${task.principle_investigator.fullname|h}None assigned
Secondary Forensic Investigator${task.secondary_investigator.fullname|h}None assigned
Principle QA Investigator${task.principle_QA.fullname|h}None assigned
Secondary QA Investigator${task.secondary_QA.fullname|h}None assigned

Notes

% if len(task.notes) > 0: % for note in task.notes: % endfor
Date & Time Author Hash of note
${note.date|h} ${note.author.fullname|h} % if note.check_hash(): ${note.hash|h} % else: ${note.hash|h} % endif
${note.note}
% else:

No notes have been added yet.

% endif