{% extends 'pagination/pagination_base.html' %} {% load custom_tags_and_filters %} {% block title %}Accounts and projects{% endblock %} {% block before_pagination %}
| {% include 'pagination/pagination_column.html' with order_by='name' name='Name' %} | {% if project_types or account_types %}Type(s) | {% endif %}{{ customizations|get_item:"project_application_identifier_name" }} | Managers/PIs | {% include 'pagination/pagination_column.html' with order_by='active' name='Active' %} | |
|---|---|---|---|---|---|
| {{ account.name }} | {% if account_types or project_types %}{{ account.type|default_if_none:"" }} | {% endif %}
{% for manager in account.manager_set.all %}
{{ manager.get_name }}
{% if not forloop.last %} {% endif %} {% endfor %} |
{% url "account" account.id as account_url %} {% button type="view" size="small" value="View" title="View account" url=account_url %} | ||
| This account does not have any active projects | |||||
| {{ project.name }} | {% if account_types or project_types %}{{ project.project_types.all|join:", " }} | {% endif %}{{ project.application_identifier }} |
{% for manager in project.manager_set.all %}
{{ manager.get_name }}
{% if not forloop.last %}
{% endif %} {% endfor %} |
{% url "project" project.id as project_url %} {% button type="view" size="small" value="View" title="View project" url=project_url %} | |
| This account does not have any projects | |||||