{% extends "im/account_base.html" %} {% load filters %} {% block page.body %} {% with object.project.approved_members as approved_members %} {% with resource_catalog|populated_resource_catalog as resource_catalog%}

{% if user == object.owner %} [ ADMINISTRATOR - {{ object.state|upper }} ] {% else %} {% if user in approve_members %} [ ENROLLED - ACTIVE ] {% else %} [ ENROLLED - PENDING ] {% endif %} {% endif %} {{ object.name|upper }}

PROJECT DETAILS

Name
{{ object.name }} 
Homepage url
{% if object.homepage%} {{ object.homepage }} {% else %} Not set yet {% endif %}
Description
{{ object.description }} 
Issue date
{{object.issue_date|date:"d/m/Y"}} 
Start date
{{object.start_date|date:"d/m/Y"}} 
End Date
{{object.end_date|date:"d/m/Y"}} 
Comments
{{ object.comments }} 
Status
{{ object.state }}
Owner
{% if user == object.owner %} Me {% else%} {{object.owner.realname}} {% if user.is_superuser %}({{object.owner.email}}){% endif %} {% endif %}  
Precursor Application
{% if object.precursor_application %} {{object.precursor_application.id}} {% endif %}  
Follower Application
{% if object.follower %} {{object.follower.id}} {% endif %}  

MEMBERSHIP OPTIONS

Max participants
{% if object.limit_on_members_number%}{{object.limit_on_members_number}}{% else %} {% endif %}
Member join policy
{{ object.member_join_policy }}
Member leave policy
{{ object.member_leave_policy }}

RESOURCES

{% if object.projectresourcegrant_set.all %}
{% for rp in object.projectresourcegrant_set.all %} {% with resource_catalog|lookup:'resources' as resource_info %} {% with rp.resource|to_unicode as resource_name %} {% with resource_info|lookup:resource_name as decorated_resource %}
Max {% if decorated_resource.is_abbreviation %}{{ decorated_resource.verbose_name|upper }}{% else %}{{ decorated_resource.verbose_name }}{% endif %}{% if not q.unit %}s {% endif %} per user
{% if rp.member_capacity %} {% if decorated_resource.unit %} {{ rp.member_capacity|sizeof_fmt }} {% else %} {{ rp.member_capacity|isinf }} {% endif %} {% else %} Unlimited {% endif %}
{% endwith %} {% endwith %} {% endwith %} {% empty %} No resources {% endfor %}
{% else %}

No resources

{% endif %}
{% if object.project.is_alive %}
{% with page|concat:sorting as args %} {% with object.project.projectmembership_set.select_related.all|paginate:args as membership %} {% if membership %} {%if user.is_superuser or user == object.owner %}{% endif %} {% for m in membership.object_list %} {%if user.is_superuser or user == object.owner %}{% endif %} {% if m.person == object.owner %} {% else %} {% if m.acceptance_date %} {% else %} {% endif %} {% endif %} {% endfor %}
MEMBERS:
User EmailName Status
{{m.person.email}}{{m.person.realname}}OwnerApproved {% if m.leave_request_date%}(User has requested to leave the project on:{{m.leave_request_date}}){% endif %} {% if user == object.owner and user != m.person %} Remove {% endif %} Pending {% if user == object.owner %} Accept Reject {% endif %}
{% else %}

No members yet!

{% endif %} {% endwith %} {% endwith %}
{% csrf_token %}

Enroll more members

{% with addmembers_form as form %} {% include "im/form_render.html" %} {% endwith %}
{% endif %}

back to Projects >

{% endwith %} {% endwith %} {% endblock %}