{% extends "common/base.html" %} {% load crispy_forms_tags %} {% load humanize %} {% load static %} {% load common_tags %} {% 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 {% if settings.GRANT_ENABLE %} Add Grant {% endif %} {% if settings.PUBLICATION_ENABLE %} Add Publication {% endif %} {% if settings.RESEARCH_OUTPUT_ENABLE %} Add Research Output {% endif %} {% endif %}
{% endif %}

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

Description: {{ project.description }}

{% if project.project_code %}

Project Code: {{ project.project_code }}

{% else %}

ID: {{ project.id }}

{% endif %}

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 %}

{% if PROJECT_INSTITUTION_EMAIL_MAP %}

Institution: {{ project.institution }}

{% 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 First Name Last 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 user_allocation_status|get_value_by_index:forloop.counter0 == 'PendingEULA' %} {% else %} {% if allocation.get_information != '' %} {% else %} {% endif %} {% endif %} {% if allocation.status.name == 'Active' %} {% if user_allocation_status|get_value_by_index:forloop.counter0 == 'PendingEULA' %} {% else %} {% endif %} {% 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 }}Review and Accept EULA to activate {{allocation.get_information}}{{allocation.description|default_if_none:""}}{{ user_allocation_status|get_value_by_index:forloop.counter0 }}{{ 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 %}

Attributes

{{attributes.count}}
{% if project.status.name != 'Archived' and is_allowed_to_update_project %} Add Attribute {% if attributes %} Delete Attributes {% endif %} {% endif %}
{% if attributes %}
{% if is_allowed_to_update_project %} {% endif %} {% for attribute in attributes %} {% if attribute.proj_attr_type.is_private and is_allowed_to_update_project %} {% else %} {% if is_allowed_to_update_project %} {% endif %} {% endif %} {% endfor %}
Attribute Type Attribute ValueActions
{{attribute}} {{attribute.value}} Edit
{{attribute}} {{attribute.value}} Edit
{% if attributes_with_usage %}
{% for attribute in attributes_with_usage %}

{{attribute}}

{% endfor %} {% endif %} {% else %} {% endif %}
{% if settings.GRANT_ENABLE %}

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|floatformat:2|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 %}
{% endif %} {% if settings.PUBLICATION_ENABLE %}

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 %}
{% endif %} {% if settings.RESEARCH_OUTPUT_ENABLE %}

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 %}
{% endif %}

Notifications

{{project.projectusermessage_set.count}}
{% if request.user.is_superuser %} Add Notification {% endif %}
{% if project.projectusermessage_set.all %}
{% for message in project.projectusermessage_set.all %} {% if not message.is_private or request.user.is_superuser %} {% endif %} {% endfor %}
Comment Administrator Last Modified
{{ message.message }} {{ message.author.first_name }} {{ message.author.last_name }} {{ message.modified }}
{% else %} {% endif %}
{% endblock %}