{% extends "karaage/common/profile_base.html" %}
{% load karaage_tags %}
{% load render_table from django_tables2 %}


{% block title %}Projects - My profile{% endblock %}
{% block profile_title %}Projects{% endblock %}


{% block profile_content %}
<div class="module">
    <h2>Projects in my institutes</h2>
    {% render_table delegate_project_list %}
</div>

<div class="module">
    <h2>Projects I lead or manage</h2>
    {% render_table leader_project_list %}
</div>

<div class="module">
    <h2>Projects I am a member of</h2>
    {% render_table project_list %}

    {% is_for_each_app_include_empty "profile_project_detail_tools.html" as is_empty %}
    {% if not is_empty %}
    <div class="object-tools">
        <ul>
            {% for_each_app_include "profile_project_detail_tools.html" %}
        </ul>
    </div>
    {% endif %}
</div>
{% endblock %}
