{% extends 'base.html' %} {% load static %} {% block content %}
{% regroup researchGroup|dictsort:"group_type" by group_type as group_list %} {% for researchGroup in group_list %}

Research {{ researchGroup.grouper|title }} :

{% for proj in researchGroup.list %} {% if researchGroup.grouper.value == 1 %}
  • {{proj.name}}

    {% if proj.position %}Position: {{proj.position}}
    {% endif %} Scholar Link
    {% if proj.scholar_topic %}Scholar Topic: {{proj.scholar_topic}}
    {% endif %} {% if proj.year_start %}Year: {{proj.year_start}}{% endif %} {% if not proj.year_end %} - Present {% endif %} {% if proj.year_end %} - {{proj.year_end}}
    {% endif %} {% if proj.photo %} {% else %} {% endif %}

{% endif%} {% if researchGroup.grouper.value == 2 %}
  • {{proj.name}}

    {% if proj.designation %}Designation: {{proj.designation}}
    {% endif%} {% if proj.dept_name %}Department: {{proj.dept_name}}
    {% endif%} {% if proj.org_name %}Organisation: {{proj.org_name}}
    {% endif%} {% if proj.thesis_topic %}Topic: {{proj.thesis_topic}}
    {% endif%} {% if proj.site_link %}Site: {{proj.site_link}}
    {% endif%} {% if proj.photo %} {% else %} {% endif%}

{% endif%} {% if researchGroup.grouper.value == 3 or researchGroup.grouper.value == 4 or researchGroup.grouper.value == 5 or researchGroup.grouper.value == 6 or researchGroup.grouper.value == 7 or researchGroup.grouper.value == 8 %}
  • {{proj.name}}

    {% if proj.photo %}

    {% else %} {% endif%}
{% endif%} {% endfor %}
{% endfor %}
{% endblock %}