{% extends 'base.html' %} {% load comments %} {% load markup %} {% block title %} {% if instance %} Detail view for project ID #{{ instance.id }} created by {{ instance.originator.first_name }} {{ instance.originator.last_name }} {% if not instance.is_active %}(Inactive Project){% endif %} {% else %} Nazareth College ITS Project{% if user %}s originated by {{ filteruser.get_full_name }} ({{ filteruser.username }}){% else %} List{% endif %} {% endif %} {% endblock %} {% block content %} {% if messages or request.GET.c %} {% endif %} {% if instance %} {% get_comment_count for instance as comment_count %}

Project Id #{{ instance.id }} Details{% if not instance.is_active %} (Inactive Project){% endif %}:

{% ifequal instance.originator request.user %}{% if instance.is_active %}Modify this project | {% endif %}{% endifequal %}{% if user_has_projects %} Back to your projects | {% endif %}Back to all projects

General Information

Title
{{ instance.title }}
Category
{{ instance.category }}
Description
{{ instance.description|textile }}
Date needed
{{ instance.date_needed }}
Department
{{ instance.department }}
Contact
{{ instance.contact_person.get_full_name }} ({{ instance.contact_person.username }})
{% if instance.hardware_needed or instance.software_needed or instance.people_needed %}

Resources Needed

{% if instance.hardware_needed %}
Hardware
{{ instance.hardware_needed|textile }}
{% endif %} {% if instance.software_needed %}
Software
{{ instance.software_needed|textile }}
{% endif %} {% if instance.people_needed %}
People
{{ instance.people_needed|textile }}
{% endif %}
{% endif %}

Additional Information

{% ifnotequal instance.cost_estimate "" %}
Cost Estimate
{{ instance.cost_estimate }}
{% endifnotequal %}
Performance Measurement
{{ instance.performance_measurement|textile }}
{% if its_staff %}

ITS Administrative Information

ITS Contact
{% ifnotequal instance.its_contact None %}{{ instance.its_contact.get_full_name }}{% else %}{{ instance.its_contact }}{% endifnotequal %}
Priority
{{ instance.get_priority_display }}
Status
{{ instance.status }}
Programmer Assigned
{% ifnotequal instance.programmer_assigned None %}{{ instance.programmer_assigned.get_full_name }}{% else %}{{ instance.programmer_assigned }}{% endifnotequal %}
{% endif %}

Comments ({{comment_count}}) Get an RSS Feed of Comments

{% get_comment_list for instance as comment_list %}
{% for comment in comment_list %}
{{ comment.user_name }} ({{ comment.submit_date|date:"l, F d, Y \a\t P" }})
{{ comment.comment|textile }}
{% endfor %}
{% if instance.is_active %} {% get_comment_form for instance as comment_form %}

Post Your Comment

Posting as {{ user.get_full_name }} (if you're not {{ user.get_full_name }}, click here)

{% for field in comment_form %} {% if field.is_hidden %} {{ field }} {% else %}
{% else %}

This project is marked as inactive, so no new comments can be added now.

{% endif %} {% else %}

{% if filteruser %} Projects originated by {{ filteruser.get_full_name }} ({{ filteruser.username }}) {% else %} List of all open projects Get an RSS Feed of New Projects {% endif %}

{% if project_list %}

To view project details or add comments, click the project title or ID for the project you wish to view.

{% for project in project_list %} {% endfor %}
ID Title Category Priority Status Needed Originator Contact Department
{{ project.id }} {{ project.title }} {{ project.category }} {{ project.get_priority_display }} {{ project.status }} {{ project.date_needed }} {{ project.originator.get_full_name }} {{ project.contact_person.get_full_name }} {{ project.department }}
{% else %}

There are no such projects. Would you like to create a new project?

{% endif %} {% endif %} {% endblock %}