{% extends "main.html" %}
{% load karaage_tags %}
{% load render_table from django_tables2 %}
{% block title %}Institute{% endblock %}
{% block breadcrumbs %}
Institute Details
{{ institute }}
Active: |
{% if not institute.is_active %}
Deleted
{% else %}
Yes
{% endif %}
|
Delegate(s): | {% for delegate in institute.delegates.all %}{{ delegate }}, {% endfor %} |
{% if is_admin %}
Group: | {{ institute.group }} |
{% endif %}
{% if institute.saml_entityid %}
SAML entityID: | {{ institute.saml_entityid }} |
{% endif %}
Categories: | {% for iq in institute.institutequota_set.all %}{{ iq.machine_category }}{% if not forloop.last %}, {% endif %}{% endfor %} |
{% is_for_each_app_include_empty "project_detail_tools.html" as is_empty %}
{% if is_admin or not is_empty %}
{% endif %}
Caps and quotas
{% if institute.institutequota_set.all %}
Machine Category |
Quota |
Cap (mPoTS) |
{% if is_admin %}
| |
{% endif %}
{% for iq in institute.institutequota_set.all %}
{{ iq.machine_category }} |
{{ iq.quota }} |
{{ iq.get_cap }} |
{% if is_admin %}
edit |
Remove |
{% endif %}
{% endfor %}
{% endif %}
{% if is_admin %}
{% endif %}
Projects
{% render_table project_list %}
People
{% render_table person_list %}
{% for_each_app_include "institute_detail_extra.html" %}
{% if is_admin %}
Comments
{% comments institute %}
{% if is_admin %}
{% endif %}
{% endif %}
{% endblock %}
{% block object-tools %}
{% endblock %}