{% extends "common/base.html" %} {% load crispy_forms_tags %} {% block content %} {% if user_dict %}
{% for user, allocations in user_dict.items %} {% endfor %}
# Username First Name Last Name Allocations
{{ forloop.counter }} {{ user.username }} {{ user.first_name }} {{ user.last_name }} {% for allocation in allocations %} {{ allocation.get_parent_resource.name }} ({{ allocation.get_parent_resource.resource_type.name }}) {% if 'slurm' in allocation.get_information %} -- {{allocation.get_information}} {% else %}
{% endif %} {% endfor %}
{% else %}
You are not a PI on any project with an allocation!
{% endif %} {% endblock %}