{% extends "public/base.html" %} {% block title %}Projects | {{ profile.name if profile }}{% endblock %} {% block content %}

{{ profile.projects_stat1_value or '₹17 Cr+' }}

{{ profile.projects_stat1_label or 'Total Funding' }}

{{ total_count }}

{{ profile.projects_stat2_label or 'Total Projects' }}

{{ ongoing_projects|length }}

{{ profile.projects_stat3_label or 'Ongoing' }}

{% if ongoing_projects %}

{{ profile.projects_ongoing_title or 'Ongoing_Projects' }}

{% for project in ongoing_projects %}
{{ project.sponsor }}
{{ project.amount }}

{{ project.start_date }} - {{ project.end_date }}

{{ project.title }}

{{ project.role }}: {{ project.pi_name if project.pi_name else profile.name if profile }} {% if project.co_pi_names %} | Co-PI: {{ project.co_pi_names }} {% endif %}

{% endfor %}
{% endif %} {% if completed_projects %}

{{ profile.projects_completed_title or 'Completed_Projects' }}

{% for project in completed_projects %} {% endfor %}
Title Sponsor Amount Duration Role
{{ project.title }} {{ project.sponsor }} {{ project.amount }} {{ project.start_date }} - {{ project.end_date }} {{ project.role }}
{% endif %} {% endblock %}