{% extends "common/base.html" %} {% load crispy_forms_tags %} {% load humanize %} {% load static %} {% block title %} Project Detail {% endblock %} {% block content %} {% if is_allowed_to_update_project and project.needs_review%}
You need to review this project. Review Project
{% endif %}
{% if project.status.name == 'Archived' %} {% endif %}

{{ project.title }}


{% if project.status.name != 'Archived' and is_allowed_to_update_project %}

Manage Project

{% if project.status.name in 'Active, New' %} Update Project Information Archive Project {% endif %}
{% if project.status.name != 'Archived' %} Add Users Add Grant Add Publication Add Research Output {% endif %}
{% endif %}

Principal Investigator: {{ project.pi.first_name }} {{ project.pi.last_name }} ({{ project.pi.username }}) Email PI

Description: {{ project.description }}

Field of Science: {{ project.field_of_science }}

Project Status: {{ project.status }} {% if project.last_project_review and project.last_project_review.status.name == 'Pending'%} project review pending {% endif %}

Created: {{ project.created|date:"M. d, Y" }}

Users

{{project_users.count}}
{% if project.status.name != 'Archived' and is_allowed_to_update_project %} Email Project Users Add Users Remove Users {% endif %}
{% for user in project_users %} {% if user.status.name == 'Active' %} {% else %} {% endif %} {% endfor %}
Username Name Email Role Manager role grants user access to add/remove users, allocations, grants, and publications to the project. Status Enable Notifications When disabled, user will not receive notifications for allocation requests and expirations or cloud usage (if applicable). Actions
{{ user.user.username }} {{ user.user.first_name }} {{ user.user.last_name }} {{ user.user.email }} {{ user.role.name }}{{ user.status.name }}{{ user.status.name }} {% if is_allowed_to_update_project %} {% elif request.user == user.user %} {% else %} {% endif %} {% if is_allowed_to_update_project %} Edit {% endif %}

Allocations

{{allocations.count}}
{% if project.status.name != 'Archived' and is_allowed_to_update_project %} Request Resource Allocation {% endif %}
{% if allocations %}
{% for allocation in allocations %} {% if allocation.get_information != '' %} {% else %} {% endif %} {% if allocation.status.name == 'Active' %} {% elif allocation.status.name == 'Expired' or allocation.status.name == 'Denied' %} {% else %} {% endif %} {% endfor %}
Resource Name Resource Type Information Status End Date Actions
{{ allocation.get_parent_resource.name }} {{ allocation.get_parent_resource.resource_type.name }}{{allocation.get_information}}{{allocation.description}}{{ allocation.status.name }}{{ allocation.status.name }}{{ allocation.status.name }}{{allocation.end_date|date:"Y-m-d"}} Details {% if allocation.is_locked and allocation.status.name == 'Active' and allocation.expires_in <= 60 and allocation.expires_in >= 0 %} Expires in {{allocation.expires_in}} day{{allocation.expires_in|pluralize}}
Not renewable
{% elif is_allowed_to_update_project and ALLOCATION_ENABLE_ALLOCATION_RENEWAL and allocation.status.name == 'Active' and allocation.expires_in <= 60 and allocation.expires_in >= 0 %} Expires in {{allocation.expires_in}} day{{allocation.expires_in|pluralize}}
Click to renew
{% endif %} {% if allocation.get_parent_resource.get_ondemand_status == 'Yes' and ondemand_url %} ondemand cta {% endif %}
{% else %} {% endif %}

Grants

{{grants.count}}
{% if project.latest_grant.modified %} Last Updated: {{project.latest_grant.modified|date:"M. d, Y"}} {% endif %} {% if project.status.name != 'Archived' and is_allowed_to_update_project %} Add Grant {% if grants %} Delete Grants {% endif %} {% endif %}
{% if grants %}
{% for grant in grants %} {% if grant.status.name == 'Active' %} {% elif grant.status.name == 'Archived' %} {% else %} {% endif %} {% endfor %}
Title Grant PI Project PI Role Award Amount Grant Start Date Grant End Date Status Actions
{{ grant.title }} {{ grant.grant_pi }} {{ grant.role}} {{ grant.total_amount_awarded|intcomma}} {{ grant.grant_start|date:"Y-m-d" }} {{ grant.grant_end|date:"Y-m-d" }}{{ grant.status.name }}{{ grant.status.name }}{{ grant.status.name }}Edit
{% else %} {% endif %}

Publications

{{publications.count}}
{% if project.latest_publication.created %} Last Updated: {{project.latest_publication.created|date:"M. d, Y"}} {% endif %} {% if project.status.name != 'Archived' and is_allowed_to_update_project %} Add Publication {% if publications %} Export Publications Delete Publications {% endif %} {% endif %}
{% if publications %}
{% for publication in publications %} {% endfor %}
Title, Author, and Journal Year
Title: {{ publication.title }} {% if publication.source.url %} Visit source {% endif %}
Author: {{ publication.author}}
Journal: {{ publication.journal}}
{{ publication.year }}
{% else %} {% endif %}

Research Outputs

{{ research_outputs.count}}
{% if project.status.name != 'Archived' and is_allowed_to_update_project %} Add Research Output {% if research_outputs %} Delete Research Outputs {% endif %} {% endif %}
{% if research_outputs %}
{% for research_output in research_outputs %} {% endfor %}
{% if research_output.title %} {{ research_output.title }} {% endif %}
{{ research_output.description | linebreaks }}
{% else %} {% endif %}

Notifications

{{project.projectusermessage_set.count}}
{% if project.projectusermessage_set.all %}
{% for message in project.projectusermessage_set.all %} {% endfor %}
Comment Administrator Last Modified
{{ message.message }} {{ message.author.first_name }} {{ message.author.last_name }} {{ message.modified }}
{% else %} {% endif %}
{% endblock %}